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.

  • How would I add a counter to the following code, so that it counts how many employees are added?this could be an option to view how many employees are in the loop, stating”there are five employees”. C…
  • Create a program that will approximate the roots of an equation (i.e. solution to the equation f(x) = 0) using Newton’s Method. Newton’s Method is an iterative process that approximates the solution u…
  • function disp(){ function disp2(){ ¬†¬†¬†¬†¬†¬†¬† echo “hello”; } } disp(); disp2();
  • Create a GUI program that: Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents. Using the class in the attached m…
  • NEED THIS CODE IN PYTHON WITH EXPLANATION THANKS! ¬†. Argument Return Value 123456789 None ‘123-45-6789′ 123-45-6789’ ‘123-45, 6789′ 123-45-6789’ ‘123*45, 6789′ 123456789′ 12E 45 6789’ None ‘12345 678…
  • Please see image attached. 1. Exercise # 1 (Classmate search) (35 marks) You have the following undirected graph that illustrates relationships amongst students in your class, replace "You” by …
  • Here are given some instructions on self-exciting processes: Can someone build a python code or a R code (preferably and if you are familiar with it) for the following request related to the given ins…
  • Tests if the ABFile class can correctly handle writes past the EOF. (0.0/1.0) ¬† ¬†def writeat(self,data,offset): ¬† ¬† ¬† ¬† # Write the requested data to the B file using the sandbox’s writeat call …
  • How do I get this code to work? I am trying to do the following: Assume all employees work 8 hours a day Monday – Friday Employees and are paid regular wage for all weekday holidays and 10 days of vac…
  • Language Python, using processing. Thank you. Question 3 (5 points): Purpose: Practice using the mouse handler to interact with the canvas. Degree of Difficulty: Moderate Sometimes in motion pictures,…
  • please help me with this python program Question 1. Generator Store all created Person, Student, Employee, Faculty, and Staff in a dictionary for examples: a,b,c… are correspondent objects ¬†data ={…
  • 19 LAB: Driving costs – functions – Python ¬† Driving is expensive. Write a program with a car’s miles/gallon and gas dollars/gallon (both floats) as input, and output the gas cost for 10 miles, 50 …
  • 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. Descri…
  • 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.
  • Part 3: Questions Study the code and answer the following questions about the sorting algorithms: [30pt] 3) b) C) d) Why does the bubbleSort algorithm take less time on the ascending ordered list than…
  • Using Python to answer Select a stock of your choice, preferrably from S&P500, and for the time-period from Jan 1, 2015 to present. import matplotlib as plt import pandas as pd import pandas_datar…
  • In all the exercises that follow, insert your code directly in this file and immediately after each question. To the extent possible,¬† always use variables ¬†in your answers. When a question provides…
  • I can’t make this code to work, can you please help? import csv import sys # The password list – We start with it populated for testing purposes passwords = [[ “yahoo” , “XqffoZeo” ], [ “google” , “Co…
  • Please do this,¬† ¬† The conditions mean the following: ¬† I will use input A as an example line 1 (78) ¬† The line number within the data sequence is on or after the start parameter the line number s…
  • 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…
  • Please explain and solve the following (10 pts) Which of the following problems can be solved more easily after a data set stored in an array is sorted? Write the running time for algorithms (more ef?…
  • Three different program files must be uploaded. ¬† ¬†The First program must accept inputs from a user, repeats a sequence of instructions a certain number of times, or until some specific result is ac…
  • hello everyone! please somone help me with these questions? No data is missing. if you familiar with jupyter notebook , then you can help me. you have to use jupyter notebook. I have picture below. I …
  • Exercise 3 (2 points) Our next task is to extract the Elo rating of each player from the metadata. Fill in the function extract_ratings(games) to satisfy the following requirements: Given a list of di…
  • I would like to convert this pseudocode to actual Python code. The pseudocode¬†to convert is the BinaryPerceptron class.
  • . Task 2 (1%) Copy and paste the data below and save the file as ‘datainput.csv’. Read data into a pandas DataFrame with variable name ‘data’. Then i) Print the first 5 rows, and all of the columns …
  • Download the dataset from the link – https://grouplens.org/datasets/movielens/1m/ ¬† In¬†[7]: ¬† ¬† ¬† ¬† 1 # Import all the required libraries 2 import numpy as np 3 import pandas as pd 4 import oper…
  • def is_indset(adj_lists, a): ¬†¬†“”” ¬†¬†>>> lec_graph = [ [2, 4, 5, 6, 7], ¬†¬†…¬†¬†¬†¬†¬†¬†¬†¬†[2, 3, 5, 6 ,7], ¬†¬†…¬†¬†¬†¬†¬†¬†¬†¬†[0, 1, 6, 7], ¬†¬†…¬†¬†¬†¬†¬†¬†¬†¬†[1, 4, 7], ¬†¬†…
  • Please help. Task 2 – Routes Problem Description The execution of ip route command produces this output: 0.0.0.0/1 via 10.8.0.1 dev tun0 default via 192.168.2.254 dev enp6s0 proto static metric 100 10…
  • Project: Tweet Analytics CS Focus: Data Analysis / Machine Learning Description: given a dataset containing the text tweets of politicians, analyze the positive or negative sentiment of tweets based o…
  • CHALLENGE ACTIVITY 3.2.1: Initialize a list. Initialize the list short_names with strings ‘Gus’, ‘Bob’, and ‘Zoe’. Sample output for the given program: Gus Bob Zoe 376628.2015284.qx3zqy7 1 short_names…
  • THE PYTHON PROG. IS INCOMPLETE .¬†NEED ASSIST TO COMPLETE IT CORRECTLY for line in sys.stdin: line=line.strip().split(‘\t’) c_address = line[1] c_city = [2] c_address=c_address.chr(8) print ‘\t’.join(…
  • Need to create a new rectangle of width w and height h.
  • Please write a Python program that asks users for their Gmail address and password. Your program will attempt to connect to the email server. If authentication is successful it will send a welcome ema…
  • Wriite a function which will take a single string argument.¬† The purpose of the function is to read each cell of the spreadsheet which contains information, and search for the word passed into the fu…
  • im stuck on 6.5-6.7 and keep getting error codes¬†. STOR 120 – hu X Egs_inventory.c: X gs_sales.csv X E old_faithful.csv X EB primar Delimiter. box ID cookie name count sold price per b 53686 samoas 2…
  • . A Natural Experiment In order to attempt to investigate the causal relationship between the death penalty and murder rates, we’re going to take advantage of a natural experiment. A natural experim…
  • write a function that will generate a single random password. the password should follow the following criteria: ¬†random length (from 8 to 16 characters long) each character of the password must be r…
  • 29 LAB: Leap year A year in the modern Gregorian Calendar consists of 365 days. In reality, the earth takes longer to rotate around the sun. To account for the difference in time, every 4 years, a l…
  • Write the simplest two statements that first sort my_list, then remove the largest value element from the list, using list methods. ¬†¬†¬†¬†my_list = [ 5,¬†7, 10, 15, -21, 90, 17] 4. Program a stat…
  • Consider the following¬†python¬†function named delta(): 1¬† def delta(rec): 2 ¬† ¬† ”’ 3¬†¬† ¬† rec – list object with 14 items: 4¬†¬† ¬† user, devic, IP, DoW, Mon, Day, HH:MM:SS, year, -, 5¬†¬† ¬† D…
  • sample-correlation: 9.078900286311888976e+02 2.977180642260969989e+02 1. 280385153113707929e+03 1.373615524808742521e+02 5.133270145340511590e+02 1.890955570892759852e+02 8.441121702461007317e+02 1.62…
  • A bank offers loans at Simple Interest (for needy customers) and at Compound Interest (for commercial customers). If P is the Principal borrowed at an annual interest rate of R% for N years, then ¬†¬†…
  • Write code to accomplish the following: Move (copy) the code for three functions (calculate_unique(),¬†split_dataset()¬†and¬†calculate_common()) into a file named¬†my_experiment.py. Add¬†numpy¬†docstr…
  • Uniform Distributed Random Number Generator To create a uniform distributed sequence, you only need to divide the sequence above by M. For example, now I have a setting: X0 = 1, and a = 1103515245, M …
  • At the end of chapter 10 you will find another example of hand tracing and a Now you try it! problem to solve. What to do: Fill out a grid like the one in the example, but for the program labelled Now…
  • Computing Distances ¬† Given two points, the formula for computing the distance is ¬† ¬† ¬† program that prompts the user to enter two points and computes the distance between them. Note that each poi…
  • In this question we want you to: ¬† ¬†. a] Write a Python class named Person with two attributes name, age. Add a _str_ method to display the object [entire attribute and their values of the said clas…
  • def winning_card(cards, trump=None) : Playing cards are again represented as tuples of ( rank, suit) as in the cardproblems . py lecture example program. In trick taking games such as whist or bridge,…
  • Data The data are shown in Table I and the output in Table 2 is based on a subset of a dataset on cosmetic purchases (Cosmetics.esv) at a large chain drugstore. The store wants to analyze associations…
  • Description: Create a QuadriLateral class as parent class with 4 arguments (4 different sides), define the perimeter method within the class. As child class create a rectangle subclass, then the squar…
  • Assume that two 2d points are represented as Python pairs (tuples with 2 elements), x and y. Give a Python expression that is equal to the Euclidean distance between x and y. Recall that the Euclid…
  • I would like to know more step about this answer, I don’t know why but your answer gave me an error. Task 4 – Where’s Waldo (30 Points) Read the paper "Mining Your Ps and Qs: Detection of Widespr…
  • Two Python functions to convert a list of temperatures from Centigrade degrees into Fahrenheit degrees and vice versa. You need to do it in three steps: 1. Write these two functions using loops to con…
  • Write the Body and System classes so that the “earthmoon” driver runs. ¬† #earthmoon driver for gravity simulator # from cs1lib import * from system import System from body import Body WINDOW_WIDTH = …
  • Figure 2 shows a scatterplot of the two python lists in¬†q5.py¬†–¬†population¬†and¬†gas. The python file¬†q5.py¬†imports the function¬†corr_coef() to calculate the correlation coefficient between two …
  • . Computer Science 1 – CSCI 1100 the closest values. If you can, try to do this without testing the same pair of values more Lab 10 – Closest Point Algorithm than once. Fall Semester 2021 To illustr…
  • Firstly I need some help with an assignemetn. I am not sure how to begin. This is what I need assistance with: First, I need to make a function in this file called nine_lines that uses the function th…
    • df = data.frame(x=as.numeric(), y = as.numeric()). Then how would you find the maximum of y for those rows which x vale is greater than 100?¬† A) max(df[which(df$x>100),]$y)¬† B) max(df[which(x&…
      • A program that reads dates from input, one date per line. Any date not following that format is incorrect and should be ignored. Use the find() method to parse the string and extract the date. The …
    • Need help with correct answers Sustainable agriculture relies heavily on a. Inorganic fertilizer to replenish soil nutrients b. Natural controls for pests and replenishing soil nutrients c. Synthetic …
    • Write a python program called budget.py that creates an Excel spreadsheet identical to above. User should be able to provide Year 1 Sales and Growth Rate. Total Sales for Year 1 and 2 should be added …
    • Using Python Programming Language, we need a program to play the following game. There is a list of several country names and the program randomly picks one. The player then must guess letters in t…
    • In the Lesson 9 Assignment problem with the speed and the car, you’ll want your program to be able to handle any speed (restricting to integers is fine and recommended), even absurd speeds like 431, e…
    • Question 12 Examine the pseudocode listed below. What will the output be once this code is translated into a language? levels as array, 7 elements as integer index as integer sum_levels as integer ind…
    • Question: Can you help me fix the error in the Python function for def service_response(src,dst,amt):? Right now I have the following: ¬†¬†x= (‘https://ecpyfac.ecornell.com/python/currency?+src=’+str(…
    • Let’s look at the growth and (thankful) decline of a hit single. Convert the week data (e.g., `wk1`, `wk20`) into numeric values. There are many approaches here, but `separate` would likely work well….
    • Implement a function two_list that takes in two lists and returns a linked list. The first list contains the values that we want to put in the linked list, and the second list contains the number of e…
    • help please in coding in python capitalization(d) [20pts] 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 …
    • In the superdense coding convention, Alice and Bob each have one qubit from the caught pair ‚ąö 1 2 (|00i + |11i), which empowers Alice to send two pieces of old style data to Bob, utilizing a solitar…
    • How would I program a solution to this using for loops, while loops, and lists? ¬† Kiki is making “Happy National Pizza Day” (February 9th) cards for all of her friends. She’s a bit disappointed with …
    • Hello, I need a help to figure out how to round up the copulation number I’m getting to a the nearest million. (E.g. for Canada 36Million). The round function I’m using doesn’t eliminate the last six …
    • Requirements You are to create a program using Python that asks the user for a nonnegative number, then computes the mean and variance using the above given formulas which should be displayed on the c…
    • using the following query cursor.execute(“””SELECT deliveryzipcode, category, count(orderid) as total_orders FROM transactions_log GROUP BY category,deliveryzipcode ORDER BY category;”””) rows=cursor….
    • .¬† ¬† Calculate the arithmetic sequence of n numbers. The program will generate the nth term of the sequence, whereas the user will enter the first term and the common difference. The program will th…
    • I would like to know what am I doing wrong, and how to I correct my mistake. Thank you!. Implement the function neighbo r_digits. neighbor_digits takes in an integer num and an optional argument prev_…
    • Actually , i want to construct a classifier model using associative rule mining only . So please give me a explanation how can we construct a classifier model with the help of associative rule mining …
    • Instructions: Open flowgorithm and create the required program using flowcharts 1.¬†¬†¬†¬†¬†Enter the required program attributes for your code (See attached: Flowgorithm Menu Guidance for identifying…
    • . Write a python script called hoster-toaster.py that is used to update a machine’s local hostname resolution file. The details of how it works are below: 1. It requires one argument on the command …
    • Can i get help with this python question please? do a python program that asks the user to enter a sentence. The program then finds the longest word in the sentence, and shows it. Use of python functi…
      • write the python program to calculate the sphere surface area and sphere volume. In the program you should create four functions: the constructor, sphere_area, sphere_volume, and main. The construc…
    • Instructions: Write the code, comments and thoroughly test the strAnalysis Function Program. Create the strAnalysis() function that takes 1 string argument and returns a string message. The message wi…
    • How does Chopin incorporate symbolism into her essay? and What is her message in this essay?
    • sir kindly solve as quickly as possible LLOS Q.5 Add respective information of office employees in Five lists called Ist name, Ist father. Ist cell Ist house, Ist city by asking complete information o…
    • 3. Write a program to Ô¨Ānd the area of a right-angled triangle using functions. a. Write a function getDatal] for user to input the base and the perpendicular height of a triangle. b. Write a…
    • What is the edit distance of the best match between pattern GCTGATCGATCGTACG| GCTGATCGATCGTACG and the excerpt of human chromosome 1?
    • No explanation required… Define a Circle class allowing to create a circle C (O, r) with center O(a, b) and radius r. 1. Define a Area() method of the class which calculates the area of the circle. …
    • #¬†create¬†frequent¬†itemsets itemsets¬†=¬†apriori(fp_df,¬†min_support=0.1,¬†use_colnames=True) ¬† #¬†and¬†convert¬†into¬†rules rules¬†=¬†association_rules(itemsets,¬†metric=’confidence’,¬†min_thresho…
    • how can I test this questions all code ?¬† ¬†. Question 3: Write a program in which you ask user to enter two values using two input statements and save the values in two variables. If both of the val…
    • def exercise09( ) : Load historical Bitcoin prices that are in JSON format from https://api . coindesk. com/v1/bpi/historical/close. json using start date 9/1/2017 and end date 10/5/2018. Documentati…
    • Here is the python exercise situation and try to use the attached link Python source code example to revise the code. ——————————————————————————– L…
    • 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…
    • python code:Provided files Assignment1.txt and Assignment2.txt represent the scores of assignments 1 and 2. You need to write an object-oriented program that takes a student name from keyboard input a…
    • This week you will develop the third functionality for the Employee Management System Project due in Week 5. Utilize looping to make your Python script for Functionality 2 (developed in Week 2) to run…
    • 16 LAB: Warm up: Drawing a right triangle This program will output a right triangle based on user specified height triangle_height and symbol triangle_char. (1) The given program outputs a fixed-hei…
    • In [ ]: # Calculate the mean rating by low budget customers for restaurant #135085 # Calculate the mean rating by medium budget customers for restaurant #135085 # Calculate the mean rating by high bud…
    • Python code that meets the following requirements: Suppose you have a guest list of students and the country they are from, stored as keyvalue pairs in a dictionary. GUEST_LIST = {“Sam”: “Germany”, “O…
    • what output will be printed by this code? def convert(list): return tuple(list) list = [1, 2, 3, 4] print(convert(list))
    • I stuck to 2 questions in Python, which are related to the STACK. So could you please help me out? And if it’s possible, writes some significant explanations to help me better understand them. Thank y…
    • I need animation video.. Lab 13 (ICMP) Using traceroute and ping to find problems in a network POD PC1 2 You are a network technician working for Baseball cards Inc. The company has two offices, one i…
    • In the code below, I want to give t a value from 0 to 1 with a range of 0.001 and calculate the values u1, u2, u3. Can you help me create the loop? import numpy as np import math import pandas as pd i…
    • 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. Create …
    • I need python code pleass code in pycharm and then send code and output screenshot If Time Permits 18. Chess Square Color abcdefg h N C a b c d e f g n Each square on a chess board in identified by a …
    • need help completing. ####This code is partially written for you, you need to add two lines only: ##This program should do the following: ##1. Ask the user to enter a number and save it in userNum. ##…
    • This code doesn’t have out put. import string def has_punctuation (word ) : unn + takes a word as a parameter, and returns True if one or more characters in the word is a punctuation character. answer…
    • Use NumPy ¬†to generate a random number between 1 and 100. Accept int input and ask user to guess number. Inform if high or low. Exit when entered number correct. Tell user how many tries¬†it took t…
    • Hi I’m new in python. Please help me with the following tasks. Task1. Write a program that will take users input and evaluate whether the number entered is a zero,negative or positive. Task2. Write a …
    • Hi, could anyone please help me set up a simple bar chart using matplotlib reading from a csv file? I’m doing some practice would like to see an explanation of how to do the following so that I can ap…
    • Can anyone help me with this please? Only part 1 needs to be answered. This is in Python. Thank you.. COSC122-21SU2 3 Last Edited: December 16, 2021 Evaluating shannon pl. py >as doctest. testmo…
    • answers to these please. Suppose list1 is [1, 3, 2, 4, 5, 2, 1, 0], Which of the following is correct? print (listl [ :2]) print (list1 [4:6]) print (list1 [:-2]) print (list1 [0]). What is the output…
    • please plot the graph in example 1 by Python without using the ‘contour’ function, use the raw ‘plot’ function or others instead. f(x) -+ min subject to the constraint A(x) = 0. We hence have n = 2 an…
    • Is Any tutor Free around 6pm today, I need help for my exam in Python, I am a non programmer and my professor will fail me if my code does not run.
    • Explain in detail what is happening if your model performs great on the training data but generalizes poorly to new instances? [4 marks] Explaintwo possible solutions and critically analyse ho…
    • Hello can you please explain the python coding for this thank you? I don’t want just the code I want to know how you got it so I understand it. Thank you ¬†. ‘ Create a python application for bank ATM…
    • Please code in Python, an optimizing method which utilizes the Golden Section Search.. In this task, you will implement your very own one-dimensional optimization method based on the golden section se…
    • How do I know how to understand name errors better when writing code?
    • Part 3: More Numeric Analysis. Using functions to create Python program Part 3: More Numeric Analysis Now add three more functions to the num_stats module you created in part 2. These will determine i…
    • Task 1 Write an if statement that asks for the user’s name via input() function. If the name is “Bond” make it print “Welcome on board 007.” Otherwise make it print “Good morning NAME”. (Replace Name …
    • You need a program that takes the radius of a sphere (a floating-point number) as input and then outputs the sphere’s: Diameter (2 √ó radius) Circumference (diameter √ó ŌÄ) Surface area (4 √ó ŌÄ √ó ra…
    • For each of the time complexities give the tightest bound in terms of a simple poly-logarithmic function using big-oh notation. Note: use the ‘^’ symbol to indicate exponents, i.e., write O(n^2) for O…
    • I’m able to get it to detect doubler but I don’t really know how to make e the code detect the first double if there are two occurrences of doubles, here’s my code so far #Correct answers = 6 ,#incorr…
    • Is there any other way to solve question 5.4 from Data 8 Lab 3? Find the average rating for movies released in the 20th century and the average rating for movies released in the 21st century for the m…
    • Can Someone Show me how to do Python code and pseudocode? Question: Shipping Charges The Fast Freight Shipping Company charges the following rates: Weight of Package Rate per 500 miles Shipped 2 pound…
    • // This program is supposed to display every fifth year // starting with 2017; that is, 2017, 2022, 2027, 2032, // and so on, for 30 years. start ¬† Declarations ¬† ¬† ¬†num year ¬† ¬† ¬†num START_YEA…
    • import http.client import json import csv class¬†TMDBAPIUtils:¬† ¬†¬†¬† ¬†¬†# Do not modify ¬†¬†def __init__(self, api_key:str): ¬†¬†¬†¬†self.api_key=api_key ¬†¬†¬†¬†¬† ¬†¬†¬†¬† ¬†¬†¬†¬†¬† ¬†¬†def get…
    • Use the following URL to download the dataset to your local computer: https://uofi.app.box.com/s/c9b4pdidfrzlhhm9himfm1p7nrr3ws6s Let’s say we’re interested in the¬† average arrival delay on flights i…
    • TODO parts need to be done #! /usr/bin/env python3 # FILE: Lab7.py # NAME: Lesson 7 Individual Lab # AUTHOR:¬† # DATE:¬† # PURPOSE: Detect if .py files have valid shebang lines. #¬†¬†¬†¬†¬†The .py fil…
    • How would you code; Include comment block on line 1 of code with the following Name : John Doe Course Name: ENTD 200 B002 Spr 18 Week: 2 2. python program based on flowchart for a simple payroll calcu…
    • Case Project 5-1: Implement a New Database (textbook page 192)
    • Objectives ‚ÄĘ Code a script / program that produces the required output.¬† Your mission…¬† ¬†a Python script (Program) that will present the user with two different options.¬† 1) Open an Input text…
    • Need help writing a program as per the flow chart below: The output should be like the picture above. Global Constant Real CALORIES FROM FAT CALORIES_FROM_CARBS main() getFat setFat (Ref inputFat) (gr…
    • We consider a mutual fund using 40/60 strategy, i.e., 40% of fund will be invested in bond and 60% will be invested in stock. Assume rebalancing will be done at the 1st¬†day of each quarter. Suppose t…
    • Programming 2. Newey-West estimator: Extend the linear model code we wrote in class to implement a Newey-West corrected OLS estimator with autocovariance term. The robust variance covariance matrix fo…
    • can someone tell me this please If a class called X contains a method called y and is instantiated as x, how is that method called?
    • How can I get minutes2ours function in a certain format: example: def minutes2ours(number): input:128 #expected output: 2, 8
    • Assume that file containing a series of floats is named floats.txt and exists on the computer’s disk. ¬†Complete program that displays all of the numbers in the file.
    • Here is the google link, to all the data and code: ¬† https://drive.google.com/drive/folders/1wsE5LWeBETFw_JzTBFWoaQpReEzejlnS?usp=sharing ¬† Above link is of a folder ‘hw04’ which has furthe…
    • # Dear Sir, I’m trying to solve this project in python language and wanted to get a result like the attached picture but I am getting an error. # Could you please help to solve the problem? Thanks in …
    • Python code to validate IP address from a csv file? Code for fetching location based on IP address in Python?
    • Create a Python module water.py that contains the following data: Developed the modules such that if (and only if) it is executed as a script it does the following things, in sequential order: 1. quer…
    • I have a question about coding in Spark SQL using python. I firstly have two data frames here. from pyspark.sql import Row customers = spark.sparkContext.parallelize([ Row(customer_id=’1122334455′, fi…
    • 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 …
    • #training model from sklearn.naive_bayes import GaussianNB nb = GaussianNB() nb.fit(train_x,train_y) #getting confusion matrix from sklearn.metrics import confusion_matrix,classification_report y_pred…
    • 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 output…
    • Write functions to solve the following problem. Please do not forget to call the method in your code!¬† ¬† Einstein’s theory of special relativity provides a relationship between energy and mass that …
    • Let say I have this list: list1 = [ “I am happy, and fine, and good” ] I want to end up with: sublist1 = [ “I am happy” ] sublist2 = [ “and fine” ] sublist3 = [ “and good “] So, I want to split the li…
    • i posted this question before but I got wrong answer. can I get help in this function please? i attached picture of the question knowing that: not allowed to import anything. ‚ÄĘnot allowed to use set…
    • A customer comes into a grocery store and buys 8 items. PYTHON program that prompts the user for the name of the item AND the price of each item, and then simply displays whatever the user typed in on…
    • Hello I need help with these 3 functions: o display_highest_battles_won(character_list) This function takes the character list as a parameter and displays the character with the highest number of batt…
    • Data needed for the following questions: https://docs.google.com/spreadsheets/d/1Sp-wB1xYWmv8XCVzOjHLreTth5zNEvNqBRo66LSZOw4/edit?usp=sharing In [7]: import. pandas as pd import. numpy as np import da…
    • In the code below, please make the drawing on the right side according to the values asked on the left side. (I am attaching a picture of the interface created after the run.) ¬† #%% ———- Librar…
    • You may want to drop the column for university name. Your code should contain comments about what 1.¬†¬†¬†¬† Use K means to find clusters in the data set, please also interpret the clusters formed. Th…
    • a shopping list program add_item(shopping_list)¬†function, a delete_item(shopping_list)¬†function, a display_list(shopping_list) function, a display_menu()¬†function, and a main(). ¬∑¬†¬†¬†¬†¬†¬†The p…
    • I need help understanding how catching exceptions¬†can help with¬†file errors. Can you describe and provide me 2-3 python examples of this?
    • T Develop a program for a colleague from the text-mining team. The program requests a user to input a paragraph of text (in English) and has the following features. ¬† ¬† Create a dictionary to keep t…
    • Hello! I’m really struggling with the calculate charges- part 1 section of my rental car project for snhu-IT140. Below I’ve posted the full script as well as the error message. I’ve also also included…
    • # Name: <Put Your Name Here> ¬†¬†¬†¬†¬† ¬†¬†# Use data2.txt file as input ¬†¬†def Main(): ¬†¬†f1 == input(“Enter a filename: “).strip() ¬†¬†if os.Path.isFile(fl) == 0: ¬†¬†¬†¬†inFile = Open(f1, …
    • Part I: Breaking a Vigenere Cipher [25pts.] The following ciphertext is obtained after base64 encoding of a Vigenere cipher of a plaintext. The word ¬†used to generate the key was a meaningful English…
    • Question 3 Question 3 Below is a program for converting adjectives into related adverbs, most of which end in the letters "ly". Correct the program in final.py (repeated below) so that when …
    • Call your function from Example 1 three times with different kinds of arguments: a value,a variable,and an expression, identify which kind of argument is which
    • You are developing a university management system for the University of Asia Pacific. At some point, you need to implement a student class to represent each and every student. Now, I want ¬†python …
    • Question: 2. Create an interactive program superheroes.” that displays this menu (3 points): Welcome to the CS 110 Action Figure Shop! Which action Ô¨Āgure would you like to collect? 1. Wondenvoman …
    • I need a solution for this python case study. Case Study Impressed by your programs implemented in Assessment 2, the Subject Coordinator of COMP101 has asked to develop a program solving a variation o…
    • Lab You have to use for loop. Hint: check if all vowels and in the word using for loop Chapter 3 Structures That Control Flow 58. Vowel Words A vowel word is a word that contains every vowel. Some…
    • . QUESTION 6 Complete the trace table given by tracing through the following program. Fill in the columns for all variables and record any output in the output column. Be sure to record when a varia…
    • Hi! So the below code works for a python game called HasamiShogiGame but it uses the zip(), any() and enumerate() functions which aren’t approved. I was hoping to get help making it so the code below …
    • A real-world example would to retrieve an incoming request and parse out the URL based on the string and what it contains to route to a specific web API and server host. How would you use if statement…
    • I am having trouble making this work: Create a loop to print each contact in contact_emails. Sample output with inputs: ‘Alf’ ‘..1@hmail.com’ is Mike Filt s..n@email.com is Sue Reyn n. @nmail.com is N…
    • Expressions can be written in a form called postfix notation ¬†(also known as Reverse Polish Notation, or RPN).¬† In such a system, the expression: a b + c d – * = would be rendered as the infix expre…
    • Please write a function called clean which takes one argument called data.¬†¬†It should be utilised like this: clean(data)¬†¬† The data value consists of a dictionary of data; which is the format type…
    • Language will be in Python Syntax 5.19¬†LAB: Exact change – functions Write a program with total change amount as an integer input that outputs the change using the fewest coins, one coin type per lin…
    • Hello please see below are homework questions I am working on for this week. The first one I have already wrote code for and it just needs to be fixed. Please show me how I would do these? Thank you f…
    • can anyone please solve these questions. There is no missing information , this is the entire file. please help with anything asap ¬†. Project Intro In this project, you’ll be working with data collec…
    • Here is a coding assignment I’ve been working on for hours/days. It’s driving me crazy. There is a solution to this entire problem from another tutor which I will post below; however it isn’t feasible…
    • Here some work i want to prepare for my exam,these work is from past year,i want it to be done as well as commented so i can learn
    • How to solve this problem in python? ¬† ¬†. Nearest smaller element def nearest_smaller(items}: Given a list of integer items, create an return a new list of equal length so that each element has been…
    • 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…
    • Using the NHANES data and the previous notebook, the following questions will be about the variable BPXSY2 (with missing values remove). Round your answer to the nearest tenth. (ex: 2.33 should be 2.3…
    • you may revisit the lecture slides or see the following Wiki page: https ://en . wikipedia. org/wiki/Minimax. In your PlayerMM class you will find the minimax () function where you must implement the …
    • . Problem 3.3 Purpose: Use a while loop to perform a mathematical calculation to a specified level of accuracy. For this problem, you will write a program called PiApproximal ximator that approximat…
    • 3.3: While loop: Insect growth. ¬† Given positive integer num_insects, write a while loop that prints that number doubled up to, but without exceeding 100. Follow each number with a space. Sample ou…
    • Pace University CS675-Introduction to Data Science Fall 2021 Computer Science Department CS675 – Introduction to Data Science (CRN: 76747) Fall 2021 Project #1 / Due 06-Oct-2021 The goal of this assig…
    • Use the dataset Customer_churn.csv: https://drive.google.com/file/d/1VVYGMHv8jrzSQonbBd9C90ljPtyasnbX/view?usp=sharing Please use your creativity.¬† Anything you want..¬† Please follow the CRISP-DM Pr…
    • An adversary observes the communication encrypted using CTR mode with the same (nonce, counter) pair. The nonce is hardcoded, so it is not included in the ciphertext. The adversary knows the following…
    • myList = [20,100,88,40, 50,90] need a Python code to get rid of all scores below 60 in myList.
    • Given an integer representing a 10-digit phone number, output the area code, prefix, and line number, separated by hyphens. Ex: If the input is: 8005551212 the output is: 800-555-1212
    • this is some raw data from a csv file Name,Gender,SSN,Member Date,Phone,State,Zip,Email,Credit Card,Credit Card_Number,Credit Card Exp,Gender,Favorite Radio Station,Purchases Past 30 Days,Spent Past 3…
    • This question assesses Block¬†2 Part¬†4 . Parts (a) and (b) of this question involve creating drawings or descriptions. You can make your drawings whichever way is easiest or fastest for you; for inst…
    • Write a python program to measure the Forefoot width, Heel width, Arch height, and Length of the foot in millimeters from any 3d foot model(.obj file). Code should be generic, it should be able to mea…
    • What would the code look like? I’m also having trouble with the comma and semi-colon. Question 1 Write a program that accepts a list of numbers from the user, and then outputs the minimum and maximum …
    • the output is given in box: you only write python code represent this 6. ISBN Validator Every book is identified by a 10-character International Stand- ard Book Number (ISBN), which is usually printed…
      • Explain what will the Python interpreter do with the line 12 to 18. (b) What would be the value of total_s at line 19 if the sample “rec” in the docstring is used? QUESTION 1 Consider the followin…
        • Write a code segment to create and print a two-dimensional 5×4 array (i.e. grid). The elements of the grid should be randomly selected from the inclusive interval [-50, 50]. In¬†[¬†]: #INSERT YOUR …
      • F – C labs. vocareum.com/main/main.php?m=editor&asnid=623337&stepid=623338 vocareum My Classes Help Abdullah Timer: 3h 58m 17s Submit Details Grades End Exam Actions jupyter fx-fa21 (autosaved…
      • Hello I am trying to make a program to help asset the cost of painting. I have wrtten a code for it, but I keep getting a EOF error. I have been at this for hours now and I cant figure this out. impor…
      • Python 3 question, please answer as soon as possible. A regular deck contains 52 cards. There are 4 suits: Hearts, Diamonds, Spades and Clubs There are 13 ranks: Ace, King, Queen, Jack, 10, 9, 8, 7, 6…
      • Hi I am using Jupyter notebook for this computational physics class and this is really confusing can someone help
      • Your program will be used by the staff who work for an airline company, e.g. Qantas Airways. The airline has a range of flights between various cities each day. Customers can book to fly on a flight, …
      • In the questions you are provided with starter code a4_Q4_xxxxxx.py and 5 files file1.txt, …, file5.txt. As usual you cannot modify the given parts of the code. For this question you need to code th…
      • Create a makeLogPvec() function in Python¬† data set is here https://drive.google.com/file/d/1ZOfwBhJkw8QD1VLFrSS5YFRXP93HcrDJ/view?usp=sharing
      • function called straight(hand) that determines whether a given hand is a straight. a straight is a hand that contains Ô¨Āve cards of sequential rank. The cards may be of diÔ¨Äerent suits. But, instead…
      • Algorithm:¬† Given a 4 digit number representing a year, the day on which the 1st of January falls can be calculated using the following formula (Gaus’s formula):
      • python code help. Here is a small sample of a file "rainfall.csv" which you can assume exists in the same directory as the code you will be writing for this exam. Date, Rainfall (inches) Jan…
      • I am having trouble installing beautiful soup for python, can you provide a step by step method for getting it running? do I do it in the python window or do I download it from the web?
      • Some of the tutor tried and left. Nobody answered. It’s python programming.. Triangle Formation Problem For example, the points (5,10), (20,10) and (15,15) can form a triangle as they do not fall in a…
      • I got feedback from my instructor that the .py file for the random shape generator does not have any indentation, so it won’t compile. I didn’t want to assume which lines should be indented and where….
        • Given the list wordlist defined as: wordlist=[‘print’ , ‘this’, ‘and’, ‘that’, ‘stop’ , ‘when’, ‘requested’ ] (i) Write a snippet of code that prints all words in the list, one per line, up to the…
      • First of all, make sure your routine to load the sensor list and active sensor list, and your recursive_sort() function are all brought in to your project.¬†The recursive_sort() function definition sh…
      • Use confusion matrix function from any scikit-learn in Python package or any package of your choice. What are sensitivity and specificity values? Explain sensitivity and specificity. Please note, diff…
      • Hello!¬† ¬† I am struggling with the below. I’m not sure exactly what they are asking. Can someone please assist? I was looking to compare R or Python. ¬† For your blog post, you will examine a few di…
      • You are an urban planner who wants to understand the proximity of schools to the subway system in New York City. Below are the URLs for three geospatial data files stored in the cloud. ¬† https://www….
      • #training model from sklearn.naive_bayes import GaussianNB nb = GaussianNB() nb.fit(train_x,train_y) #getting confusion matrix from sklearn.metrics import confusion_matrix,classification_report y_pred…
      • 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)
      • The aim of this project is to develop an application which would facilitate the reservation of online air tickets through an effective and yet simple GUI for a normal passenger intending to travel …
      • A regular deck contains 52 cards. There are 4 suits: Hearts, Diamonds, Spades and Clubs There are 13 ranks: Ace, King, Queen, Jack, 10, 9, 8, 7, 6, 5, 4, 3, 2. Create two classes, Card and Deck . Clas…
      • . YT is a friend of many people. Due to unavailability of certain friends at certain dates, his friends divided and planned two separate trips with one of the trips led by SL. YT can only go to one …
      • Kindly add proper comments. Question 5. Study the example below eoreÔ¨Ārlly and write a program that works exactly like the example. The text in bold indicates the user input. The initial list must co…
      • Question 4. Let’s see what would happen if you made more bets. Define a function net_gain_red that takes the number of bets and returns the net gain in that number of one-dollar bets on red. (4 points…
      • Copy the¬†countdown¬†function from Section 5.8 of your textbook. def countdown(n): ¬†¬†¬†if n <= 0: ¬†¬†¬†¬†¬†print(‘Blastoff!’) ¬†¬†¬†else: ¬†¬†¬†¬†¬†print(n) ¬†¬†¬†¬†¬†countdown(n-1) Write a …
      • 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…
      • How do write program that will calculate the weekly average tax withholding for a customer, given the following weekly income guidelines? Income less than $500: tax rate 10% Incomes greater than/equal…
      • def max_number_of_spikes(nb_of_shapes): ¬†¬†spikes = defaultdict(dict) ¬†¬†for i in nb_of_shapes: ¬†¬†¬†¬†if len(nb_of_shapes[i])<= 1: ¬†¬†¬†¬†¬†¬†continue ¬†¬†¬†¬†for x,y in nb_of_shapes[i]: ¬†¬†?…
      • #¬†you¬†can¬†add/change¬†the¬†input¬†parameters¬†for¬†each¬†function¬† #¬†you¬†can¬†change¬†the¬†function¬†names¬†and¬†also¬†add¬†more¬†functions¬†if¬†needed ¬† def¬†ChessBoardSetup(): ¬†¬†¬† #¬†initi…
      • I need help using turtle to make a histogram of the number of times each character occurs in a file. My program will read an input text file and print the histogram. ¬† Note the y-axis shows the perce…
      • Can anyone help me with this ¬† ¬† It should be Coded in Python
      • csv a,a,b,c,a,b,b, a,b,b,c,a,a,b, b,b,c,c,c,a,b, b,c,c,a,b,a,b, b,a,a,c,c,c,b, a,b,c,a,b,c,a, c,c,a,b,b,a,a, Problem 2 (Matching the Line – Recursively) In this problem you will implement the pr…
      • Application coding ¬† from imports import selectMenu, Department, Person, Student, Faculty from newClasses import University, Catalog, Course ¬† from DataSetUp import DataSetUp import os GMU, S2022 = …
      • please write me for this in python Write subprocess.run() function that would save the information into a log/text file. a. Call the text file as: example_lab_text.txt b. Command would like you to use…
      • i do not know what the question required !! #Write function called count_capital_consonants. This #function should take as input a string, and return as output #a single integer. The number the functi…
      • How memory is managed in Python?describe clearly?,,,,,,,,,,
      • I have this code for C++ but need it in python, can someone help ¬† #include<iostream> using namespace std; int main() { int par,stroke; cout<<”Enter par and stroke: “; //input par and str…
      • Hello I want to understand this. This is python linkedlist. OrderedLinkedList() creates a new ordered list that is empty. It needs no parameters and returns nothing. add(item) adds a new Node with val…
      • Show a program that prompts the user to enter a year as input to the program then displays a message indicating whether or not the year is a leap year. To determine whether a year is a leap year use t…
      • Define a recursive function that takes two positive integers n and p as parameters and prints all the multiples of p btwn 1 and n in increasing order. A number x is a multiple of p if x%p == 0. For ex…
      • ,make a Python program (that uses sequential code) that someone could run that share the features of your new network. Your network proposal should 1 Identify various networking applications and proto…
      • Write a Python program that will ask the user to input a student name and his GPA. Then the program calls a function named CreditsToRegister¬† that receives the student GPA as parameter and returns th…
      • Hi! Could somebody help me with this assignment? It’s for my programming class and I am required to make a class with multiple functions. Make a class named Plant In the __init__ function of Plant hav…
      • Using python Data sets: https://bcs.wiley.com/he-bcs/Books?action=resource&bcsId=11712&itemId=1119526817&resourceId=46601 Evaluate Model 1 using the test data set. Construct a contingency …
      • Create, execute, and display each program¬† ¬†Display example four in reverse order This function, named fruit_cost, takes two arguments, named qty and price;¬† Display product of price and qty qty = …
      • http://prntscr.com/l5z85u I need help with this question for python.
      • In this question, you are required to create visualization for time series data. We have collected all the articles from AMIA in the last 30 years. Attached is the dataset; Please use the tool Yake: h…
      • please help me write A program that generates a random number in the range of 1 through 100, and asks the user to guess what the number is. When the number is generated by the computer, don’t display …
      • 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 (key) Ro…
      • Copy the¬†countdown¬†function from Section 5.8 of your textbook. def countdown(n): ¬†¬†¬†if n <= 0: ¬†¬†¬†¬†¬†print(‘Blastoff!’) ¬†¬†¬†else: ¬†¬†¬†¬†¬†print(n) ¬†¬†¬†¬†¬†countdown(n-1) Write a n…
      • 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?”
      • Time Left:0:34:04 Isaiah Botten: Attempt 1 Question 4 (10 points) Which of the following if statements sets the variable x to x squared if a second variable i is an even number and sets x to x cubed, …
      • 14.1: zyLab training: Basics ¬† While the zyLab platform can be used without training, a bit of training may help some students avoid common issues. The assignment is to get an integer from input, a…
      • Automated authorship detection is the process of using a computer program to analyze a large collection of texts, one of which has an unknown author, and making guesses about the author of that text. …
      • Implement recursive function webdir() that takes as input: a URL (as a string) and non-negative integers depth and indent. Your function should visit every web page reachable from the starting URL web…
      • In Python3 (Not for String Position) I want Python3 Code and only logic syntax of give part will be fine too. I am doing Automated Coffee Brewing Machine assignment using Raspberry Pi. My task is to c…
      • Imagine that you have a block of material in which a hole has been drilled: Write a function that will take in the dimensions of the box, length, width, and height, and the radius of the hole, and det…
      • I am working on a Python lab on zyBooks and cannot figure out one error that I am receiving.
      • Having trouble exporting my Python script that extracts web links from the Current Estimates web page of the U.S. Census Bureau and outputs those links in a CSV file in an absolute and non-duplicated …
      • I am stuck. My program will not run correctly and I keep getting error messages. Untouched code is as follows (What I need to add is following the code): import random¬†¬† print(“\tWelcome to ‘Guess M…
      • Python program Requirements: Provide where the idea of your program came from Must use materials from, and restricted to, topics on the bottom: At least 1 decision structure (a.k.a. branching) At leas…
      • Write a program that works with fractions.¬† Your program will read two fractions of the form¬† a/b and an operation ( + ,¬† – ,¬† * ,¬† / ) from the user, then perform the requested operation and pri…
      • Write a function named formAdverb(s) that accepts an adjective string s , then forms an adverb from the adjective, and returns the adverb. – In most cases, an adverb is formed by adding ‘-ly’ to an ad…
      • I would like to have a script that can modulate the PMD effects in optical transmission in Python For your reference: https://drive.google.com/file/d/1erurMsPwKJE2DP5_IRjg_sxMXQ5kLzh-/view?usp=sharing
      • Identify which type of database/data processing system you would choose (Key-Value store, Column-oriented store, Document-oriented store, Graph database, Relational database, Streaming engine)…
      • 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…
      • from copy import deepcopy ¬† ¬† class BST : ¬† ¬† ¬† def total_height ( self ): ¬† ¬† ¬† ¬†¬† “”” ¬† ¬† ¬† ¬† ——————————————————— ¬† ¬† ¬† ¬† Returns the total he…
      • Hi, I need help with this question please. Given the list of¬† shop ¬†defined in the cell below, write python code to: Process the list of dictionaries to develop list of¬† shop_name . Join the¬† shop…
      • Problem 2: Create a function god(a, b) that computes the greatest common divisor of a and b using the bezout_coeff function you implemented for problem 2 lecture. No credit will be given to functions …
      • Please Have a look at my coding according to this question there is some mistakes help me with that. question is… Write a Python program, implementing encryption/decryption without using any special…
      • Need done use elif, if, else. If Needed < > C # bohr.wlu.ca/cp104/labs/lab05Decisions.php?d=2020-10-18 v Kesuits 10. Implement the following function in the PyDev module functions . py and test …
      • Given the Covariance for two assets considered is Covariance= [[0.0625 0.0075] [0.0075 0.0225]] Write code to find the weights of the assets that minimize portfolio variance. Specifically follow the s…
      • . Print keys In [17]: d_dict = { ‘501’ : ‘citi’ , 502′ : ‘JPM" , ‘503’ : "BOfA’ , 508′ : "Wells Fargo" , ‘504’ : ‘Paypal’ , ‘509’ : ‘capital one’ , 506′ : "Square’ # Print k…
      • def q3_func (expt_data, outdoor_temp_data, threshold} : where . The input expt_data is a NumPy 2‚ÄĒD array whose entries are of float dtypc. You can expect this array to be non-empty. . The input outd…
      • Need to make a Python program that: prompts the user for a number checks the number to make sure it is non-negative if it is negative,¬†give an error message and end the program if it is non-negative …
      • What are the values of the unknown? aka the “?’s” function y = divided_eval (X, T, x) "divided_eval Evaluate Newton’s divided difference form of the interpolating polynomial %% y = divided_eval (…
      • How do I solve this?¬† ¬† ¬†. 3. to_snake_case [3 points] Write a function named to_snake_case that takes a string as an argument and returns a new string converting the argument to Python snake_case …
      • Hello, need help with writing a recursive function, please show me a step by step guide. Thank you! Write a recursive function simplified(string) that returns a string similar to the input string but …
      • I need a simple Python program to do the following: (a) Use a for loop and a random integer generator to generate 5 random integers in 1 to 9. Store the random integers in a list. Display the list. (b…
      • Part 1 Initial Screen 4. Go to the directory where you saved the code (File. pyw) and double-click the Python file. (it will open the Python GUI app without showing the terminal) SCREENSHOT 1 – Show t…
      • In a file named falldown.py, implement a simplified version of the arcade game falldown ¬† Overview to gamebox module: https://www.cs.virginia.edu/~up3f/cs1110/supplement/gamebox-overview.html ¬† Libr…
      • Hi i am unable to solve this python question please help me solve it. Assignment instructions ######################## 1- Read and understand the functions given below . Note that scancount and swapco…
      • Can you please help me to trace this Python code step by step? What is the purpose of this code, what is it doing? from twarc import Twarc from urllib.request import urlopen import requests import que…
      • I have created a few codes, and I wonder that in each line, I need help in explaining in # comments which tells what is happening in that line of codes. Code 1: def printNames(*names): ¬† ¬†for x in n…
      • rID_dict = {rID:’R’+ str(idx) for idx, rID in enumerate(rev_df[‘customer_id’].unique()) } pID_dict = {pID:’P’+ str(idx) for idx, pID in enumerate(rev_df[‘product_id’].unique()) } ### Checking the valu…
      • Python Applications for Lab1: (total 100 points): This lab consists of two parts. The first exercise (40 points) allows the user to use a menu to select and then generate pick-3 or pick-4 lottery numb…
      • . 1 Overview Classes are a great way to organize your code inside a single program. But. sometimes, they can he even more: a way to share code across a number of similar programs. In this Project, y…
      • Please assist with part D for python 2.7 b) Consider the following screen capture with 5 threads and a maximum of 8 seconds sleep time. The total time to run the program was about 9 seconds eventhough…
      • USE PYTHON!! ¬† Write a function which takes a string that contains two words separated by any amount of whitespace, and returns a string in which the words are swapped around and the whitespace is pr…
      • Need help programing these two functions- python programing all info is above of what is required. ThesecondfuncÔ¨Āonis: def bonus_earned(employment_records)z This function has a list of one or more s…
      • You will utilize a large dataset to get a predictive analytics algorithm in Python. For this assignment, complete the following: Utilize one of the following Web sites to identify a dataset to use, pr…
      • The final project package is the complete bundle of all your scripts, presentation materials, data and even notes that you have brought together to finish this project. Because each project is very in…
      • Create 3 programs, use linkedlist, insertion, bubble sort, recursive, Selection sort, stack. you can choose in 6 i said above what programs u will use. please. i need 3 programs Description Positive i…
      • I need python code pleass code in pycharm and then send code and output screenshot If Time Permits 11. Sum of Three Write a program sumofthree . py which asks the user to provide a three digit number….
      • I am having issues fixing my code.I do not understand how to implement this advice to fix to fix my error on codio, “three of the branches, i.e. budget and the two weekly rental branches are not worki…
      • Hello everyone, I am working with Djikstra algorithms and doubly linked, and I am getting the errors below, what might be the cause, please.¬† TypeError: add_edge() missing 2 required positional argum…
      • Could I get some help on this Real estate train.csv: https://docs.google.com/spreadsheets/d/1UFSaqq3B_6wrBkg7fJNe6r2PIWfoWATrsErsKSZfmcY/edit?usp=sharing ¬† Real estate test.csv:¬† https://docs.google…
      • python Write a program called lookup.py that enables DBVac employees to look up a customer by name or CustID, then output the data regarding the matching customer(s). Your program should: Include a co…
      • 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…
      • how to build e a sys.argv file in system for running a sys.argv command in python? Please give a answer with screenshot and details
      • Hello, I am having difficulties creating this python code. I have attached the instructions as the png files. Any help would be greatly appreciated. Thank you in advance.
      • You have to make game in python. (10000 points game) Use below code and rules for your coding. import random import math class Dice: def __init__(self, sides=6): self.sides = sides def roll(self, n=1)…
      • How to create function in Python named kappa that takes as input a string (named s, for example). The function returns a new string that is an encrypted version of s. If s is an empty string, the resu…
      • using the file “pbnumbers.txt”, for the exercise below. Add a simple NJ Lottery Game logo of choice using turtle graphics 13. PowerBall Lottery To play the PowerBall lottery, you buy a ticket that has…
      • CHALLENGE ACTIVITY 4.5.3: Boolean operators: Branching using Boolean variables. Write an expression that prints ‘You must be rich!’ if the variables young and famous are both True. 376628,2015284.qx3z…
      • help with a python program that detects mismatches between .py extensions and actual python files
      • Use the dataset: https://drive.google.com/file/d/1cg_oWxjLvHEerU5Tyf6xWvfzIdsmngDB/view?usp=sharing ¬† Make a dashboard that has widgets (in a sidebar panel, or other layout) to choose/control (at lea…
      • You will have to write three different Python programs to:¬† 1. Accept inputs from user.¬† 2. Use Decision Structures (if, elif, else) to evaluate multiple expressions which produce True or False as o…
      • i need python code for this question¬† i need code which i can copy paste in my ide . . . .. Example 4 Set weights Wi and nodes so that the approximate formula f(x)da = wif (21) + w2f (12) -7/2 <3….
      • Create a class namedStudentthat has public data membersname(string) andscores(list of integer values). Provide a constructor that takes a parameter for initializing thenameand initializes the list to …
      • In class “MyTree”, implement the complete binary tree. Class MyBST that extends MyTree, Override the method insert(x) to meet the definitions of a Binary Search Tree . CLass “MyAVL” that extends MyBST…
      • Implement a class called TicTacToe init_should not take additional arguments and should be used to initialize the internal state of a game. . move should only take a row and col (row 0 and column 0 in…
      • There is a very simple game kids like to play called “Guess my number”. The first child will choose a secret number within a range, and second child will attempt to guess that number. The only feedbac…
      • **Exercise 3** (1 point): Next, you need to map unique zip codes and unique candidates to integers. We’ll use this result later when we convert the data into a sparse matrix. Your task now is to compl…
      • > The function should return the value of total gear ratio Objective 4: Calculate the rotational speed of the motor in revolutions per minute (RPM) Define a function objective4 () which achieves th…
      • import random; ¬† #Problem 2 ”’ The Knight’s tour problem solved via Warnsdorff’s algorithm. Warnsdorff’s algorithm: https://www.geeksforgeeks.org/warnsdorffs-algorithm-knights-tour-problem/ More inf…
      • Task 5 – Attack A Small Key Space (15 points) ¬† Modern day RSA keys are sufficiently large that it is impossible for attackers to traverse the entire key space with limited resources. But in this tas…
      • Write a function cogrime test loop” that asks the user for two numbers. This function will pass those two numbers onto a second function coprimelazb) which will return true or false depending on wh…
      • I am confuse? 10.14 LAB: Data Science: CAERS data For this lab, you will need access to your Google account (either personal or through school). We will be using Google’s Colaboratory, which is a clou…
      • ** Note: Please provide code for this specific question. Not the general code for Sieve function.¬† For example,¬† num = int(input(“Enter a number: “)) List = [“0”] * (num) ¬† List [0] = “1” ¬† List […
      • 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…
      • 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…
      • import networkx as nx import matplotlib.pyplot as plt import random def infection(graph, Susceptible, Infected, Removed, infectRate, recoveryTime, iterations, pos): ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†…
      • http://prntscr.com/l5za0q I need help with this python homework, thanks!
      • Part II: A State class For the second part of the project, you will create a preliminary State class for objects that represent one of the states in a state-space search tree for the Eight Puzzle. We …
      • This is Python and about the Linear interpretation Code. I really need to know how to do these 2 program. pls let me know how to do these 2 to be specific. You arrive at a racetrack and observe a car …
      • COUNTRY_STATS = {“Canada”:(1867, 37952190), “USA”:(1776, 329425372), “India”:(1947, 1359611051), “Ireland”:(1922,4921500), “Nigeria”:(1960, 206139587), “Malaysia”:(1957,32714760)} def main(): # loop t…
      • Hello, Need assistance with under the following question: The following equations estimate the calories burned when exercising (source): Women: Calories = ( (Age x 0.074) ‚ÄĒ (Weight x 0.05741) + (Hea…
      • Make a flowchart and pseudocode that represent the algorithm to determine how much money a person saves in a year if you consider that each week you save 15% of your salary (consider four weeks per mo…
      • Hide Assignment Information Instructions ¬† Submit in a file named:¬† P20220307.txt Given a value lets say 7, write a program which has 3 functions: main() to start the script and output the results i…
      • . 5. Guessing Game In the lecture, you were given an example like: SECRET = 6 guess = int(input("Guess a number: ")) while guess != SECRET: print ("Guess again!") guess = int(inp…
      • Can someone explain the time complexity of this program trying to remove duplicates from a collection def removeDup(l1): ¬† ¬† print(“Before”,l1) ¬† ¬† l2=[] ¬†#create second list that will be returne…
      • need solve with c++ or python thank you. please help
      • 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…
      • Modify the program below by adding code that will insert a new element in the list of lists. Show also a sample output of your program running ¬† # Makes each item in the table have the same length de…
      • 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…
      • I have this list of actor_ids : target_0 = [‘1776’, ¬†‘488’, ¬†‘190’, ¬†‘380’, ¬†‘4690’, ¬†‘3096’, ¬†‘10400’, ¬†‘36592’, ¬†‘1373737’, ¬†‘10990’, ¬†‘10215’, ¬†‘230194’, ¬†‘325’, ¬†‘2231’, ¬†‘1’, ¬†‘131…
      • The dataset¬†of education post 12¬†is a dataset that contains the names of various colleges. This case study is based on various parameters of various institutions. You are expected to do Principal Co…
      • . 4. [4 marks] In a file called q4.py, you will write yet another function, called drawCaterpillar(), that draws a full caterpillar using your functions from Questions 2 and 3. This function will ha…
      • Problem 2: Ôāß Please use the script file “sub” discussed on page 662 of your Linux book as a template to complete the following tasks: a) Make two more copies of file “mysedfile” as “mysedfile2” and …
      • def find_peak(elevation_map: List[List[int]]) -> List[int]: ¬†¬†”’Return the cell that is the highest point in the elevation_map. ¬†¬†Precondition: elevation_map is a valid elevation map. ¬†¬†¬†¬†…
      • from sklearn.datasets import make_classification from sklearn.linear_model import LogisticRegression from sklearn.model_selection import train_test_split from sklearn.metrics import roc_curve from skl…
      • Describe how tuples can be useful with loops over lists and dictionaries, and give Python code examples. Create your own code examples.
      • def solution(A): # Write your code in Python 3.6 ¬†. There are N bulbs, numbered from 1 to N, arranged in a row. The Ô¨Ārst bulb is plugged into the power socket and each successive bulb is connected …
      • Maximum of a Two Dimensional List Given two integers representing the rows and columns (m√ón) , and subsequent m rows of n elements We need to input the number of rows and columns in the list We need …
      • Lab (1 point)Part 1: Return your movie reviews def handleRequest(request): When a request is made as a dictionary in the form {“request”:”getReviews”} you should return your movie reviews as a JSON st…
      • stuck on Python homework problem. You are the boss of an oil drilling company. Your company found N potential oil wells, but one and only one of these wells contains oil. You decide the buy one well, …
      • url = “https://philchodrow.github.io/PIC16A/homework/HW3-hamilton-data.csv” fname = “data.csv” retrieve_data(url, fname) data = read_data(fname) Define describe in utils.py This would also be a good t…
      • Write a program that uses¬† input ¬†to prompt a user for their name and then welcomes them. Note that¬† input ¬†will pop up a dialog box. Enter¬† Sarah ¬†in the pop-up box when you are prompted so you…
      • My python code keeps bringing back “your encrypted message is: none”. However, I want it replace every letter of the users entry to the next letter of the alphabet. I’m not sure what is wrong. # Cesar…
      • Problem 1 (Reocurring Characters: dictionaries) For a given string s, return the first reoccuring character in the string. Try to get an approach that is¬†ūĚĎā(ūĚĎõ) O(n), where¬†ūĚĎõ n¬†is the number…
      • 10 Program: Automobile service invoice (Python 3) ¬† (1) Output a menu of automotive services and the corresponding cost of each service. (2 pts) Ex: Davy’s auto shop services Oil change — $35 Tire…
      • 1 Linear Regression 30 pts Continue with the last problem in assignment 3, in this problem you should do the same thing to implement linear regression in class. Instead of build 1d linear model, we wa…
      • . Suppose a function header is as follows: def f (pl, p2, p3, p4) : Which of the following calls are correct? Of (1, p2 = 3, p3 = 4, p4 = 4) ( f (p1 = 1, p2 = 3, p3 = 4, p4 = 4) Of (p4 = 1, p2 = 3, …
      • Code them in ¬† POWERSHELL Text Color Function Write a function that will accept 2 parameters, one for text, and one for color. For this function, we will limit the “colors” parameter to “red, white, …
      • Counting sheep (or anything else) Write a class called Counter that represents a simple counter. It should have a self.count attribute that starts from 0. Also it should have a self.max attribute that…
      • Design a Customer class to handle a customer loyalty marketing campaign. After accumulating $100 in purchases, the customer receives a $10 discount on the next purchase. Provide methods ‚ÄĘ def makePu…
      • I need to adapt a version using pyInputPlus functions to perform all the input validation and for the main() loop decision. ¬† ‚ÄĘ Program base should be adjust to allow book prices to include $ and c…
      • I’m trying to solve this project in python language using pycharm How to reuse this code to achieve the Similar to Sample output image: ¬† from tkinter import Tk, Canvas, Frame, BOTH, W import tkinter…
      • Sequence selection: The Fibonacci Sequence is defined as 1, 1, 2, 3, 5, 8, 13, 21, … where the 1st and 2nd Fibonacci Numbers are 1 and 1, and all subsequent numbers are the sum of the prior two….
      • Using the IDLE development environment, code Python¬† script ¬†named¬†tryme4.py.¬†(Note: an alternative to IDLE is to use a free account on the pythonanywhere website:¬†https://www.pythonanywhere.com/…
      • # Using the random module, return a number of days between 7 and 100. # Given that random number as input, create tuple containing the number of weeks and any days left over from that number. import r…
      • In this exercise you’ll be completing an array-based and a link-based stack collection type discussed in this chapter. Both have similar implementations, but a link-based stack uses nodes and an array…
      • I need help in creating the edges In a clockwise fashion as stated. I dont understand how the set up is made via first cut. The code needs to be modified so that nodes c->a->b->d are connecte…
      • make a function named selit and parameters sentence, delimiter1, delimiter 2,etc … create a return of a list containing all separated strings. u get one sentence and uncertain number of delimiters f…
      • Week 3 ¬† 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 per…
      • Need help with program5_2.py ¬† program5_1.py This file is about rectangles. It requires a main function and¬† three custom functions,¬† all of which take the¬† rectangle dimensions as arguments . a f…
      • How do I write Python program to read two strings of words separated by a comma.¬†Then print out a list containing all the words that occur in the two sets together.¬†Print out a second list that cont…
      • only python code 5. Alphabetical Order The following words have three consecutive letters that are also consecutive letters in the alphabet: THIRSTY, NOPE, AFGHANISTAN, STUDENT. Write a program that a…
        • How will you treat text having short cut words (like bcz, u, thr etc…)? 2. Write R and python code to replace “bcz” with “because” in whole text? 3. How do you deal with the English text having H…
      • input story.txt: THE THREE WISHESOnce upon a time . . . a woodcutter lived happily with his wife in a prettylittle log cabin in the middle of a thick forest. Each morning he set offsinging to work, an…
      • I need help displaying this code using python 3 U2, M3, Project Microsoft 40461 Unit II – Focuses on Python data structures such as strings, lists, and range sequences, as well as methods for working …
      • What is the flowchart of following code? def Words(str): ¬†¬†¬†list = [] ¬†¬†¬†temp = “” ¬†¬†¬†for i in str: ¬†¬†¬†¬†¬†¬†if i == ” “: ¬†¬†¬†¬†¬†¬†¬†¬†¬†list.append(temp) ¬†¬†¬†¬†¬†¬†¬†¬†¬†temp = “” ¬†…
      • Compute the non-square products of all pairs of prime numbers under 12 in order from smallest to largest. To break this down: The¬† primes ¬†under 12 are 2, 3, 5, 7, and 11. These are numbers that hav…
      • Determine the prime factors of a given positive integer Write a function that constructs a flat list containing the prime factors in ascending order and returns it. Example: prime_factors(315)–> […
      • could you code this in a different way using python
      • I am using Windows and i am trying to write in Syder. I am adding the dictionary to the comment. 3. (30 points) Data Analysis a. Read the file ‘someGeneData.txt’ using Python b. Calculate average expr…
      • [3 points] writing a random number-based “autograder”. Suppose a TA for 15-110 wants to speed up the grading of programming assignments and asks you to form an autograder in exchange for extra cred…
      • Link to jupyter notebook of state abbreviations: https://drive.google.com/file/d/1Y47ljaVfbUfW_wpoO3iqWN3E2A-VUDyO/view?usp=sharing ¬† Link to potential datasource for recent COVID-19 cases: https:…
      • I need help with python programming assignment. I dont know how to upload my document here. Thank You in advance
      • What am I doing wrong? I have no syntax errors but cannot get the correct output. Please assist.
      • ”’ Breadth First and Depth First Search The objective is to write Python program that traverses graphs in BFS and DFS manner. BFS will determine the shortest path distance (number of edges) from the …
      • Flowchart and python using a loop. Solving problems with python Solve the following problem using a loop. Start with the algorithm (flow chart or pseudo-code) then translate the algorithm in python co…
      • I need help with this Python assignment, please. Program 1 – Write numbers to a file:¬† 1. Open an output file with the filename number_list.txt 2. Use a loop to write the numbers 50 through 100 to th…
      • Message b’secret message’ has been signed using RSA-PSS using the following code snippet. backend=default_backend() private_key = rsa.generate_private_key(public_exponent=3,¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†?…
      • What could pseudocode for r classification prediction algorithms look like?
        • The Internet provides a “best effort” service in forwarding packets, by default. Explain what this means in terms of performance of the system, making due reference to statistical multiplexing of …
      • How can a list best be described? Group of answer choices A list is an unordered sequence of items. ¬† A list is an ordered sequence of items. ¬† A list is a conditional statement. ¬† A list iterates …
      • How to import/save data via “for loop” into an empty DataFrame(Pandas) for example, I now have an empty DataFrame “df” for i in range(0,100) for j in range(0,100) {import i,j to df} (I,j to frist two …
      • To predict whether a given chemical is biodegradable or not based on the given chemical structural information.
      • A checkerboard matrix is a matrix with alternating Is and IS across rows and columns with the top left value equal to 1 # _ _ _ _ _ _ place code below here !/ }/ {/ _ _ _ _ _ _ # . . . _ _ _ _ Place …
      • I have a similar program like this. I am trying to understand this one on how it works, but it seems like it is missing something and I am really struggling with this subject. def __init__(self): self…
      • . cture.com/courses/3440801/quizzes/8738649/take D Question 8 In the diagram below, what label would be assigned to the orange node if K = 3? O red O blue O yellow O it would be a tie D Question 9 A…
      • CODE IN PYTHON USING MULTIPLE CLASSES: The game of Nim starts with a random number of stones between 15 and 30. Two players alternate turns and on each turn may take either 1, 2, or 3 stones from the …
      • How to use python to solve this question? thanks Question 2 (20 marks) This question is related to Assignment 2. The aim of this question is to write a function called x2_func whose def line is: def x…
      • Compute the correlation between proportion correct and mean RT (using, e.g., the pearsonr function from the scipy.stats module) for each group (“A”, “B”, and “C”) separately. Store these three fl…
      • Hi, i wrote this function part of my script to calculate and display date in certain format. However, i am getting the data format like this YYYYMMDD in my code. I need to get the date in this format …
      • #Find salary def getSalary(hours, weeks, rate): hours=40 rate=12.31 week=4 #entee code here Return salary
      • Formulate a working program that uses the Repetition Control Structure including the While Loop, the For Loop, and Nested Loops. Codify a syntactically correct Python program to solve the followin…
      • use loops for the question. Semester One Mid Semester Assessment, 2022 SCIE1000 Theory and Practice in Science (c) (Advanced) The program above uses energy data from a specific household that is store…
      • level = 0 if level == 5: print(“Invalid”) elif level == 10: print(“Warning”) else: print(“Accepted”) answer?
      • A random variable has been instantiated with a random value in the code block below. Multiply this value by 2 as long as it is not greater than or equal to 1000. ¬† Store the number of iterations requ…
      • [Arrays.Numpy] Please help, I did the code in Python but I don’t know how to modify it according to exercise. Thanks!!
      • Is the maximum depth of my directory tree correct? Is it 5 or 6? ¬† ¬† <?xml version=”1.0″?> <fsimage><version><layoutVersion>-64</layoutVersion><onDiskVersion>1&lt…
      • csv ID Ass1 Ass2 Ass3 Ass4 Exam 1 89.1 50 85 88.9 65 2 95.1 82.5 90.5 94.5 52 3 74.3 54.4 63 63.9 31 4 89.8 81.3 82 90.4 37 5 91.3 98.8 92.5 95.9 79 6 83.9 82.5 89 98.6 68 7 81.9 5…
      • What would be the best way to present an authenticated user’s relevant information within an instance after the user has entered their username and password , for example Student_ID, name, last name, …
      • just writing minimal code snippets or functions here Suppose, somewhere in our code, we might have a string containing solely the text representation of a number (maybe of an integer; maybe of a decim…
      • Using the environmental data for each of the provinces in Canada, and weighting each piece of data by the number of cities in the province, calculate the mean temperature and mean precipitation for al…
      • Frome the question below, I already imported the file but I don’t know how to plot it in the 2 * 2 subplots, So can you help me figure out how to wtite this code? import matplotlib.pyplot as plt impor…
      • 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…
      • NEED THE ANSWER ASAP . Challenging the Bellman-Ford Algorithm Someone comes to you and asks you what you learned about shortest path algorithms in this course. You describe to her about Dijktra’s Algo…
      • Python Language which of the following are relational operators? {:31 and or not Question 2 [1 point] which of the following are logical operators? 0 and or not Question 3 [1 point] The operator that …
      • issa Case study Peter Parker age 28, male, 80 ppm resting heart rate. He is 6’4” and 252 lbs with 29% body fat. What is his BMI, BMR, TDEE, THR AT 60,70,and 80 percent? What type of workout program w…
      • #Favorite Numbers #initialization num = int(0) num = int(input(“How many numbers? “)) myNumbers = [“”] * num for numCtr in range (num): ¬† ¬†myNumbers[numCtr] = input(“Enter Number: “) for numCtr in r…
      • A nutritionist who works for a fitness club helps members by evaluating their diets. As part of her evaluation, she asks members for the number of fat grams and carbohydrate grams that they consumed i…
      • so I pasted my assignment my work and the errors i got when ran. I need to be walked though how to fix this i spend so much time and money on this so far. a program that prompts the user for an odd nu…
      • Given the “Additive Decomposition Panel” and the “Autocorrelation Analysis Panel” in “Series View”. What are the forecasting model(s) that could be useful for analysing this dataset and whether differ…
      • could you please help me could you please help me could you please help me could you please help me Use the Design Recipe to write a function weighted_total(number’_i.ist,weights) that consumes a list…
      • Fill in the blanks (1-5):¬† ¬† ¬†. Pseudocode: 1 get input n 2 set a variable num = 1 3 if num <= _(1)_, goto step 4, otherwise go to step 11 4 set a variable factor = 1 5 if factor <= num goto …
      • Suzy ‘s farm produce is limited to tomatoes and sweet potatoes. Three mornings a week, Suzy collects fresh eggs. She and Zach fill up egg cartons each day, Every Saturday, she goes to the Lakeline Far…
      • 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…
      • Objective: Write an Assembler program that translates programs written in the symbolic Hack assembly language into binary code that can execute on the Hack hardware platform built in the project 5….
      • A diagram of the system you are going to model is shown in Figure 1. It is composed of the following components: 1. An electrocardiographic (ECG) detector (ws a subject’s blood pressure) 4. A cell pho…
      • class Dog: ”’This class definition is about dogs and dog breeds”’ species=’Canis familiaris’ def __init__(self, name, breed): self.name = name self.breed = breed self.tricks = [] def teach(self, tri…
      • . Chrome File Edit View History Bookmarks Profiles Tab Window Help Q Sun Mar 13 11:11 PM N Course Modules: (Spring 2022) x N Chapter 5 – Assignment x Course Hero x C Computer Science question | C X …
      • How to construct the following two programs? In this section, you will implementing conditional statements to check divisibility of a number by taking an input from user. You will be practicing the fo…
      • From python code, describe functions and what is its purpose? and How do you use this technique in your program?
      • 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…
      • Megan owns a small neighborhood coffee shop, and she has fifteen employees who work as baristas. All of the employees have the same hourly pay rate. Megan has asked you to design a program that will a…
      • This phase has a list of deliverables: An introduction to the data that must include but not limited to 1) how was the data collected, 2) why was the data collected, 3) how did you find the data. If y…
      • Ok guys, I’m having trouble with my code in zybooks, parsing strings.. I have passed 5/ 7 but don’ t know what’s wrong now.. Here’s my code: while True: ¬†¬†string1 = input(‘Enter input string: \n’) ?…
      • I want to create a set of classes to represent the following: * A building has an address, and several rooms inside it * Every room has a name (e.g. “bedroom”, “bathroom”, etc.) and a numerical square…
      • Add code to the programming to figure out who has the most messages in the file. After all the data has been read and the dictionary has been created, look through the dictionary using a maximum loop …
      • You will be developing a Python program to process a set of integers, using¬† functions , including¬† a main function .¬† The main function will be set up to take care of the following bulleted items:…
      • Using Python, implement isolation forest to find outliers on City_MedianRentalPrice_2Bedroom for Houston and Dallas locations only (https://www.kaggle.com/paultimothymooney/zillow-house-price-data?sel…
      • Hint: Here is the general syntax for a decorator that accepts no arguments: def decorator(decorated_function:callable): ¬† ¬†def wrapper_function(*args, **kwargs): ¬† ¬† ¬† ¬†#this is where we make mo…
      • . In this program, we will be working with command line arguments and redirecting input/output. This program should: Have three files, prog9.py, input.txt, and output.txt. . In prog9.py, accept comm…
      • A standard science experiment is to drop a ball and see how high it bounces. Once the “bounciness” of the ball has been determined, the ratio gives a bounciness index. For example, if a ball dropped…
      • Implement a function called sum_odd_divisors that takes a integer n as input. If¬† n is zero, sum_odd_divisors returns None. Else, sum_odd_divisors returns the sum of all the postive¬† odd divisors of…
      • Given the below information, compute PERCEPTRON function in Python programming language to return new weights: ¬† alpha_learningrate = 0.1¬† input_data = [([5.1, 1.4], -1), ([4.9, 1.4], -1), ([4.7, 1….
      • Given Code: ¬† #Write a function called multiply_file_by_index. This function #should take two parameters, both strings. The first string is #the filename of a file to which to write (output_file), an…
      • Write a function showChar to display the character at a certain index in a given string. Also write how this function would be called in your main function. ¬† Input Data A string An index Output Data…
      • Please help me answer this question. There was a typo in Part 5.1, for which I added an extra image to explain. I highly appreciate any help. Thank you.. Problem 5: Sums and Products {-} In this last …
      • (15 points) A Python program is making use of a dictionary whose keys are ints and whose values are lists of ints. For example: d = {0:[1,2,3], 3:[2,3,4,0], -1:[-1,3,4]] Write a (syntactically cor…
      • Need help with adaboost code:¬† Link for multiple data sets: https://github.com/gditzler/UA-ECE-523-Sp2018/find/master ¬†. 2 Adaboost [20pts] Write a class that implements the Adaboost algorithm. Your…
      • This assignment will extend Unit 7 Assignment 1. Submit your code to that assignment first or keep an old copy before you begin modifying it for this assignment. The input data will look the same in t…
      • I have this code. I need to convert YouTube videos into the file.mp3. How do I do that?. pythonProject4 – main.py main.py 5# This is a sample Python script. 2 3 # Press Shift+F10 to execute it or repl…
      • Write a Python program (IDLE 3.9). Suppose you want to buy a car priced at 12,500. You have 10,000 dollars deposit in your account. How many years do you have to leave the money in the bank account to…
      • (15 points) Write each of the following as compactly as possible using summation and indexed notation. Example: Ex, j =bj j= 1,…,7. 1=1 a. min ciy1 + cay2 + … + Cyn + fi,1X1,1 + f1,2×12+ … + tax…
      • Please using the following psuedo code as starting points fro Exercises 7 and 8. Additionally, sample plots are shown below. #!/usr/bin/env python3 “””=================================================…
      • Create 2¬†Simple web /¬†screen scraper programs (preferably using 2¬†different websites or try to extract 2¬†different pieces of information from 1¬†website).
      • I am trying to write python script for an ATM and it wont’ print correctly import sys #Initial beginning balance account_balance = float(500.50) #Implementation ofprint_balance to #print the beggining…
      • How do I solve this projcet? I would really like a code that solves this please!
      • Add the following method to the UnorderedList class:Node-UnorderedList.py¬† def count_greater(self, min): this method returns the count of elements greater than min. For instance, if list aList had th…
      • There are four people crossing the river with only one boat for a maximum of two people. If they cross individually, each takes 1, 1, 5 and 9 minutes, and if they cross together, the time taken is w…
      • Python Programming Can someone please solve this question in python programming. It involves the use of Regular Expressions.¬† ¬† The Text: “‘Too much; too many dark things,’ said Strider grimly. ‘But…
      • Code a function named file_stats that takes one string parameter (in_file) that is the name of an existing¬† text file. The function file_stats should calculate three statistics about in_file: the num…
      • Question is provided by the picture, and it requires using hasing 2. Mod-free hash. In class, most of the hash functions we looked at required arithmetic mod m, where m was a prime. This exercise look…
      • Function 2: Largest Int Define a function called largest_int() that takes two different ints as input from the user using the input() function, and prints the larger one. If they are equal, print any …
      • . Criteria Level 1 Level 2 Level 3 Level 4 Score Functions/methods: |Function does not execute when Function executes, but output is Program executes and is correct 12 Program Execution called (e…
      • Need to implement War card game in python in the following way;. cards.py a. a Card class i. including self.suit and self.value attributes ii. including a _repr_() method to display card info, e.g. ‘1…
      • Please help with the Bullet Points below: Figure 2 shows a scatterplot of the two python lists in¬†q5.py¬†–¬†population¬†and¬†gas. The python file¬†q5.py¬†imports the function¬†corr_coef() to calculat…
      • Write function¬†make_index(words_on_page)¬†that takes a dictionary mapping from page number to a list of the unique words on that page and returns a dictionary that maps from a word to an ordered list…
      • As a developer you will often find yourself working on multiple projects at the same time. You may be the only developer or you may be working on a team of developers. Describe two issues you feel are…
      • from __future__ import annotations from random import shuffle from typing import List, Tuple, Optional # Each raccoon moves every this many turns RACCOON_TURN_FREQUENCY = 20 # Directions dx, dy UP = (…
      • Assignment This assignment should be completed as a collection of several Python source (.py) files, uploaded to Carmen as a . zip file. (1) ¬†Implement the Rank enumeration class in cards.py, using t…
      • Using the IDLE development environment, create a Python script named tryme4.py. (Note: an alternative to IDLE is to use a free account on the pythonanywhere website: https://www.pythonanywhere.com/) I…
      • having trouble solving this… all needed info is given # DON’T EDIT THE PARAMETERS FUNCTION def parameters (tbl, colx, coly) : x = tbl . column (colx) y = tbl . column (coly) r = correlation (tbl, co…
      • Please Remove errors and plot the output and attach the corrected code and outputs.( Tell the compiler name also).. import numpy as np from sympy import * import helper as h T = 1 tau = 0.01 L = 64 N …
      • Define a function names_sorted_by_likes that accepts one argument: a list of dictionaries (like the one below) and returns a list of names from those dictionaries, sorted by the number of likes (i…
      • if sum.second >= 60: sum.second -= 60 sum.minute += 1 if sum.minute >= 60: sum.minute -= 60 sum.hour += 1 return sum Although this function
      • Describe how tuples can be useful with loops over lists and dictionaries, and give Python code examples. Create /your own code examples.¬† Your descriptions and examples should include the following: …
      • I have a course where I must create a program that can do the following in python: Read a file line by line Encrypt each line using the Vignere Cipher Save the encrypted lines in a new file I have the…
      • Instructions ‚ÄĘYour submission must include a single Python module (file with extension “.py”) that includes all of the code necessary to answer the problems. All of your code should run without erro…
      • #(1) create the function named homeworkOne,that will have one input parameter. #Function should return double length of the array #(2) create the function named homeworkTwo, that will have three input…
      • # map an integer n to its representation as a string of digits. # no need to error-check for the case that n is negative @# e.g. iint (12) == [2,1] def iint (n) : if n = = 0: return else: return list …
      • Task: write a Python Code function that Takes as Input a FASTA File like the one on the Right and gives as Output what is described in the red writing on the left. Thank you.. In [7]: def predi…
      • A program that reads data from a file and writes data to the file…. Use a list to store the data read from the file…. The data that you will have is a grocery list. Store data read from file in a …
      • language? Python please use comments in the code and use a function at least three functions…. HIGHEST SUBMISSION Submit Project DESCRIPTION Directions: A painting company has determined that for ev…
      • How do i program such a game using 2 dimensional lists . The purpose of this assignment is to develop a battleship game with the below instructions, the requirement of the game are defined as follows:…
      • would you please tell me how to do this works on JUPYTER and follow every instructions then tell me a code and screen short please.¬† student.dat file show on below image. ¬†Below have one example¬†. …
      • Problem Summary: Define a class named¬†Check_Annotation¬†that decorates a function, such that when the decorated function is called, the decorator class check ‘s the decorated function’ s annotation, …
      • def nested_loops(x, y): for i in range(1,x): result = 0 for j in range(1,y): sum = i+j result += sum print(result) nested_loops(5,3) ¬† can you explain how to trace the code outputs?
      • Extracting Data from JSON A Python program somewhat similar to¬†http://www.py4e.com/code3/json2.py. The program will prompt for a URL, read the JSON data from that URL using¬† urllib ¬†and then parse …
      • Need the exact output of this code of what they are asking for with the information given. Thank you. tests/1500s22/challenges/3-cost lome youtube e (TI HBO Max Cengage Home FSW Login @ Outlook cengag…
      • In our discussion of hacking‚Äźrelated security concerns, we saw how some forms of anonymous ¬†behavior in cyberspace can cause harm to others. ¬†What course of action would you recommend be ¬†taken i…
      • My professor says the answer to my code should be 2 but I am confused can someone help me once more, this is my second time asking for help and I feel so discouraged because I am not understanding the…
      • how can i access the 1.0, 2.0 and 2.0 in python any help please ([(‘show’, ‘qwaku’, 1.0), (‘amazing’, ‘koroba’, 2.0), (‘ijebu’, ‘kolo’ 2.0)])
      • This is Python Mar ¬†6 00:17:01 spcimages CRON[969861]: pam_unix(cron:session): session opened for user root by (uid=0) Mar ¬†6 00:17:02 spcimages CRON[969861]: pam_unix(cron:session): session closed …
      • Consider a set of n intervals I 1 ,…,I n , each given as an integer tuple (s i ,f i ) with s i <f i , such that the ith interval starts at s i and ends at f i . We want to determine the maximum n…
      • if x % 2 == 1: if x**3 != 27: x = x + 4 else : x = x / 1.5 else : if x <= 10: x = x * 2 else : x = x – 2 print (x) what does this code print if x == 6 what does¬†this code print if x == 3 what does…
      • a table that has two ends, cups are used to connect one end of the table to the other end connection1 has distance of 5, connection2 has distance of 8 using both brute force and backtracking,print bes…
      • There is a class that will be used which is located at https://github.com/gisalgs/geom/blob/master/point.py. Question 3. Use loops or list comprehension to create a list of points with coordinates ill…
      • Assuming that a list called nums is defined, the following statement will cause an IndexError ¬† num = nums[len(nums)] ¬† true or flase
      • Write a Python program that uses a for loop with the range function to display the integers from 5 to 50 in increments of 5. See page 132-134 to learn about the range function. The program should …
      • Are you able to explain what the following code is doing and what it means please?
      • only find the expression Find the Boolean expression for the circuit shown below and print the final column of the Boolean table as a python list. The input values for x, y and z are given below X D y…
      • I’m having trouble with the following. I’m not use to classes, and am not sure how to go about this. I have to keep in mind the guidelines. I will be running it through a tester. What is below is only…
      • Case: NoVACatalog NoVACatalog is a software catalog company that sells games and educational software. It has recently put together a revised collection of items in a new catalog, which it is prepa…
      • You are free to design and implement the program however you see fit. Here are some requirements that must be incorporated into your program. 1. You must display a welcome message when the program sta…
      • What is the assignment? ¬∑¬†¬†¬†¬†¬†¬†¬†To implement functions to build, evaluate, and print expressions using our (made-up) maybe-probably logic What to hand in? ¬† ¬∑¬†¬†¬†¬†¬†¬†¬†One (and only one)…
      • In the cell below is a list of tuples, where each tuple is of the form (year, name-of-hockey-team) or (int, str). The data contained in the list is of Stanley Cup winners since 1927. When you use shif…
      • Please look below, it contains monthly prices of a bond and a stock over a time period of ten years. I need to create data frame with discrete returns. Now run the following two trading strategies, ea…
      • 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…
      • How do I write a function that, Read in data from a file Split file data based on a given delimitter (i.e., the delimitter in a csv file is a ‘,’) Turn split string data into either integer (i.e., …
      • Please help me find the solution to this practice questions:
      • hello anyone! somebody please help me from part B , I am stuck on it. if you familiar with jupyter notebook , then you can help me. you have to use jupyter notebook. I have picture below also a link b…
      • Computer Science solve c only by the analysis of algorithms For this algorithm Algorithm 1 MYSTERIOUS-FUNCTION(n) Require: n EZ An S 94 if n > 94 then return n – 8 else return MYSTERIOUS-FUNCTION (…
      • 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…
      • FLODE Questions (x2)! Please only answer this if you know how to diagram in FLODE: 2: 0-N.flode X 2. 1. Count fr… x ? jpg Collapse Challenges Start 2. 1. Count from 0 to N Create a program that will…
      • Design an OOP System for an Elevator. Your design that you submit should at least 2 classes / entities that you would define. Tips: 1- Think of high-level abstraction of a behavior or functionality …
      • this program simulates the play of this game, with the following considerations: each player starts with $100. When a player loses, he/she must pay the other player $10. A tie results in no exchange o…
      • Implement a class SodaCan with methods getSurfaceArea() and getVolume() .¬†In the constructor, supply the height and radius of the can. 5 pts Surface Area = (2* pi * radius * height) + (2 …
      • Define a function that meets the following specifications. Function name bin_to_dec Parameter(s)/ This function takes in 1 parameter. argument(s) 1. A string object This string object consists of…
      • Can someone please review the pseudocode for the game I created for the 5-4 project one assignment? ¬† Page 1 of my presentation: ¬† ¬† this is page 2 of my presentation:. START in Courtyard INPUT…
      • Finish the program to compute how many gallons of paint are needed to cover the given square feet of walls. Assume 1 gallon can cover 350.0 square feet. So gallons = the square feet divided by 350.0. …
        • The question screenshot is attached down below: ¬†. 55 15 15 25 So basically, it’s easy: the formula course total – test/ – fest? tells us the exam score they need out of 40. This exam score is exa…
      • plz provide answers along with python codes 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 pa…
      • Design a program that asks the user to enter a store’s sales for each day of the week. The amounts must be stored in an array. Use a loop to calculate the total sales for the week and display the resu…
      • Hello, Can you please help with this problem? Thank You.¬†. Write a program that lets the user play the game of Rock, Paper, Scissors against the computer. The program should work as follows. 1. When …
      • Using the IDLE development environment, “create a” Python script named tryme3.py .” Write a” function in this file called nine_lines that uses a function called three_lines to print nine blank lines….
      • Please help with questions 9 and 10. 9. 10.. 9. Consider the following program. class Animal: def init (self, name) : self . name = name def speak(self) : print ("hi my name is", self. name)…
      • Pycharm Python¬† 1. Reverse the following tuple: ¬† ¬† ¬†aTuple = (10, 20, 30, 40, 50) 2. Access value ’20’ from the following tuple. ¬† ¬† ¬†aTuple = (“Orange”, [10, 20, 30], (5, 15, 25)) 3.¬†Create …
      • 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…
      • use python to solve this and also use NUMPY in that question and please do it ASAP Class Task . A new movie has just been released " Interstellar"! There are a lot of people at the cinema bo…
      • √Čcrivez une fonction Python r√©cursive appel√©e prodListePos_rec qui prendra comme param√®tre une liste et comme deuxi√®me param√®tre le nombre des √©l√©ments de la liste, et qui retournera le produi…
      • Task 2:¬† ¬† task 1 code:¬† import pandas as pd import numpy as np def load_mydata(filename): ¬† ¬†“””loads wanted data from wanted file””” ¬† ¬†data = pd.read_csv(filename,delimiter=’,’,quotechar=…
      • Thanks in advance for your help! Here is the link I am using:¬†https://www.zillow.com/homedetails/1986-Sandy-Point-Ln-Mount-Pleasant-SC-29466/92383730_zpid/ From the pictures below on the Zestimate Hi…
      • Hi, I’m getting item not found and not getting a fine amount when I run the below code — is there anything I’m missing in the code? # Author: Jeffrey Cho # Date: 10/14 # Description: A library simula…
      • Overview ¬† ¬† Scenario ¬† You have just joined a team of disease researches that are performing disease population simulations. This research team has spent a long time trying to discover new types o…
      • Link to jupyter notebook with data: https://drive.google.com/file/d/1_t6wR7aYLwGtall-vnO7e7dk0h4HKbD1/view?usp=sharing. Objectives: . Create an animated choropleth plot using plotly that analyzes COVI…
      • What will be the value of x after the following statement executes: x= 1+2*3-8/4
      • This is a Python script which calculates the Canada Child Benefit (ccb) for a family based on the number of children under the age of 6 and number of children aged 6-17 with an adjusted family net inc…
      • Please I need the pseudocode and python code of the below. Thanks for the help. 1. A program that contains a main function and a custom, void function named show_larger that takes two random integers …
      • First of all I need creating a class in the module. secondly I need to convert all the function into methods in the class. I need to make sure that I’m creating class that contain all prior functions….
      • Programming Language is PYTHON Code for the first pic: def single_trial(): ¬† ¬†num_rolls = 0 ¬† ¬†while True: ¬† ¬† ¬† ¬†num_rolls = num_rolls + 1 ¬† ¬† ¬† ¬†die_roll = randint(1, 7) # fair die roll …
      • CVS: https://drive.google.com/file/d/17lYpW6Ymc_7_PfHYUq0tqo-nzBI58Jbu/view?usp=sharing ¬† Curious about how to solve part 3. How to do with python? I’ve already done part 1 so dont need help on it bu…
      • Make use of the alpha vantage module to download the prices of stock ticker (‘MS’) from 2015-01-01 to 2020-12-31.
      • . 6 Question 19 (Algorithmic problem) Marks Write a recursive function to count the number of words in a sentence. Multiple empty spaces can appear at any location in the sentence, see the first exa…
      • Given a dictionary person, use the helper function to add some extra information about the person to the dictionary and then write the dictionary to a json file. After writing the dictionary to the js…
      • We are using python as a program. I’ve gone through some stuff but I want some references from other tutors and people. Thanks.. Nine of Hearts ii. get_rank(self) Ace of Spades . Description: Return t…
      • Define function with a minimum number of required positional arguments a. Implement a function, average, to calculate the average of a given series of numbers. b. Implement a function, stdev, to calcu…
      • webapps/assessment/take/launch.jsp?course_assessment_id=_289318_1&course_id=_356060_1&content_id=_11695012_1&step=null + Remaining Time: 2 hours, 14 minutes, 48 seconds. Question Completio…
      • The speeding penalties in Ontario are as follows: Set Fines (Per Kilometre) 1-19 $ 6.50 – 20-34 $ 9.25 – 35-49 $ 15.00 ¬† – 150 + $45.00 Ask the user to enter the speed limit and his recorded speed. Y…
      • Python ¬† Driving is expensive. Write a program with a car’s miles/gallon and gas dollars/gallon (both floats) as input, and output the gas cost for 10 miles, 50 miles, and 400 miles. Output each floa…
      • he Python for loop allows traversal of built-in data structures (strings, lists, tuple, etc) by an iterator . To accomplish this with our¬† data structures we need to include an __iter__¬†method (e.g….
      • Question Have there been moments in which you felt that your language or another language “got in the way” of something you wanted to accomplish? That is, have you “bumped into a language’s boundaries…
      • In a program, display a function that accepts two arguments: a list of 3 random numbers between 0 and 100, and a number n equal to 50. The function should display all of the numbers in the list that a…
      • please help with this in python3: Let Months.txt file contain the info below. Make a Python program to convert the numbers to the closest integers (60.9 becomes 70, 81.2 becomes 81 etc) right next to …
      • Given a list of users, I need to create a function, that returns all of user’s names and roles in a string with each value labeled. For example: users = [ { ‘name’ : ‘Homer’ , ‘role’ : ‘Clerk’ , ‘dob’…
      • Need help in coding this question: Raj is a newbie to the programming and while learning the programming language he came to know the following rules: Each program must start with¬†{¬†and end with¬†}….
      • RESTRICTIONS, PLEASE READ: Do it on python and do not add any imports.Do not use try-except statements. def find_email(s: str) -> str: ¬† ¬†“”” ¬† ¬†Given a string <s>, return the email that …
      • Can you help me fix this error?¬† I put the instructions for reference.¬† import requests from lxml import html url = ‘https://www.cisa.gov/uscert/ncas/alerts/2021’ doc = html.fromstring(requests.get(…
      • how can we implement unordered list class OrderedList: def __init__(self) : self. head = None def add(self, item) : current = self. head def search(self, item) : previous = None current = self.head st…
      • Design a recursive function that accepts two arguments into the parameters x and y. The function should return the value of x times y. Remember, multiplication can be performed as repeated addition as…
      • what are Importance of Coding Standards in an Organisation and as an Individual?
      • Can I get help writing a small python ‘personal tracker program’ that allows users to manage personal finances and keep track of their daily expenses and help them monitor their budget. User registrat…
      • I have this dataset which is a subset of the Palmer penguins dataset. I know the labels of the dataframe below, accessible via a variable called df, are identifiers of each penguin observed.¬† import …
      • Urgent!! Please help! Easy number Question, please help!!. Consider the list L1 = [30, 10, 50, 40, 0, 60, 70]. L1 is being sorted using bubble sort. Two passes have already been completed. The followi…
      • i need help with this practice question please. thank you.. The ‘Prefix of 3’ is the first 3 characters of a string, and the ‘Suffix of 3’ is the last 3 characters of a string. Given a string input, o…
      • Write a program that computes the average of a collection of values entered by the user. The user will enter 0 as a sentinel value to indicate that no further values will be provided. Your program sho…
      • I Have a words.txt file Making it as a dictionary. How do we read a txt file into a dictionary? in python
      • Hello Experts, I have created below program but somehow i am unable to achieve 2 things : My requirement in below program is to add step 1.. What is your name ? and after program meeting yes or n inpu…
      • Problem 1: TuitionIncrease At one college, the tuition for a full-time student is $8,000 per semester. It has been announced that the tuition will increase by 3 percent each year for the next 5 years….
      • This exercise considers the game of¬† tic-tac-toe ¬†(also known as¬† naughts-and-crosses ). We will represent the state at any point of the game by a two dimensional array (a¬†listof¬†lists). Each ent…
      • Write def ¬†for a function called get_name_email ¬†that takes, as its parameter, a single line of text, and returns two values (separated by a comma) representing the name, and the e-mail address asso…
      • How can you implement the Fleury’s algorithm and Prim’s algorithm based on your pseudo code (variables must be matched to your pseudo code). The algorithms must be implemented in python. ¬†Thank you.
      • How would you open a file named ‘data.bytes’ to which you wanted to write a stream of bytes?
      • Can you please help with LINUX OS? The terminal window wants to evaluate your current¬† bash ¬†knowledge by using the ¬†~/workspace/nested-directories¬†folder: cd¬†into the¬†nested-directories/nested-…
      • what will be the value of ‘x’ when the following statement is executed: x=int(98.6)
      • I need help fixing my code please. The function read tsv file is not working correctly. This function should return a list of lists, with each list having three items, instead when it runs it gives me…
      • what does question 1 and question 2 mean 1. Suppose we roll two dice 10 times. We denote the value of sum of faces as X, and denote the observed values of each trial as x_1, x_2, …X_10. Which of the…
      • from xml.etree import ElementTree as ET import requests ¬† lst = [‘79045180’, ‘76450254’] def Balance_Query_response(num): ¬†¬†¬†¬†data = ”’ ¬†¬†¬† <soapenv:Envelope xmlns:soapenv= http://schemas….
      • . Mean Define a function called calc_mean . This function should accept one input parameter named numbers , that will be a list of numbers of length 2 1. This function should calculate the arithm…
      • *Write a function dec_to_bin(n) that takes a non-negative integer n and uses recursion to convert it from decimal to binary – constructing and returning a string version of the binary representation o…
      • having trouble getting # and % of commendation. Below is code I finished just missing at bottom. picture at very bottom is my out put with the missing section. def main(): ¬†¬†fil_inp_stu = open(“stud…
      • 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…
      • I’ve been trying to solve this problem for a while now, but couldn’t get it right. If someone could help it would be much appreciated. 2 Position in a text In this task we consider the problem of dete…
      • kindly no chegg Start Jupyter Notebooks server 2. Open Jupyter Notebooks in a browser 3. Upload required files( link below; incef) into the Files area of your Jupyter Notebook 4. Follow along in the c…
      • 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 secondary group called dev created…
      • Develop a stack application that can convert Postfix notation to Infix notation using the following algorithm. In your stack application, you can use only two stacks, one for a stack that can store Po…
      • Please help with this program Final Assignment Instructions Your program is going to compare the distinct salaries of two individuals for the last 5 years. If the salary for the two individual for a p…
      • txt sap sat sad rat rap ram rag nap Nat mat map mad lap lag lad fat fan fad fin fit lid lip lit mid mitt nit nip rid rig rim rip Sid sin sip log mom mop nod rod Ron rot sod fun mud mum nut ru…
      • w rite a function¬† x(n) ¬†for computing an element in the sequence y=2*n+3. Call the function for¬†n=4¬†and write out the result.
      • Link to data set: https://drive.google.com/file/d/1kuV4ByYOnuC8CRX25vuTB-iuIqbd-zWV/view?usp=sharing Using multicollinearity in python, what does influence university ranking & which factors to dr…
      • Describe how¬† catching exceptions ¬†can help with¬† file errors . Write five Python examples that actually generate file errors on your computer and catch the errors with¬†try: except:¬†blocks. Inclu…
      • [11 Page view Read aloud [:1 Addtext ‚ÄĒ Highlight A company sells custom canvases to painters by the square foot. They will create the canvases for you. You only need to tell them the dimensions of t…
      • 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. …
      • Use python¬† create ¬†login screen page with sign up and forget password
      • Question 5.2. In math, the word “alternating” is sometimes used to indicate that the signs of the elements of a sequence oscillate back and forth between positive and negative. Complete the implementa…
      • Create board.py, person.py for the below requirement You have to write a python program that simulates a basic version of Bomberman with different set of rules. You are responsible for destroying enem…
      • I have used a Hypergraph package in Python to build a node/edge size distribution. My question is how can I add a “label=i” argument into my code so that I can specifically find out which of the dots …
      • I need help with figuring out this assignment please¬† def decimal_module(): ¬† ¬†## Decimal Module ¬† ¬†#print(“##### DECIMAL MODULE #####”) ¬† ¬†from decimal import Decimal ¬† ¬†from decimal import …
      • Discussion Points 1 500 word or more Lists and arrays can be valuable tools for the programmer. 1. Provide an example of a ‘list’ and explain how it would be used as part of a problem solution. 2….
      • Hi, here is my code. I am wondering how I can make my program produce more than 1 of the barcode strings. as you can see I type in the letter A which has the value of 0 1 (look at the symbol_to_…
      • Classify the causes of error (nine causes) according to the groups responsible for the error: the client’s staff, the systems analysts, the programmers, the testing staff – or is it a shared respon…
      • Please answer the following question based on the instructions (using logical steps and creating a pseudocode flowchart). Thank you.. 7. The school buys pizza every day during week2. Every day they se…
      • There are four errors in the following program that will prevent it from running as intended. For each error, state what the error is and give the correct Python statement. 1 %%sim_magic -b Coloured_b…
      • a program can read in text from the keyboard until an exclamation mark (‘!’) is found. (Note that the exclamation mark might¬† not be on the first line of input. It might be many lines down!)Using a l…
      • can you fix the errors on this program ? and please no errors please “”” Program: filesys.py Author:Ken Provides a menu-driven tool for navigating a file system and gathering information on files. “””…
      • This code must be incomplete because just keeps asking me if I want to play without playing over and over.. while True: ChoiceX=Playerx( ‘X’, Board) UpdateBoard(Board, ‘X’, Choicex) DrawBoard ( Board …
      • Land Calculation One acre of land is equivalent to 43,560 square feet. show program that asks the user to enter the total square feet in a tract of land and calculates the number of acres in the …
      • I am not sure how to code for conditional gradient method in python. So i would like if someone is able to teach me how to code. To answer the following question, write a computer code to implement th…
      • 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 …
      • A function named¬† buildingLatLong_ ¬† returns a (latitude, longitude) tuple for any building id in¬† umich_buildings . You will need to iterate through each list element, then for each list element c…
      • Hello, I need help solving this Lab simulation, It uses While loop: Insect growth for loops statements and I am very new at python on so I need help solving it. It is very difficult. It is very confus…
      • I need help creating a python 3.6 code. thank you! ūüôā these are the string texts that must be used this is the starter code that must be used ~ Assignment Overview Lists Assignment Purpose Countries a…
      • This assignment is to be completed individually and must be submitted to Blackboard for grading. You should read through the entire assignment and then sketch out a plan BEFORE beginning to code. Writ…
      • Function Name: cotteeBreakt) Parameters: list of drinks ( list ), budget ( float ) Returns: name of drink ( str] Description: Write a function that takes in a list of drinks and the amount of money yo…
      • Part 1:¬† Using the standard data partitioning, partition the follwoing financial fraud dataset into training and testing. ¬† Charges? Size Outcome Y small truthful N large truthful N large fraud N sm…
      • How would I break this into 4 separate classes in Python? ¬† ¬† WORDS = [ ¬† ¬† ‘POTATO’, ‘CHEESE’, ‘HERTZ’, ‘BULKY’, ‘APPLE’, ‘ABSENT’, ¬† ¬† ‘MAGNETIC’, ‘SPECTRUM’, ‘BYTES’, ‘SLOW’, ‘VERIFY’ ] class…
      • Write a function second_smallest(numbers) that given a list of numbers returns the second smallest number. Note : assume that the list has at least two distinct elements. For example: Test Result prin…
      • i need python code for part 1 which i can copy paste on my ide¬† ¬† ¬†. Write the python code to complete the Following. Submit by copying the CODE into the answer part. If your code does not compile …
      • txt file :¬† a aa aaa aachen aardvark aardvarks aardwolf aardwolves aarhus aaron aaronic aaronical aasvogel aasvogels ab aba ababa abac abaca abacas abaci aback abacs abactinal abactinally abactor aba…
      • # q7 – create function openAndReturnFML() to meet the conditions below # ¬† ¬†– accept 1 parameter; 1 string (name of a file)¬† # ¬† ¬†– add a docstring # ¬† ¬†– the file will contain an unknown odd n…
      • please help in python juypter only ¬† ¬† ¬†¬† You can download the csv file from the page, or use the pandas_datareader to load the daily data of 2019-2020 into dataframe for VANGUARD ETF link to stoc…
      • RUN THE PROGRAM and show the output please¬† so I can copy and paste¬†. (35%) Consider the circuit below: The following is known: R1 = R2 = R4 = 10, R5 = 50, V1 = 5V and V2 = 6V Assuming the current d…
      • Do NOT copy and paste the answer to this question that is already on the site. It doesn’t work. I keep having to ask this question over and over as every just copies and pastes an answer I can’t use.?…
      • In python In [2]: from jupyter_plotly_dash import JupyterDash import dash_core_components as dcc import dash_html_components as html import dash from dash. dependencies import Input, Output from pymon…
      • (Find the two highest scores) Write a program that prompts the user to enter the number of students and each student’s score, and displays the highest score and second highest scores. For this problem…
      • Please write original code do not use code from elsewhere or code that you have given to someone else. ¬† Use Turtle Graphics. ¬† Ex. t.forward(n) makes the turtle go forward n units ¬† ¬† ¬† t.left(n…
      • Write a complete Python program that uses Turtle graphics to draw any two lines that cross at a right angle.
      • And it asks to submit like this: Please show step by step how I can complete the setup part and do the commands and everything else! Thanks
      • Which of the methods below is a constructor? Group of answer choices __del__(self) __constructor__(self) __init(self)__ constructor(self) Which of the following statements about Python is true? Group …
      • . . Mr. Y borrows $100,000 from a bank and another $100,000 from the maÔ¨Āa for some “business” venture. The bank charges him 5% interest, annually. The maÔ¨Āa charges him 10% interest, compound…
      • I’m having an issue with my counter. Every time I hit next line; I want my currProcessLine to increment by 1 but I can’t seem to get it. ¬†This program is using python and the tkinter library. ¬† from…
      • Use scikit-learn to load the breast cancer wisconsin dataset, and convert it into a¬†TensorDataset¬†and then split it into 80% for training and 20% for testing. Try to build your own classification ne…
      • This is a python question: For the pdf of the question: https://drive.google.com/file/d/1CHHbcQsvWqQE0jrmQoi3zHBS5xQDVBv2/view?usp=drivesdk The txt necessarry: https://drive.google.com/file/d/1DCGw4T0…
      • write a neural network in (pure) python and train with the the data to later make a prediction here is my data: # A input data ai =[0, 0, 1, 1, 0, 0, ¬† 0, 1, 0, 0, 1, 0, ¬† 1, 1, 1, 1, 1, 1, ¬† 1, 0,…
        • Suppose that the true relationship between X and Y is a straight line. Consider the training error metrics for both the simple regression model as well as the regression model including higher orde…
      • Look at the code below: ¬† x = {1, 1, 3, 6, 7} y = {1, 3, 4, 5} print(list(x ^ y)) What will the output be?¬† What data type is x? (dict, list, set, tuple)
      • Questions in the attachments. Question 3 In Pennsylvania, 6,165,478 people voted in the 2016 Presidential election. Trump received 48.18% of the vote and Clinton recieved 47.46%. This doesn’t add up t…
      • In python Programming use turtle graphics to design below structure
      • I have been stuck with the programming, and the following is my codes: ¬† def finding_treasure(m, n): ¬†¬†count = 0 ¬†¬†list = [] ¬†¬†list2 = [] ¬†¬†for i in range(m): ¬†¬†¬†¬†for k in range(n): ¬†…
      • Please help me in solving these 6 functions song_as_dict ,change_notes,random_song and find_note
      • . Modify the Dice Poker program from this chapter to include any or all of the following features: a) Splash Screen. When the program first fires up, have it print a short introductory message about t…
      • any ideas for solve this question? A region of underground pollution is called a plume because it is shaped like a plume of smoke. A map of plume from a leaking storage tank is illustrated in the Figu…
      • write python program that prints out the lengths of the edges of all right-angle triangles whose lengths of all edges are less than 50.
      • Research the techniques used in developing small-size applications
      • Using a both a for (for within a for) and a while (while within a while) nested loop, read the dimensional array below: aList = [[“Red”,”Blue”,”Green”],[“Cup”,”Plate”,”Bowl”],[“Large”,”Med”,”Small”]] …
      • 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…
      • How do I compare 2 lists to see if they are equal? For example given these 2 lists: initial_arrangement_1 = [[“A”, “B”, “C”], [“D”, “E”]] goal_arrangement_1 = [[“A”, “C”], [“D”, “E”, “B”]]¬† In python…
      • Question 1.1: ¬† We will be implementing various functions related to the MOBA (Multiplayer Online Battle Arena) game Dota 2. Dota 2 is a hero-based game where players can choose from over 100 diverse…
      • [ Coding ] Use the Naive Bayes Classifier to implement a spam filter that learns word spam probabilities from our pre-labeled training data and then predicts the label (ham or spam) of a set of emails…
      • The following database project will create educational attainment “demand” forecast for the state of California for years greater than 2010. The demand forecast is the expected number of population wh…
      • My entire question is attached: number four¬† Create a function called morseCode which expects no parameters. This function will get its input entirely from the keyboard. The purpose of the function i…
      • . 1. _ 1Write a python program that graphs the currents i1, i2 and voltage across C [W] for It] seconds for the following RLC network: Notes: i. You must write your system ofdiiferenÔ¨Āal equations …
      • Below is Program11.txt New York Mets Minnesota Twins Los Angeles Dodgers Oakland Athletics Cincinnati Reds Minnesota Twins Toronto Blue Jays Toronto Blue Jays Atlanta Braves New York Yankees Florida M…
      • Answer the Following questions use python jupyter notebook What was the percent increase in value from Jan 2009 to Jan 2019? What was the percentage decrease from Jan 2008 to Jan 2009? What was the va…
      • . Classes You will have to implement a simple class for this assignment with adding some methods and attributes to the class. Class Requirements: You will need to define class Store that will includ…
      • Create a Python GUI calculator for my project. Acceptable submission guidelines:. 1. The program shall be Industry Realistic – like it can really be applied in a real world scenario not just a program…
      • a projectile (such as a golf ball) launched at a specified angle ūĚúÉ and velocity ūĚĎ£ on perfectly level ground, as shown below: ¬† If we ignore air resistance, as well as the curvature and rotation…
      • I am tasked wit creating a simple web page and reading in some user input from the HTML page. The web server is built using python, flask, and html. The user needs to be able to submit data for 2 text…
      • 9¬†LAB: Car value (classes) Complete the¬†Car¬†class by creating an attribute purchase_price (type int) and the method print_info() that outputs the car’s information. Ex: If the input is: 2011 1800…
      • I don’t understand these. Please have some comments/ explanation between the lines of codes and not just the codes. 25. Make a list of the unique letters used in a sentence. That is, if the letter &qu…
      • Please provide reasoning for each question below, Thank you!! 1. What will be the output of the following Python code? def mk(x): ¬†¬†def mk1(): ¬†¬†¬†¬†print(“Decorated”) ¬†¬†¬†¬†x() ¬†¬†return mk1 d…
      • 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”.
      • You are free to design and implement the program however you see fit. Here are some requirements that must be incorporated into your program. 1. You must display a welcome message when the program sta…
      • Please can you help me code flow statement using if and else for me in Python code? Last tutor wrote it in Java so please please write in Python. Thank you in advance!
      • You are going to create the classes for an online shopping cart.¬† Part 1:¬† 1. Create an ItemToPurchase class.¬† a. An ItemToPurchase should be initialized with a name (string), and a price¬† (float)…
      • Design a program that lets the user enter the highest local temperature for each day of the week (7 days). The program should calculate and display the total average temperature for the week, as well …
      • The NWSD function takes two arguments: the first in an int (name it n) and the second is a set of positive ints (so, it cannot contain 0; name it s). NWDS returns an int computing the Number of Ways t…
      • What is this. What would the following code output (hint: this is the entire program). def shimmy () : print ("Take one step to the right and stomp") print ("Take one step to the left a…
      • Prompt the user to input an integer between 0 and 155, a float, a character, and a string, storing each into separate variables. Then, output those four values on a single line separated by a space. E…
      • . M Module Two Lesson Fiv X CO Module Two Lesson Five X SamOla ModuleTwoles X G 2.51 – BooleanString Me X C 2.51 – BooleanStringMe x * U1M1A1.8 -.ipynb- Col x + X colab.research.google.com/drive/ 1f…
        • Extend the code¬†to support the path name layer. In particular, extend the FileName() class with these two methods: def PathToInodeNumber(self, path, dir): This supports lookups for a path name, wi…
      • Write a program to take ice cream orders for the Quad Ice Cream shop. Pricing for the Ice cream orders are per scoop of ice cream. If a customer orders one or two scoops of ice cream the regular price…
      • I have Chosen Tkinter GUI For the Table please make for 5 different GUIS Research and prepare a report that evaluates three to five open source Graphical User Interface (GUI) libraries.¬†Based on your…
      • Please Solve in python and add docstrings.. Write a Python program that inputs a word and a justification then, using nested loops, displays a pattern based on the letters in that word as shown in the…
      • Tic-Tac-Toe is a very simple game involving a 3×3 grid, where players take turns, attempting to place 3 of their marks in a row, either vertically, horizontally, or diagonally (see the link for detail…
      • I have this excel file (.csv file) and I want to use python to answer questions with it. 1.) Use pandas to read Excel1.csv file to a DataFrame named “df0” and show the results of “df0” 2.) Sort the “d…
      • Complete the following code cell with writing two classes called Square and Rectangle which override the area method in Polygon that is responsible for calculating and printing the area of the object?…
      • . Problem Statement Returns whether there exists a path in t where all nodes share the same label. >>> a11_+ives = Tree(5, [Tree(5), Tree(5, [Tree(5)])]) )>> chain(all_fives} True )&g…
      • I am struggling with class, please help me with it. All instructions are in photos. Please let me know if you have any more questions Those are supported codes in python: graphics.py: import tkinter i…
      • Hi, python turtle question, pls see if can help .Thank you Question 3: Acceleration View PastAnswers I The turtle faces right initially. The Ô¨Ārst line segment is 1t] units No past answers. long. fol…
      • Write a program that accepts a sentence and calculate the number of letters and digits. Suppose the following input is supplied to the program: hello world! 123 Then, the output should be: LETTERS 10 …
      • I’m having trouble defining this function. How exactly would I go about this. Would I use a loop or for loop?
      • You will be given a number of datafiles containing inputs of different lengths. Each file will contain a number of lines. Each line will represent inputs from a deployment. The program you must write …
      • what is the answer What would be the output of the following program? def fox (kk) : if (kk < 1) : return 2 elif (kk < 2): return 8 elif (kk < 3): return 3 elif (kk < 4): return 7 elif (kk…
      • Hi, for the following code, is it necessary to have # self, or can I just use normal self? ¬† class LibraryItem: “””Represents the library item id and title””” def __init__(self, library_id_code, titl…
      • Please help me complete this very soon. This class above all else has killed me. It’s exam week for all my other classes :(. CS 1110 ‚ÄĒ Final Project: gamepy 1 Overview Your task is to use Python and…
      • . Assessment, Part 1: Read the "Rh_CN4-molecules.csy" and "Co_CN4- molecules.csv" data sets, analyse the bond angles and plot the distributions. 1. Using Python, read the data fr…
      • my function program is asking to neter the number twice. I need to prevent it. The out must be ” Asking the User to a number o ly one time and the sqaring of number” def getValue () : ¬† ¬† val = int(…
      • what phase you think a UML activity diagram should be created. Phase 1 Systems Planning Phase 2 System Analysis Phase 3 ¬†Systems Design Phase 4 ¬†Systems Implementation Phase 5 ¬†System Support and S…
      • Write a program to find the position of a word in the given string
      • (Poker Hands) Compose a program pokerhands.py that takes an integer command-line argument n and writes n poker hands (five cards each) from a shuffled deck, separated by blank lines.
      • Only concered with dataset 1 in the question. I need assistance creating the time serise plot, that only pulls out the data from Johnson & Johnson (JNJ) and Exxon Mobil (XOM)¬†. I believe I need t…
      • Could You help me get the code for this started?¬† The 28×28 Images: ¬† Reference: https://www.analyticsvidhya.com/blog/2021/03/grayscale-and-rgb-format-for-storing-images/ https://docs.python.org/3/t…
      • Hi, use this code ** https://github.com/CS1003-Fall-2021/lab-5-3728696CS1003.git ** in Python to Get from VCS and complete the coding, please. Items.csv file Complete To do with info given IGNORE THE …
      • def reverse_list (l): ¬†n = len(l) ¬† ¬†for i in range(n//2): ¬†¬†l[i],l[n – i – 1] = l[n – i – 1],l[i] ¬†¬†¬† ¬†return l reverse_list([0,1,2,3,4,5]) **** def log_base_2 (n): ¬†¬†if n < 0: return “…
      • Problem: A company wants a program that will calculate the weekly paycheck for an employee based on how many hours they worked. For this company, an employee earns $20 an hour for the first 40 hours t…
      • A common pre-processing technique in text analytics is to remove stopwords (e.g., “a”, “an”, “the”, etc.) from text. However, your friend, an expert in user generated content analytics mentioned: “It …
      • def where_above (lst, limit) : “”” where_above behaves like table.where(column, are.above(limit)). The analogy is completed if you think of a column of a table as a list and return the filtered column…
      • Compressed Sparse Row Format ¬† This format tries to compress the sparse matrix further compared to COO format. Suppose you have the following coordinate representation of a sparse matrix where you so…
      • Refer to the AsyncIO TCP Echo Client / Servier ExampleLinks to an external site. . (note default latest Python 3). Also refer to the start_server documentationLinks to an external site. (and note the …
      • python¬†. Review the requirements for the Vector valuetype from Exercise 5 (given in the Appendix). You are to improve on your initial code by implementing a number of Python’s so called "dund…
      • Write loop with if-statement(s) nested inside, to place the students IDnumber (from 1 to 18) to groups of three (e.g. Students with ID numbers 1,7 and 13 go into one group, ID numbers 2,8 and 14 go in…
      • 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 …
      • In regards to Python programming, what are some methods that will aid secure the data-in-transit and at-rest? Also, what are some examples?
      • using Microsoft Visual Studio Create the 3 Drilldown reports in the SSRS Project located in the Introduction to SSRS Architecture Section. Sales by Month Drilldown Sales by Territory Drilldown Sales b…
      • CP1401 – CP5639 Problem Solving and Programming SP23 2019 ‚ÄĒ Assessment 2 Implementation Cal the Calorie Intake Assistant v2.0 Task: You are to implement (code in Python) the calorie intake assistan…
      • you must implement a minimum of eight functions, and at least two functions must be from the list of Complex Functions. Assuming restrictions are followed. Simple Functions RESTRICTION: You may not us…
      • USE PYTHON¬† There is no “Company file” needed for number 5 No other references needed just basic python ¬† Note: The “company file” is just a generic name for the file. The file itself isn’t required…
      • I am stuck with this python question, I want to write a code that makes a generator that yields all the prime factors of n. The prime factors are in ascending order with factors repeated as necessary….
      • What are some common issues with text analysis and visualization?
      • please reply within 10 min Write a Python program to find the area of an ellipse using classes. Take the value of side a and side b from the user. – Create a class and using a constructor initialise v…
      • Write a trivia program. This program will ask the user 5 questions. After each question the user answers and the program will indicate whether it was right or wrong. After all 5 questions the computer…
      • Programming with Python Assignment 7 ‚ÄĒ Files, Parsing, Dictionaries This assignment has one problem. Name your program like: LastnameFirstnameAsn7.py and have your program’s first comment like: # F…
      • Draw the Flowcharts that represent the pseudocode for the two modules given below.¬† Pseudocode: ¬†¬† accumulateNums() ¬†¬†¬†¬†¬† // accumulate how many of each number was rolled ¬†¬†¬†¬†¬† // by both…
      • Transform the Elephant! ¬†(using python on jupyter notebook) ¬† This project relates to the classroom material on tranformations, but also gets you a little acquainted with 3D tessellated meshes. Read…
      • I’m having difficulty defining the below function. I’m not sure how exactly to go about it. How would I go about the code?
      • Question 1 Given the following 2 dictionaries, find the total number of views then create a¬† new dictionary called¬†summary_data¬†and print the dictionary. baby_by_bieber = { ¬†¬†‘views’: 5600 } yell…
      • Write it in python packages. 4.5 In Example 4.3, we wrote a program to evaluate the function f(x, y) for any two user-specified values x and y, where the function f(x, y) was defined as follows. x+y x…
      • In this lab, we will utilize many concepts covered in the course so far including: – Inheritance and Polymorphism – Implementing and applying the Heap data structure as a priority queue . Defining and…
      • If all digits of a number n are multiplied by each other repeating with the product, the one digit number obtained at last is called the multiplicative digital root of n. The number of times digits ne…
      • PumpIt Power Gyms is a franchise chain of 24-hour gyms that operate across the country. Franchisees run and operate each of the gyms and the franchisor supports the ongoing operation through collectiv…
      • THIS ASSIGNMENT IS TO BE COMPLETED INDIVIDUALLY AND MUST BE SUBMITTED TO BLACKBOARD FOR GRADING. You should read through the entire assignment and then sketch out a plan BEFORE beginning to code. Subm…
      • Invent your own function that does some useful computation of your choosing. Do not copy the function from somewhere else . Use incremental development, and record each stage of the development proces…
      • My code isn’t working. This is the unedited version without my additions. I need to define these rules of Chinese BlackJack (I found the rules on Wilkipedia): All hands including the dealer must reach…
      • . Home Hand trace the following program. Syllabus INPUT: Modules lime raspberry Announcements apple raspberry Grades DISCONTINUE Honorlock 1.3 def calc_solitack (itemtype) : mylist = while True: new…
      • . 3. Collect the stock price for Tesla (NASDAQ: TSLA) for the past 30 days. (a) Plot the data (date vs. stock price) (b) Implement the stochastic gradient descent algorithm to fit a linear regressio…
      • Please answer the following and provide the python screenshots. Thank you. Safari File Edit View History Bookmarks Develop Window Help [()) 20% Sun 1:59:02 AM Q E .. . h datahub.ucsd.edu ABP Home Page…
      • Question 1 :¬† OMDB_API_KEY = ‘f2cbd864’ the OMDB link: http://www.omdbapi.com/?i=tt3896198&apikey=f2cbd864& ¬† Define the function getOMDBData that accepts a title and calls the OMDB API (des…
      • Working with Scikit-learn Datasets. [ Dataset:- ____https://drive.google.com/file/d/1iYZ2ncB9WckhIMz_BeCLfI1IKM0IFWGG/view?usp=sharing ] Question :- Working with Scikit-learn Datasets Load digits data…
      • Python programming (the code is at the end) Please, I need your help with this. I must follow the instructions below: Modify your “planets” and work with files and strings. Four input data files are g…
      • Task 5 7 Create the function firstLastSumList which accepts any three 1D numeric lists of the same length and returns a new list which contains the sum of the first and last indices of each list as el…
      • Define a class Person and its two child classes: Male and Female. All classes have a method/function: “getGender” which can print “Male” for Male object and “Female” for Female object. Hints: -Use inh…
      • NEED HELP IMPLEMENTING THE FUNCTIONS IN THIS CLASS (DOCSTRING EXPLAINS REQUIREMENTS): import random ¬† class BootstrapResampling(): ¬† ¬† “”” This class implements the non-parametric bootstrap resampl…
      • Python 1)Create 2 level target same as the one created in CannonShot, on the opposite wall to the y axis. After each shot, the target should be move on the wall to another location selected randomly. …
      • A program that fills a list with passwords input by the user. (while loop) print the list of passwords using a for loop compare each of the passwords in the list with a single string entered by the us…
      • Use the chosen value of őľ ¬†to train the Naive Bayes Classifier on all of the training data. Test on all of the testing data and print the accuracy, sensitivity (hit rate), and (1-specificity) (false…
      • Everything is put together. Needing help with the Python Code. #7 in the list. TASK: Your task is as follows: (1) Place SN74LS02N (NOR Gate IC) in the breadboard;¬†(2) Connect IC pin 7 to GND and IC p…
      • Can someone explain this line by line, like what # does and like those things. def main(): file = open("standing.txt", "w") students = read_file("students.txt", ",&q…
      • Design a class that holds the following employee data: ‚óč ¬† ¬† Employee name ‚óč ¬† ¬† Employee ID number ‚óč ¬† ¬† Shift number (1, 2 or 3) ‚óč ¬† ¬† Hourly pay rate ¬† ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† Write…
      • I need to re-enter the courseOption loop instead of being stuck in the option I select, after I make an entry. How do I re-enter loop after entry? For python coursesList =[] courseOption = input(“Ente…
      • . Write a function solution that, given an array A consisting of N integers, returns the number of fragments of A whose sum equals 0 (that is, pairs (P, Q) such that P < Q and the sum A[P] + A[P+…
      • What TWO different python programs would create new list of tuples by replacing the second element in each tuple in the given list by 100. Given my_lst = [(10, 20, 40, 70, 80), (40, 50, 60), (70, 80, …
      • I have a file that I have to use ¬†name Test.txt and it contains a sequence that I need python to read. How do I have python ¬†read the file and use the sequence in the file to find if ¬†AT ¬†repeats …
      • Using Python, create one chart with four separate lines, one line for each of Q1, Q2, Q3, and Q4. In Python, this can be achieved by adding columns for quarter and year. Then group the data frame by q…
      • This program will store roster and rating information for a soccer team. Coaches rate players during tryouts to ensure a balanced team. (1) Prompt the user to input five pairs of numbers: A player’s j…
      • Implement the function is_minheap which takes a list of numbers and returns True if the list represents a valid min-heap, and False otherwise. Assume that the list represents the contents of a complet…
      • The file city-scores.csv¬† contains a dataset of cities and their associated quality of life scores. Each city has six¬† quality of life metric scores: Housing, Cost_Of_Living, Commute, Safety,¬† Heal…
      • Why is my calculated result showing in [ ] for numbers? How can I correct it? See line 6 for example Welcome to 1040 EZ Tax Form Application OWNO’DUI-waNl‚ÄĒl r‚ÄĒw‚ÄĒi P s- . Wages, salaries and ti…
      • using pandas, matplotlib. Create a line plot showing the number of marriages and divorces per capita in the U.S. between 1867 and 2014. Label both lines and show the legend. Don’t forget to label your…
      • Please read the question carefully first then answer I need fully functional code for it thanks. copy and paste the following link in google you will get the files from which you have to solve this qu…
      • 12¬†LAB: Interstate highway numbers Primary U.S. interstate highways are numbered 1-99. Odd numbers (like the 5 or 95) go north/south, and evens (like the 10 or 90) go east/west. Auxiliary highways …
      • 16 LAB: Interstate highway numbers ¬† Primary U.S. interstate highways are numbered 1-99. Odd numbers (like the 5 or 95) go north/south, and evens (like the 10 or 90) go east/west. Auxiliary highway…
      • 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…
      • PLEASE CORRECT ALL THE CODING OF PYTHON BLACKJACK. PLEASE COMPLETE AS THEY SAID IN PICTURE. #Blackjack Game¬† #Started 2.7.14 #Finished 2.10.14 #Blackjack Game¬† import random #Classes class Card(obje…
      • I typed this code out, https://www.coursehero.com/u/file/55719085/crapsguipy/#/doc/qa , and it gave me “CrapsGUI” is not defined, how would I fix this?
      • pls solve question 4 . ¬† ¬†. Q3: module choco_module. py (5 pts) Here, we’ll move your functions from Part 1 into our choco_module. py module and get that module all ready to go! choco_module . py ha…
      • Not sure how to get started on this question. H Exercise 3.3. (Estimator #1: non‚ÄĒparametric) The simplest viva}.r to esti‚ÄĒ mate the net premilmi 11(R) is to use an empirical estimator of (2) given…
        • Counting the frequency of Words write function named¬†word_distribution¬†that takes a string as an input and returns a dictionary containing the frequency of each word in the text. Your function sh…
      • The Questions are of STATISTICS ¬†FOR ¬†MACHINE ¬†LEARNING : ¬† ¬†1) There are totally 100 boats in a port.If on an average 2 ship out of 10 do not arrive safely to ports. ¬† i) Probability of getting…
      • Write a python program that finds out the perimeter of a Multi-sided shape. Perimeter of a multi-sided shape can be found by adding all of the sides together.The user should enter each number at the c…
      • Sites like Zillow get input about house prices from a database and provide nice summaries for readers. Write a program with two inputs, current price and last month’s price (both integers). Then, outp…
      • NOTE, you may NOT import any external modules in this assignment Please take a pic of your work(problem1\2) and write your code in the this block with your code screenshot on local computer(problem 3\…
      • I am stuck and can’t get this to come out how i need it to. Here is my code import random print(“Welcome to my Guess the number program!”) number=(1,10) guessesTaken=0 print() guess=number randomrange…
      • From documents to feature vectors ¬† This section illustrates the prototypical components of machine learning pipeline for an NLP task, in this case, document classification: Read document examples (t…
      • Please help me with this python data structure based problem ASAP kindly. Handwritten will be acceptable too.
      • USING PYTHON PROCESSING Assume a file called assignments.txt already exists. The file contains 10 integers on each line, separated by commas. Each line represents the assignment grades for a student i…
      • In python, ¬† Suppose each person newly infected by a virus is able to infect R additional people. R is called the reproduction number of the virus. (Think of this as a one-time event; the person does…
      • multiple choice questions ¬† 1) This statement mortality_data.AgeGroup.replace {‘1-4 Years’:’01-04 Years’, ‘5-9 Years’: ’05-09 Years’}) uses: A) a Pandas method to replace the data in one column B) a …
      • I want project on python with this I suggested for example, to make Caesar encryption as an education application for students How to add some pleasant features and show it as a game-based program to …
      • please do partB. . (2 points) Part a: Timing code. Suppose you wrote a Python code to evaluate sin(r) at many values of 2. You want to know how long the program took (this is called profiling). Heres …
      • This is Matlab. I will be glad if anyone will help with the Matlab code to generate this figure using the given expression.. 2) Generate the following figure by using the following expression: z [n]- …
      • Please help me. Question 9 (10 points) Which of the following is logically equivalent to (p – q) A (p – r)? Op – (qvr) Op, (avr ) Op v ( q Ar ) Op – (qar ) Question 10 (10 points) What is the inverse …
      • When prompting the user you must always include text which lets the user know what should be inputted. Define a Course base class with attributes number and title.¬† Define a class Offered Course that…
      • Need Python code for the following questions:¬† ¬† 1-Change the number of neurons in hidden layers to 75. See the accuracy and compared it to the baseline. 2-Change the number of epochs to 35 and see …
      • PYTHON HELP The following script contains a list declaration, three comments and a test statement. Replace each of the comments with appropriate Python code to accomplish the goal outlined in each par…
      • Write a program named program71.py as follows. Follow instructions carefully to avoid point deductions. In the main function: create an empty list named nums. use a loop to add 10 random integers, …
      • 3.3: Function definition: Volume of a pyramid. ¬† Define a function pyramid_volume with parameters base_length, base_width, and pyramid_height, that returns the volume of a pyramid with a rectangula…
      • 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 …
      • Hello, I am having trouble grasping this concept. I need to flip this triangle upside down, and I am at a loss for what to do. This is in python, like introductory python. def down_arrow(arrow): ¬†¬†c…
      • countries = ( “australia” , “new zeaLAND” , “USA” ) for i in range ( len(countries )): countries[i] = countries[i].title() What are the problems with this code?
      • The program provided displays an image and applies a grayscale effect using psychologically accurate transformations. Define a second version of the grayscale function, called grayscale2, that uses th…
      • Answer 3.12 please! Thank you! 3.12 Consider a Python program startsWithZ . py. This program takes two parameters (P, I). It returns "yes" if P(I) is a string that starts with the character …
      • i need python code and output 17. Short Name Write a program shortname.py, reading a first name and a last name (given name and family name) as two strings. The output should consist of the first lett…
      • In python please !. Problem 2: Program a function binary_add (a, b) that computes the sum of the binary numbers a = (aj-1, a1-2, … , do)2 and b = (bj-1, bj-2, …, bo)2 using the algorithm discussed…
      • How would you iterate through each of the following tuples in python to get the second item? ¬† ¬† diseases = {“Alphaitis”: ¬† ¬† ¬† ¬† ¬†{“A”: “+”, “B”: “0”, “C”: “-“, “D”: “0”, “E”: “0”, “F”: “+”, “…
      • In this project,¬†you are asked to write the Python program to compute the solutions(roots or zeros)¬†of a given quadratic equation,¬†A¬† x 2 ¬†+¬†B¬† x ¬†+¬†C =¬†0,¬†where A,¬†B,¬†C are integers.¬†As…
      • Week 3 Deliverables Overview: In this week, you have studied additional Python language syntax including Lists, Sequences, Dictionaries and Sets. The Lab for this week demonstrates your knowledge of t…
      • PYTHON PROGRAMMING ¬† Include Docstrings!!! ¬†. Background You will be writing a Team class. For this problem, we define a team as a group of people where each person has a unique role. Instructions W…
      • Readability measures are used to score the reading difficulty of a text, for the purposes of selecting texts of appropriate difficulty for language learners. Let us define őľ w ¬†to be the average num…
      • thank you! 1. Trace a walkthrough of selection sort with the following list (Do not write a program):5 pts 4 7 11 4 9 5 11 7 3 5 Here’s a start: minPos min Val WWWWWW [4, 7, 1 1, 4, 9, 5, 11, 7, 3, 5]…
      • I need to covert the code to psuedocode in raw english; statements i.e. Input(The name of customer, license number and days hired) import numpy as np customer_details = np.load(“customer_details.npy”,…
      • using this code how do i get it answer after giving the print command. Length Test List Length: 7 List Length: 0 # Function to get length of list : def length(my_list) : # set counter at o: count = 0 …
      • . The partition problem is to determine if a given set can be partitioned into two subsets such that the sum of elements in both subsets is the same. Input Format Input is a list: eg [3,1,1,2.2,1] C…
      • Password Fixer. Please use the Python Language Part 1 b: Password Fixer The company is thrilled with your work and now they want you to add a feature for their laziest customers: if a user supplies an…
      • Ask the user for their birth year and print out their age.Check if the input is valid. If the user tries to type in bad input that contains letters or special characters, then quit the program and tel…
      • B https://wiki.cdot.senecacollege.ca/wiki/OPS245_Lab_6 120% INVESTIGATION 3: USING PYTHON TO MODIFY FILES In this investigation you will write a python script that will allow a user to interactively…
      • How does the computational time changes when we decrease the k in k-fold cross validation? Why? Explain. b. In which procedures, we can apply k-fold cross validation. Consider all the procedures that …
      • A Moving to another question will save this response. estion 7 Write a python script called magician that will ask the user for the magic word. It will keep asking them the magic word until they say ‘…
      • I have a CSV file that contains two columns: the first is a student’s name and the second is a semicolon (;) separated list of student’s test scores. (The first line of the CSV file is the header.) I …
      • Take what you have learned in the past few weeks and create three outputs with Annotations. You will need to retrieve a data file and use Power BI, R Studio, Tableau, or Python to generate the visuali…
      • A number, a, is a power of b if it is divisible by b and a/b is a power of b. creating a function called is power that takes parameters a and b and returns True if a is a power of b. Note: you will ha…
      • Please Help! All information is there! My name: Zach Duncan Instructions Deliverables: You must submit your .py file and movies.txt file. Name the py file: lastname_firstname_lab14.py. Example: bond_j…
      • I have a python question if any body could help as i am new to coding. 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 give…
      • Write a program that outputs the number of spaces contained in user input. The program should define a function count_spaces that takes as a parameter a string, and returns the count of spaces. The pr…
      • please can you write it in python with comment so i can understand it when i study it thank you
      • functional Python John needs to drive home, and decides to wait until his BAC falls just below 0.05 (the BAC of 0.05 or higher can result in a charged for impaired driving; the BAC of 0.08 or higher i…
      • Question 1: Building The List [7.0 marks] a. DeÔ¨Āne an empty list named values (please note that in rest of the questions if you see this name of list then it means this same list created here). Run …
        • Question 3 It would be interesting to see if there is any evidence of a link between vaccine effectiveness and sex of the child. Calculate the ratio of the number of children who contracted chick…
      • Task 17 Program: Choose the separator ¬† get user input on what to use to join words (” “, *, -, etc…) – store in variable: separator join pharse_words with the separator and print # [ ] complete Ch…
      • Please answer the following questions: (I have converted .csv file to excel as I was not able to upload csv file. Please convert it back to csv when working on it) 1-Read and print the data from the b…
      • Python program Implement A-Star search on the given map.
      • GUI that implements the calculator shown in the following image: – User enters two integers into the text fields. – When Add button is pressed, the sum of¬†the values in the ¬†text fields ¬†are shown …
      • I have the command to perform the option but it is not working in vi. So I need help with writing script for this option. Extract the process names and use a filtering command to sort and uniquely dis…
      • Hi I am really struggling with this question on python please can you help me and show me how to work this question out I really appreciate your help, I have included a screenshot of the question so i…
      • Part 4 In Part 4, you must train a model using your custom network architecture, which accurately predicts collisions given sensor and action information. Your grade will depend on the accuracy of the…
      • 31 32 print(processRequest( request) ) 33 34 # { 35 # successfulApplicants : 36 # bannedApplicatns : 37 # totalCost: 38 # tickets : [ 39 # 40 # "name" : 41 #F "membershipStatus": ,…
      • writing a python v3 code run the code and display the results. here’s the link to the dataset: https://app.box.com/shared/static/kujl51gcp0fv72mcuswzqsdnrdinxbjp.zip We are using the dataset Question:…
      • this problem intimidates me due to the multiple requests. Please help me break this down so I can understand how to approach this and future problems. Codio Project File Edit Find View Tools Education…
      • how do you get the awnser on IDLE and what are the steps for the awnser
      • Python Code. Basic coding no imports: Implement a function has MultipleOf that accepts two arguments: a target number and a 2-dimensional list of ¬†numbers. The function returns True if the list conta…
      • need python codes (+30) 4. 5. 9. Worth 4 points all others 3 points Using the lists a and vowels as defined: a = [ "Euclid", "Archimedes", "Newton", "Descartes"…
      • Given OrderedDict([( ‘Name’ , ‘Chunduru Balaji Alexosa, Manikanta’ ), ( ‘Participating from’ , ‘United States of America’ )]) OrderedDict([( ‘Name’ , ‘Cao, Ruochen’ ), ( ‘Participating from’ , ‘China’…
      • # Problem statement 3. b # Loop over all keys and create the transfer dict structure # Only the relevant keys from vnodes in the local_vnode_slice should be considered # An example of the structure wi…
      • My Initials are MM ¬†. Content X C faytechcc.blackboard.com/ultra/courses/_35066_1/cl/outline +++ P3LAB2 – Turtle Graphic X Assignment: Write two(or more) turtle graphics programs. IMPORTANT: Use IDLE…
      • Though intentionally easy from the financial viewpoint, this assignment will give you more experience on the use of Python’s Control structures Loops Lists Graphing using Matplotlib ¬†Background The f…
      • Match the datatype to the best description. ¬†– A. B. C. D. E.¬† Mutable, Indexable, has a .split(). ¬† ¬†– A. B. C. D. E.¬† Cannot be a dictionary key. ¬† ¬†– A. B. C. D. E.¬† Cannot use .insert() or…
      • My question is how to sort numbers in a file such that for example, the document contains 0 1 0 2 0 3 1 4 1 6 1 7 1 9 2 3 2 6 2 8 2 9 How do I make it look like this [(0, [1, 2, 3]), (1, [0, 4, 6, 7, …
      • Complete the following activities using Python. Write a program that asks the user for a single line of text containing a first name and last name, such as Firstname Lastname. Use string functions/met…
      • IN PYTHON : Write the two functions¬†shift_encrypt¬†and¬†shift_decrypt. Each takes two arguments: a string containing the message (the plaintext for encryption, the ciphertext for decryption) and an i…
      • I need help with the following four questions. ¬† ¬†. 1) Below are some functions we created. Function 1 Function 2 Function 3 Function 4 Function 5 def print 1 () : def print 2 () : def print 3 () : …
      • create function grids_augmented_in_row(grid,num,r) that returns the complete list of valid augmented grids, where each grid contains num in row r. Input: a nested list grid, that represents a valid n …
      • use pyspark. Python version import sys from pyspark import SparkConf, SparkContext # Input: An RDD containing entries of the form # (source node, destination node) # Output: An RDD containing entries …
      • Specifications ¬† You should think of the specifications that are given for the case studies as starting points. If you have the time to enhance the programs by improving on the starting specification…
      • Write, a recursive function in python that takes a number as argument and returns the sum of all even numbers between 1 and x.
      • Write a method named boolean_list ¬†that receives as input a list of Boolean values and returns False if the list contains more False values than True values. Otherwise returns True. For example: Test…
      • (Find the number of years and days) program that prompts the user to enter the minutes (e.g., 1 billion), and displays the number of years and days for the minutes. For simplicity, assume a year has 3…
      • Swift Programming Question 1 Using the `.filter` functions *go through the array* and and remove any city that has more than 6 letters in the name. Display the results var candianCapitalCities = [“Tor…
      • sort by category¬† filter the foods according to their category.¬† also sort the food name alphabetically.¬† given a file name that contains the food data and a category, write the sorted data for the…
      • Can you help me by explaining to me why this answer is correct? Please explain them to me separately by each problem question. Problem 5.1 Problem 5.3
      • The rottentomatoes web page THE BEST MOVIES OF 2021, RANKED BY TOMATOMETER (https://editorial.rottentomatoes.com/guide/2021-best-movies/) lists the top 100 movies of this year. the code to retrieve th…
      • import os import re from collections import Counter import collections ¬† def count_words( path ): ¬† ¬† with open( path , “r” , encoding =”utf-8″) as file: ¬† ¬† ¬† ¬† all_words = re .findall( r “[0-…
      • I need help filling in the blanks in the first picture above to define the tree recursion function has_subseq(n,seq) to return true or false whether n contains seq as a subsequence, which does not hav…
      • The first part of the program should read a list of NYT articles and merge them in one new csv file.¬† The program should:¬† ¬† Display a message stating its goal¬† ¬† Prompt the user to enter a file …
      • This is a link to the assignment instructions, the pdf, starter code, and the two files I’m using. I am using Python to program this. This assignment is due at midnight, so I’m not sure if you will be…
      • for x=3,n=7 the answer is 1. 1, 3, 6 2, 7 4, 5 this configuration is same as 2, 7 1, 3, 6 4, 5 for x=4,n=7 , the answer is 4. You have been recruited to play in the Squid Game. All a players are numbe…
      • Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Hints of Exercise (1) …
        • Concurrency (15): 1. (3 point) What is¬† concurrency ? Give an advantage and a disadvantage of using concurrency. 2. (6 points) Define the following terms: Race Condition : Critical Section : Deadl…
      • I did an exercise earlier this week that allows a user to load one of two CSV files and then perform histogram analysis and plots for select variables on the datasets in the Python programming languag…
      • . 1 Assignment Objective The goal of this assignment is to gain experience with both TCP and UDP socket programming in a client-server environment (Figure 1). You will use Python or any other progra…
      • If output is a string separated by space If input can be anything not described 11. [Programming] Average wait time A traffic study researcher is measuring the times that buses arrive at a bus stop. U…
      • Python programming Add comments in the codes Part 1: Create a list with a minimum of 35 elements using random number generation. Numbers should be in the range of 1 to 5000. The element should be out …
      • Please help me find the solution to these practice questions:. Question 14 10 pts Use Big O notation to create witnesses C and K, such that: f(x) = 3×2 + 25 is O(x2) Also, create a graph in Python whi…
      • The Lake Class ‚ÄĘ A Lake object has a name (a string), a water quality rating (a string, such as ‘excellent’ or ‘poor’), and a list of all Portages that lead out of that lake (see Portage class be…
      • I need to use Python programming and I think it needs to use heap.¬† ¬† sample execution below¬† ¬†. An online computer system for trading stocks needs to process orders of the form "buy 100 shar…
      • (2 Pts) Is string length of 40 chars in the code below sufficiently long to store input values and ensure that input values do not overflow the buffer? What should be the minimal length of “s” to e…
      • Using your flowchart and pseudocode from week 2, write a program that will calculate the cost of installing fiber optic cable at a cost of .87 per ft for a company. Your program should display the …
      • User has Complete the following tasks: Show each step of turning list [42, 35, 71, 34, 76, 39, 77, 47, 6, 20] into a min heap. The following is an example of heapifying [55, 73, 17, 41, 83, 89, 7, 28,…
      • I need help to create pie chart that displays data in response to updates from the data table. The pie chart should dynamically respond to the filtering options of my interactive data table. I’ve look…
      • Hi, so according to question 2, the functions should return a list of maximum even number, and if all the numbers in 2d list are odd, it should return an empty list. But my functions can only return a…
      • Python program with run in O(|V | + |E|) time complexity without built in functions, the complexity and hints might help. Comments and document about what each function does will be much appreciated. …
      • I’m having trouble defining this function. I can not use loops and have to use recursion. How would I go about this while keeping in mind the restrictions? I have to run this through a tester. Global …
      • Your program should prompt the user for the width and length in feet of the room and the quality of carpet to be used. A choice between three grades of carpeting should be given. You should decide on …
      • containsPythagoreanTriple(L) [15 pts: 7.5 pts autograded for correctness, 7.5 pts manually graded for efficiency (only if also correct)] Write the function containsPythagoreanTriple(L) that takes a li…
      • RESTRICTIONS, PLEASE READ: – Do not add any imports, the ones that you need will be given to you. – Do not use recursion. – Do not use break/continue. – Do not use try-except statements, you should be…
      • Page ¬† ¬† ¬† ¬† of 3 ¬† ¬† ¬† ¬† ZOOM ¬† ¬† ¬† ¬† ¬† Given to class: Due Date: ITP100 – Software Design FINAL PROJECT – Requires file header on all Python files. Name of Project Folder: LastName_Firs…
      • The game should include the following (your functions may have different names): Player Generation Functions (GenName, GenHistory, GenPlayer) inside of PlayerGenerator.py Board Generation functions (C…
      • program that extracts the last three items in the list¬†sports¬†and assigns it to the variable¬†last. Make sure to wr code so that it works no matter how many items are in the list.
      • Can anyone help fix these errors? If you need the code i can send that as well. https://github.com/chiefmo/csb351/blob/main/a4/player.py. MiniMax Test on 123551234220105241, depth 2. .. Failed Expect:…
      • In Python a class can inherit from more than one class (Java does not allow this). The resulting class will have all the methods and attributes from the parent classes.¬†Do the following: ¬†¬†‚ÄĘ Crea…
      • Which statement is not correct about loops?¬† A) The stopping condition for a for-loop is known at coding time¬† B) The stopping condition of a while loop is evaluated at run time¬† C) The number o…
      • draw the train using python please. 10. (2 points) Write a function draw_train() that draws, with Turtle graphics, the train from the image below If you are imaginative, you may choose to draw a more …
      • Question Need a little help with this function………. def¬†get_movie_cast(self,¬†movie_id:str,¬†limit:int=None,¬†exclude_ids:list=None)¬†->¬†list: ¬†¬†¬†¬†¬†¬†¬†¬†“”” ¬†¬†¬†¬†¬†¬†¬†¬†Get¬†the¬†m…
      • I have two csv file. ‘student info’ and ‘school info’. I need to combine these two file into one Attached is screenshot of two csv file. According to each student owner code (Owner Code in “school inf…
      • file1 = ‘data_1.txt’ def main(): print(‘This is our grid:’) display_grid(create_grid(file1)) print(”) def create_grid(filename): content_file = open(filename, ‘r’) content_lines=content_file.readline…
      • CMIS 102 Assignment 3 Instructions The third assignment involves 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 …
      • The objective of this task is to detect hate speech in tweets. For the sake of simplicity, we say a tweet contains hate speech if it has a racist or sexist sentiment associated with it. So, the task i…
      • Please can you help me to have 10/10 on my code. the pylint result is ¬†4.45/10 ¬† Here is the csv file information I gathered. ¬† PopChange.csv ¬† Id,Geography,Target Geo Id,Target Geo Id2,Pop Apr…
      • The function that takes a mobile phone number as a string and returns a Boolean value to indicate if it is a valid number or not according to the following rules of a provider: * all numbers must be 1…
      • write a program to find the first shortest sub-segment that contains each of the given k words at least once. A segment is said to be shorter than other if it contains less number of words. Ignore cha…
      • hi please help me with pseudocode and flowchart please click this link to view my codes https://pastebin.com/9Crp7Jrd Objective To develop a Menu for Computer Shop and payment system using Python. The…
      • Using Pandas program to split the titanic dataframe (picture above) by passenger class (‘class’) and get mean value, median value, min value, and max value of (1) age, (2) fare for each passenger clas…
      • The¬†__str__¬†method of the¬†Bank¬†class (in¬† bank.py ) returns a string containing the accounts in random order. Design and implement a change that causes the accounts to be placed in the string in …
      • 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…
      • Hello, I have an exercise problem that i cant seem to grab on The exercise starts with a¬†small business that requires different numbers of full-time employees on different days of the week. Company p…
      • Problem Statement 2) Write Python code that prompts the user to guess a number (1<=n<=10). Then your code will generate a random number between 1 and 10 (1 and 10 are included). Then tell the us…
      • Crevate a program to generate hundred random numbers. Wrivte a function to determine each generated number is even or odd.
      • The monthly payments for a given loan are divided into amounts that apply to the principal and to the interest. ¬†For example: if you make a monthly payment of $500, only a portion of the $500 goes to…
      • ## Writing InL2 You will now implement a retrieval function called InL2. It is described in [this] (http://dl. acm. org/citation. cfm?id=582416) paper : For this assignment, we will only concern ours…
      • I’d like to have this Python project done by tomorrow, the sooner the better. I’m sure you could finish it by tonight.¬† You’re reading in three csv files which I will provide as well as some starter …
      • Good Morning ¬† I am having difficult with MINE CRUD function I have the one side complete but difficulties putting my update and delete function these are the screen shots and i tried everything if y…
      • Hi, how to produce searching interval to prepare for Bisection Method via Python? Thanks!
      • Hi, I need to do the following hw in Python. Please help as soon as possible.¬† 1. Download the house Dataset from here: https://www.kaggle.com/thomasnibb/amsterdam-house-price-prediction 2. This data…
      • Write code that uses slicing to get rid of the the second 8 so that here are only two 8’s in the list bound to the variable¬†nums. nums = [4, 2, 8, 23.4, 8, 9, 545, 9, 1, 234.001, 5, 49, 8, 9 , 34, 52…
      • Develop a Python program named employee_database that calls 3 functions. The function named¬† create_table ¬†creates and populates a table named Employee in a database called ZYXCorp. The table’s stru…
      • Can someone help me with this assignment? I need the solution. ¬† This is the assignment: Adventure: conditional movement Having items in possession isn’t just for fun. Items can allow access to conne…
      • Python 3 question please help!! ūüôĀ ¬†The PDF attachment includes: The question; the restrictions we have; and examples of how the output should look.¬† Thank you!!!¬† Due: Smartsite Wed., 11/2, 11:55 …
      • Case Study 1. You are given a dataset, which is present in the LMS , containing the number of hurricanes occurring in the United States along the coast of the Atlantic. Load the data from the dataset …
      • I’m doing this problem which is solved here https://www.coursehero.com/tutors-problems/Python-Programming/35335216-/?justUnlocked=1 but I’m getting an error which says: Traceback (most recent call las…
      • I need help with step 5 and 6. here is my code so far for the previous steps. # Build a dictionary containing the specified movie collection movies = { “2005”: [“Munich”, “Steven Spielberg”],¬† “2006”…
      • Johnny decides to design a secret cipher so that he can post messages to his friends in a public chat forum during his online classes. Only his friends will have the cipher key, so his messages will b…
      • Hi, can you please explain step by step how to solve each of the problems below? ¬† 1. Define a class named HourlyWorker that has three private data members: _ name , _ ID , and _ wage . The class sho…
      • Let be the image¬† test4_n1.png. ¬†Convert the image to grayscale and visualize the result. 1) Compute the¬† magnitude of the horizontal edges ¬†in the image. Take into account that the¬† image can be…
      • Write an approximation algorithm for the¬† online version of BPP that randomly considers up to three partially filled bins, and if none have room, then create a new bin and use that.
      • How do I make this GUI tkinter in Python? I really need help. Thank you.. Guessing Game X Is the number 50? Too small Too large Correct New game
      • How can SPRITE help you identify the active site of your POI? Make sure to include 2 advantages and 2 disadvantages of the program
      • Hi, Could you please separate between the code of file functions.py and file t08 . It’s on python .. 8. Implement the following function in the PyDev module functions . py and test it from a PyDev mod…
      • must be using a while loop. def duplicate (nums , a) : IIIIII MODIFIES thelist so that all occurrences of a are duplicated This function should have NO RETURN STATEMENT Examples: If a = [1,2,3, 1] the…
      • Answer the problem by building linear program models and solving them using PuLP.¬† Using the Python Model
      • . Question 1. For (y1,y2,y3) = (0.001,2.6, 14.6) and ($1,132,133) 2 (0.04,1.2,2.2), the model is @492 yi‚ÄĒ mi +61) 17:21:273: _ 62 Where 6,- 3,3} N(0, 02) 0 Estimate parameters 01 and 92 by grid se…
      • a python Function for finding a given number prime or not anddo Unit Testing on it using PyLint & Unit test Library
      • I want to solve this problem in Python: ¬† Problem: Pandas and SciPy (a) Download and read the US civilian unemployment rate provided by the FRED: url = ‘http://research.stlouisfed.org/fred2/series/UN…
      • Python and The German Tank Problem ¬† 2.4. Method specifications. Define a class called TankModel, which should be a subclass of Distribution. Define the following methods. Remember that as a subclass…
      • USING PYTHON CODE Give an algorithm to find all nodes less than some value, X, in a binary heap. Your algorithm should run in O(K), where K is the number of nodes output. Implement your algorithm in t…
      • I am using python 3.5. The assignment is attached. The code I have so far is listed below. Someone help me before 11:40PM ET. def get_input_descriptor(): file_str = input(“Open what file: “) try: fp =…
      • I’m creating a text based adventure game. I have this existing code so far (code pasted below) How do I add the commands go, quit, back and help? Go starts the game, quit ends the game instantly, back…
      • write a Python program that asks the user for a string and calculates the number of digits and letters in the user input. Any other characters (spaces, !, $, etc) do not get counted. Only count letter…
      • You must implement the function get_anagrams(letter_pool), which takes in a string of uppercase letters letter_pool, representing the letters you have to rearrange. get_anagrams should return a set of…
      • A food fest is organised at the JLN stadium. The stalls from different states and cities have been set up. To make the fest more interesting, multiple games have been arranged which can be played by t…
      • Please refer to the photos below: Sample input 1: 5 10 23 16 25 12 19 11 8 1 4 3 6 9 7 20 18 24 4 17 5 7 3 4 6 1 ¬† It should output: 10 11 9 ¬† the figure below can be used to explain why is that the…
      • I need to add an option for the computer to guess as well as the user to guess a number. I also will need to add a menu system.¬†Thirdly i need to import random at the beginning of your code and use a…
      • Can you please help me find the errors in this python code
      • How can I code to get O(log(n)) for the decreaseKey() and __contains__() method in priority queue? I want to get O(log(n)) for decreaseKey() and¬† contains (). I have implemented the code but it is ta…
      • Given a probability distribution, use vector operations to express the expected value, expected utility, variance, and the standard deviation¬† 26. Given a vector of observed numerical values, use…
      • balance by same step. main ( ) : actual value = float (input ( "Enter the actual value : av assessed value ( actual value) print ( "The propert tax is ?", cal tax (av) ) def assessed va…
      • Answer the question¬†. Given the python program, modify one of the line’s codes so that the output is the same as it is shown below. main.py 1 start = int(input("Enter the start of range: ")…
      • You are given the prices of a stock, in the form of an array of integers,¬† prices . Let’s say that¬† prices[i] ¬†is the price of the stock on the¬† i th ¬†day (0-based index). Assuming that you are a…
      • Question 10 (10 points) Which of the following if statements increments the variable i if x squared is no zero? Oif x * * 2 != 0: i = 1 Oif x ** 2 == 0: i=i+1 Oif x ** 2 == 0: i = 1 Oif x * * 2 != 0: …
      • import matplotlib.pyplot as plt 1. Write a Python command to open the attached expense file. 2. Read the file contents into a list. 3. Close the file. 4. Use for loop to strip the newline from each el…
      • ou 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, and woul…
        • Perform one hot encoding on Column 1 of region and drop the extra dummy variable. In this dataset ‘custcat’ is the y aka independent variable. **No loops or def function **Jupyter notebook/python
      • Craps is one of the most popular dice games played atcasinos.Write a program that plays a simplified version of craps,as explained below,and prints out various statistics about the simulation.In this …
      • answer this question this is python programming Start your code with three comment lines explaining what your program does, your name as the author, and today’s date. Develop and submit a Mark Calcula…
      • I need writing a program that uses a while loop to store a file that has the names, regular prices, and price reductions (as percents) for selected items in the promotion. The program should enable th…
      • More specifically i need help developing three functions to add onto the existing mastermind.py file provided. “Def check_guess(guess, answer):”, “Def user_guesses():”, and “Def computer_guesses():”.?…
      • I run this code but error not generate but if I run this code output does not show it. It not show the output. and another question is please explain why we use main() function in the last
      • print(‘{:.2f} {:.2f}’.format (your_value1, your_value2, your_vaule3)) # if the input is : 20.0 and 3.1599
      • Display only the dataframe rows for movies awarded over 8.8 stars
      • I need help coding this python program for my CSC 119 class. I cant get it to work
      • . Create a flowchart that will solve the following problems. Print or draw your flowchart using a short bond paper 2. 3. Accept integer values for variables X and Y. Determine if the values are equa…
      • 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…
      • Python question: When I execute this code: (df.event_time – df.scan_time).dt.seconds / 60 it outputs the minute difference between the even start time and the ticket scan time. However, in case of row…
      • 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 con…
      • Instructions: Create a PowerPoint that contains a FLOWCHART and a PSEUDOCODE for each problem (You may use a different application if PowerPoint is not available). Use the information below to create …
      • this is python for beginners.. PROBLEM CODE RESULT BMI Calculator +50 XP Tracking your BMI is a useful way of checking if you’re maintaining a healthy weight. It’s calculated using a person’s weight a…
      • How should I calculate the first triangular number to have more than 100 divisors in Python programming language?
      • Description¬† Ask the user for the number of bags, bottles, straws used weekly and determines the¬† total weight and the¬† total cost of single-use plastic bags bottles, straws used yearly. Pseudocode…
      • Write a program that accepts a list of numbers (integers) from the user, and then outputs the minimum and maximum numbers of that list
      • Please explain list comprehension in Python with examples.
      • Use sklearn.cluster.KMeans to do clustering on the given data set points.csv. There are 5 clusters in this data set. Draw a scatter plot for the data and use color to indicate their clusters. 2. Re…
      • Fill up the missing values with their means for columns with numerical data types. After the above steps, show that there are no missing data in the DataFrame. Plot the relationship between Education …
      • in the game of hangman, the computer chooses a random from a given list of words. This word is the answer. The player then tries to guess the word, by guessing one letter at a time. This program is an…
      • Implement the TISP variable selection method for classification (as described in pages 12 of the Regularized Loss course notes), with the hard-thresholding penalty, (which is described in page 1 1,…
      • Will you write a code that generates 500 text files that randomly chooses one letter (A-Z) in this format? ¬† 1. B 2. H 3. J 4. L 5. Z 6. A 7. Q 8. O 9. X 10. M
      • Regarding Python Programming: Reflect on Event Driven Programming and what that means to someone using the program and the person writing the program.¬† Can you think of a time in the last week that y…
      • 17 LAB: Mad Lib- loops 4.17 LAB: Mad Lib – loops Mad Libs are activities that have a person provide various words, which are then used to complete a short story in unexpected (and hopefully funny) w…
      • I need to write a program that utilizes loops and functions asking the user for an integer greater than one, which should allow the user to choose between 2 options: 1: countdown from that number to z…
      • Use the FirstParser.py ( import urllib.request, urllib.parse, urllib.error import re import ssl # Ignore SSL certificate errors ctx = ssl.create_default_context() ctx.check_hostname = False ctx.verify…
      • 1 Combining Spatial Enhancement Methods (20%) Implement the following spatial enhancement methods in Jupyter Notebook, and illustrate the principle and advantages of each method to achieve the final r…
      • this is a python file I have to write a program according to fulfill this scenario make sure that the 5 children class are¬† ”’ class Class_A(): ¬†¬†”’ ¬†¬†use base class for Class A IP address ¬†¬†…
      • Answer under 20 mins no explanation needed ¬†. 3 Write a Python program (including appropriate comments) that matches this flowchart. Ask the user to input the coefficients (a, b ) of START the quadra…
      • . Drawing Multiple Polygons using Python’s Bokeh Library After going through week 12’s lesson contents, write the code that will visualize the following three polygons (by the given coordinates) by …
      • https://drive.google.com/drive/folders/1eHSp2srEpFJqbpQireSkhoNGhIsYFOcO?usp=sharing ¬† Looking forward to your kind response
      • CHALLENGE ACTIVITY 2.2.2: Access a class’ attributes. Print the attributes of the Inventory Tag object red_sweater. Sample output for the given program with inputs: 314 500 ID: 314 Qty : 500 387960.21…
      • Given the puzzle with parameters as follows: Puzzle A: Four sub-puzzles. k = 3. ¬† Worst No. of Hashes = m √ó 2 k ; where m is the number of sub-puzzle. ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†…
      • Some holidays have a negative impact on sales. Find out holidays which have higher sales than the mean sales in non-holiday season for all stores together in SAS. I have attched the datasets, Looking …
      • Could you possibly aid with this. Make sure to separate the function and main file, make sure to only use 1 return statement in the function and also , use the .format (format) method for python. Prev…
      • Please use relative file to open read data like, infile=open(“../data/housing.csv”,”r”) and do in Jupyter Notebook Import MatPlotLib. Import NumPy Read about the California Housing Dataset:¬† About th…
      • python programming language, writing 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 t…
      • This involves writing a Python program to determine the body-mass index of a collection of six individuals. Your program should prompt the user to enter a list of six names. Using a¬†for¬†loop, it sho…
      • i couldnt worked this code writing in idle and using command prompt Problem 1. (Letter Grade Calculator) Compose a function called score() in grade.py that returns the overall score of a student based…
      • In python, I need help creating a list, called ” listOne” of 3 of my strings ( tortilla chips, white rice, beans) and then print the list. Next, one by one, use each of the methods and print the resul…
      • pyhtonda kodu yazńĪlacak¬† ¬† ¬† ¬† ¬†. A spherical reactor of radius R=1.2 m composed of 50 w/o enriched uranium metal with density 18.6 g/cm is surrounded by a reflector material of thickness 0.4 m….
      • Hello, I would like to check the solution to the following exercise: My group is F ¬† ¬† ¬†. 2.1: Using the order of your group letter in the alphabet (e.g. 1 for A, 2 for B, etc.) as a random seed, d…
      • Calculate the monthly return over the period for each stock using the “shift trick” on the lecture slide titled Shifting (Note: you should end up with a time series 59 months long) This criterion is l…
      • UCl ML: https://archive.ics.uci.edu/ml/datasets/Auto+MPG¬† A more through detailed description of the dataset can be found at: http://archive.ics.uci.edu/ml/machine-learning-databases/auto-mpg/auto-mp…
      • I am trying to compose an interactive Python program composed of several functions that manipulate strings in different ways.¬†The main() function prompts the user for a series of strings which are pl…
      • I have to use regex (regular expression). LAB RESTRICTIONS, PLEASE READ: Do not add any imports, the ones that you need will be given to you. Do not use try-except statements, you should be able to an…
      • for i in range ( 5 ): num = int (input( “Enter an integer: ” )) t = t + num print ( t ) Which statements about the program above is true? A. It calculates and displays the total of 4¬†integers B. It c…
      • Can anyone explain how this in python? prompt: Part VII: Chez Wolfie (30 points)’ Write a function cafeday() that which takes one argument, orders, which is a list of drink orders for the day at a caf…
      • In python I have my code written . My code is running but it has some problem regarding to rules. (I have did all the other things so you do not have to worry about other functions) 1) ¬†fix my scorin…
      • Problem 1: Looking For Love Background Carlin is looking for love. While browsing Reddit one day, he read a very interesting article. The article laid out an algorithm which, given the name of someone…
      • Python Help! I need help finishing the program, I already started but got stuck on a step. Please write the program so I can compare, I included instruction on the ideal way instructor would like it d…
      • First , you are required to declare variables that represent your: name, age, address, major, and favorite sport. Once you input a value you should get the answer. For instance, when you declare a nam…
      • I am attaching image of my code. In makeblastdb command I want to to enter the input file as one entered by sys.argv. But I get an error. how should I modify my code.I fI write the exact file name in …
      • Q2 pixels = copy . deepcopy (orig_pixels) for index in range (len (pixels) ) : pixels [index] = ( 255 – pixels [index] [0], 255 – pixels [index] [1], 255 – pixels [index ] [2], pixels [index ] [3]) lo…
      • Did the following but got ‘None’ as outcome for some of the queries. It should say True or False but not None. Help me explain and correct me please. ————————————————–…
      • I am Attempting to convert a java program into a python program. Here is the Java code i have to go from: import java.io.*; import java.net.ServerSocket; import java.net.Socket; import java.net.Socket…
      • Can you walk me through the steps for when this file tests for invalid code? I’m halfway through the second milestone, but I pasted everything for convenience. Thanks! From Milestone 1: Step 1: ¬†Buil…
      • Please don’t copy from chegg and course hero ¬† turtleUAB () Develop the necessary functions to draw “CS103” in green colors using the python turtle. Do not use the text option of turtle, you need to …
      • Give a polymorphic lambda calculus (PLC) type listőĪ that contains a single free type variable őĪ and which corresponds to the ML datatype of polymorphic lists: datatype ‘a list = Nil | Cons of ‘a * (…
      • I am stuck working on this script called ./duim.py. This script should produce a similar¬†output when run. ¬† ¬† user@host~$ ¬†./duim.py -H /usr/local/lib 61¬†% [============ ¬† ¬† ¬† ¬†] 160.2 M /usr…
      • For this portion of the lab, you must reuse the program you wrote in Lab4A (Lab FOUR part A ) .¬†This means ALL requirements for Lab 4 are also required for this lab, so if you had errors in Lab4 you …
      • Activity 1 – Write a program that prints all the multiples of 5, from 5 to 95 using a for loop.¬† Activity 2 – Write a program that prints all the multiples of 5, from 5 to 95 using a while loop. I go…
      • A Caesar cipher is a simple encryption tool. it was used to pass secrete messages between generals. A Caesar cipher takes a phrase and substitutes each letter for a letter that is in n positions away….
      • make a python program that extracts the most frequently found names in hw_25000.csv (hint import csv, statistics) I got the file off of: https://people.sc.fsu.edu/%7Ejburkardt/data/csv/csv.html
      • creating a menu- driven interface to creating a s3 bucket , put objects in a bucket, delete an object in a bucket , copies and object from one bucket to another , and downloading an existing object fr…
      • Use only NumPy to create the Normalize Class: Image Normalization is a technique used to touch up images that are too dark or too light for the human viewing experience. Implement a version that outpu…
      • Attributes: ¬∑¬†¬†¬†¬†¬†¬†Mammal type, ¬∑¬†¬†¬†¬†¬†¬†Body weight in kilograms, ¬∑¬†¬†¬†¬†¬†¬†Brain weight in grams, ¬∑¬†¬†¬†¬†¬†¬†Life span in years, ¬∑¬†¬†¬†¬†¬†¬†Gestation time in days, ¬∑¬†¬†¬†¬†¬†…
      • Background Information This assignment tests your understanding of and ability to apply the programming concepts we have covered throughout the unit. The concepts covered in the second half of the uni…
      • Methods and instance variables are an object’s attributes. ¬† True or False
      • DBS = [ ¬†¬†{‘Name’:’Rick Jones’, ‘Job’:’Software Engineer’, ‘Salary’:909802}, ¬†¬†{‘Name’:’Marissa Meyer’, ‘Job’:’COO’, ‘Salary’:9320809}, ¬†¬†{‘Name’:’Avril Ting’, ‘Job’:’MD’, ‘Salary’:932846} ] Mak…
      • I need help with a program that has a¬†main()¬†function and a¬†value returning¬†function named¬† numbers() ¬†that takes no arguments and¬†returns¬†the variable used for the total. The numbers function…
      • Please make a list of seven words. At least some of the words must share part or all of the beginning of the words (e.g. “apps” and “apple”). Draw a parse tree of your words. Don’t forget to include t…
      • . Mod 4 Homework – Circular Linked Data Structure Not all linked data structures are linear – it is often helpful to have nodes that link to multiple nodes (as in Trees and Graphs), or nodes that li…
      • is it possible to make a function that receive as parameter a share pointer.¬† ¬† like vector(ObjectX) myFunctionName (sharePTR ptr1) [ ¬† ¬† ¬† ¬† ¬† ¬†Vector1.pushpack(sharePTR); ¬† ¬† ¬† ¬† ¬† ¬†re…
      • . Assume you take out a 300000 USD loan as a Ô¨Āxed rate mortage of rate r with a loan period of 360 months. In what month k have you paid off half the original (principal) loan amount, but in mo…
      • . Code from sympy import * x,y=symbols(‘x y") exp=input() expri=Derivative(expr,x) print(expr1) 2) import math # this function returns root of function calculated using newton method def newton…
      • 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…
      • Parsing and Manipulating XML Data XML is the basis for many interfaces and web services. Consequently, reading and manipulating XML data is a common task in software development. Description An online…
      • What is an example of a list? And what is an example of an array?
      • . Project Requirements Your project report should contain all the following six sections: Section 1. Choose ONE of the following series from WDI as the dependent variable: Exports of goods and servi…
      • (10 pts) Write a function, dashed_line(t,Lng,n),¬†which uses turtle, t, to draw a dashed line of length, Lng.¬†The dashed line should have should have n dashes, should start and end with a dash and sh…
      • def solutions(board): ¬† ¬† ¬† ¬†def empty_fields(board): ¬† ¬† ¬† ¬†n = len(board) ¬† ¬† ¬† ¬†res = [] ¬† ¬† ¬† ¬†for i in range(n): ¬† ¬† ¬† ¬† ¬† ¬†for j in range(n): ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†if not …
      • Using the IDLE development environment, create a Python script named tryme4.py. (Note: an alternative to IDLE is to use a free account on the pythonanywhere website: https://www.pythonanywhere.com/) I…
      • Q1 (30%) Clustering In this question we are going to explore two different clustering methods on the wine dataset and evaluate it using two measures: one is an intrinsic measure (no labels), while the…
      • I would need an example of Python program using dictionary and list with cities located in the Europe and their corresponding population .
      • TASK: Make ¬†word ladders. The user will type in (or hard-code) a beginning and an ending word. Your program must find the series of words that differ by only a single letter that leads from the begin…
      • Exercise 2 – Drawing a plot Use NumPy and Matplotlib to draw a scatterplot of uniform random¬†(x, y)¬†values all drawn from the¬†[0, 1]¬†interval. Helpful documentation: https://matplotlib.org/tutoria…
      • for i in range(0,9): print (str(i)) When would this loop expression stop being true? Specifically, what condition needs to occur so that the loop ends?
      • Need help with command-line, Static Mode: ¬† Question asks: Static Mode: this just opens the static dataset you create from your scraping/API request and prints them. These files should be in the fold…
      • The class¬†Kart represents a general kart in Mario Kart. ¬† In the constructor (__init__), we must initialize 4 instance attributes (properties) with certain default values. There will be no parameter…
      • Create a Python program called taylor_series.py which will accept from the user the type of function, the value, and the number of terms and outputs the Taylor series of that value and compares …
      • I would like some help in adding these to my code using CRUD> HOw would I go about implementing? “Add the following document to the collection:” curl -H “Content-Type: application/json” -X POST -d …
      • # Problem statement 2. a # Update this function to return value from local store if exists (assuming it’s the owner ) # Otherwise it should find the owner using get_assigned_node function in _vnode_ma…
      • Can anyone help me with this format? I’m kind a loss. 5.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 Co t…
      • I need help on adding max_degree_nodes class Graph: ¬†¬†# Do not modify ¬†¬†def __init__(self, with_nodes_file=None, with_edges_file=None): ¬†¬†¬†¬†“”” ¬†¬†¬†¬†option 1:¬†init as an empty graph and ad…
      • Print the following table to display the sin value and cos value of degrees from 0 to 360 with increments of 10 degrees. Round the value to keep four digits after the decimal point. ¬†. Degree Sin Cos…
      • # PLEASE, DO NOT MODIFY THIS CELL! # IMPORT NECESSARY LIBRARIES AND DATA import pandas as pd import numpy as np # SECtION A data nparr = np.arange(145, 217).reshape(12, 6) # data location data_url = ‘…
      • read dictionary items from a file and write the inverted dictionary to a file.
      • Python Programming. ¬† Please use this link ¬†if more information is needed ( formatted questions, excel sheet of data, and check.json of correct outputs is here) https://colab.research.google.com/dri…
      • Write Python Script where script will look for availability of .XLSX files in any given path/folder and then script will open those .XLSX files and save them into another any given path/folder.
      • Using Pandas library, produce the following output. Using pandas data frame organize the data into rows and columns subject_id student_name courses Joseph software engineering Eva Artificial Intellige…
      • We will build a GUI to display a set of values. You will display the values using both a line chart and a bar chart on the same app. Most of the coding will come from Week_09_lab_09_Display.docx. You …
      • I am attempting to use python to output a mouse. However, I keep getting an error when I attempt to output saying that I have multiple statements found while compiling a single statement. Not fully su…
        • Using the data available at: https://www.people-press.org/2018/03/20/1-trends-in-party-affiliationamong-demographic-groups/ And employing Na√Įve Bayes classifier, evaluate the political affiliation…
      • Database Design and Analysis The following database project will create an educational attainment “demand” forecast for the state of California for years greater than 2010. The demand forecast is the …
      • Week 7 Assignment: ¬†Pseudocode and Flowchart Solution¬†¬† Instructions: Create a FLOWCHART and a PSEUDOCODE for each problem. Use the information below to create a pseudocode (which can be a text-bas…
        • First write a decomposition for the extended problem, based on the description in Box¬†1 above. This should be at a similar level of detail to the one given in the discussion to Activity¬†2.21 …
      • . 1. Read a CSV file After importing the required dataframes library as pd , read the contents of file mountain_heights. csv into a dataframe called heights_df . Use the mountain code…
      • Problem #2 –¬†Book Class¬† Write a class named¬† Book ,¬†which should have the following attributes: __title ¬†(for the title of the book) __author ¬†(for the author of the book) __price ¬†(for the pr…
      • Can you help me with this? I would like to create an application using Python GUI¬† ¬† Here is a list of my choices: ¬†*You could do any of the following*‚ėļÔłŹ ¬† ATM machine (The program could depos…
      • `words` is a list of words. Write code that **mutates** the value of `words` to replace every item with the length of the string. ¬† words = [‘this’, ‘is’, ‘a’, ‘list’, ‘of’, ‘words’]
      • Python Programming Please Create a class named¬† Employee ¬†which contains an employee name, available to the entire program (public), and an employee ID number and hourly pay¬†rate, available only to…
      • Please define the function fill 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 calli…
      • Hi can you help me with this question. Also below is the chat log , you can copy and paste this into a textfile and the question is below the chat log red: I ran out of cafeteria. red: Then I went to …
      • 2 Two Classes In this project, you will be developing two classes: CarcassonneTile and CarcassonneMap. The first one represents a single tile, which has certain fea- tures on it, and which can be rota…
      • Write a python script that will attempt to run the system command /usr/bin/applypolish. If this command causes a TypeError exception, the script should prompt the user with a message stating that poli…
      • How many times will this code run? numbers = 4 while numbers < 12: >>>print(numbers) >>>numbers = numbers + 2
      • answer within 5 min please What happens when the programmer forgets to update the loop control variable in a while loop? Explain with example. of 1 i B !
      • Exercice 3: Multiplication de matrices en Python . Creez une fonction qui prend deux matrices et retourne une nouvelle matrice qui est leur produit. . Le programme principal doit donner deux matrices …
      • Show me the the code in R Programming language. Import the sp.csv file. Ôľądownload from this link: https://1drv.ms/u/s!AtkqHPhh-7_Mg3o15PlZbxnSSozN ) Question a : Calculate the correlation between da…
      • Reward 4 Shop (R4S) has employed you to develop an application to help them calculate the reward points and discounts for their customers. The rates are calculated as follows: Every dollar spent on re…
      • Can you help me to do homework? Please help me. Homework 3 in Python 3.8 IDLE Your program will manage a set of customers and a set of books. Customers will rate individual books and the program will …
      • Assume choice references a string. The following if statement determines whether choice is equal to ‘Y’ or ‘y’: if choice == ‘Y’ or choice == ‘y’ what is the statement so it only makes one comparison,…
        • Problem Statement The Syracuse (also called the Collatz Hailstone) sequence is generated by starting with a natural number and repeatedly applying the following function: jry22406075170562908447_1…
      • Python programming. Please help me with this problem using the sample output.. A projectile is an object moving only under the force of gravity. In modeling the motion of a projectile we assume no air…
      • Please help me with this Python program. In Lab 05 you wrote the code for class LinkedSet. Rewrite that class so it inherits from class LinkedBag.¬† This new version of class LinkedSet should have onl…
      • PROGRAM IN R CONSOLE please Download file here: https://files.fm/u/96w8jg8j # Question 1: # Read in the SalesData2017.csv data into a dataframe using the read.csv() function # Question 2: # …
      • COULD YOU PLAESE HELP ME COULD YOU PLAESE HELP ME COULD YOU PLAESE HELP ME Write an expression that is the value of the first three characters in the previously – assigned string – valued variable dow…
      • Include the writeup and all your code in a zip file. (Use one .py file or a Jupyter notebook for each experiment on one model variant. Name the files as minivgg, var1, var2 and var3 and var4.) Imple…
      • . Thsk2Ô¨ā Find the 10p 16 rated movies by age 18-24 In [ ]: In [21]: Out[21]: Title They Sheet Horses, Don’t They? (1969) 5.666666 Palm Beach Story, The {1942} 4.833333 How Green Was My valley (…
      • I’dILL – Idy LalLalALL!` Make sure to use the following criteria : 100 – 90: 4 89 – 80: B 79 – 70: 0 69 – 60: 0 59 and below : F Sample Output : Grade Checker Enter your grade : 88
      • 6 Now, draw a tilted square. And another one, and another one
      • u zy Section 7.1 – CSCI 160: Computer X Course Hero x New Tab X + X > C A learn.zybooks.com/zybook/UNDCSCI160StokkeFall2021/chapter/7/section/1 =zyBooks My library > CSCI 160: Computer Science |…
      • Python need help, I need to perfect the testcases. I will be pasting here my code (below the photos): ¬† The given problem is in the photo I will attach will give thumbs up if I perfect the testcases …
      • NOTE: There are many Python libraries that offer an implementation of Markov Chains, however, most of them do not allow for a random seed to be set. For this reason, results are not reproducible. For …
      • https://dalu-my.sharepoint.com/:x:/g/personal/es459587_dal_ca/EXLawGXVyYJMk7GpUPJVG9EB3-W172DYPAkmaTxNi34QDg?e=7uyYpY Thank you!. Figure 1: patterned ribbon aj: starting point of piece i (0 <= a &l…
      • Download csv datafile,¬†covid_national_history.csv. We will be working with this data file during this exercise 1. Data loading and parsing: a. use csv to read the datafile into your python shell. b. …
      • . 1. A user has converted a set of images to text using OCR, and the output text has random specks in it that resemble full-stop marks ("."). To help the user clean the text, write a Pytho…
      • Hello I have to make a basic Python program that will create multiple triangles with specific sizes for each triangle I am completely stuck please can you help me by showing me the code I need to use …
      • Measuring and plotting the effective spread (20p) A good measure for transaction costs in a given trade is the effective spread, the distance between the transaction price p and the midpoint m, scaled…
      • Problem 1: ¬†Create a list that contains the months of the year. ¬†¬†¬†¬† Problem 2: ¬†Create a loop to print the number and the months of the year from the list.¬† I have the list part month…
      • I need assistance finding the largest nodes in a community of 13 communities using networkx. I successfully found the number of communities using greedy modularity method with the following: ¬† pos=nx…
      • these are the images in order from (top) is 1 and bottom is 4.¬† 1 2 3 4 ¬† this is the assignment file… i thought it would be easier this way.¬† THE ASSIGNMENT I NEED HELP WITH ->>>>¬† …
      • How do you write functions to find top S closest athlete (with S smallest Euclidean distance) to any given athlete in terms of #points, #rebounds, and #assists. Detailed requirements for each function…
      • # 2. Write an if statement that checks both the credentials below # and prints “Successfully logged in.” if they’re correct or # “Invalid username/password combination. Try again.” if they’re not.
      • how to do part B? Part B: Programming with the Class Methods Consider the program in the Ô¨Āle named “lab10b.py”, which imports the module containing the Card and Deck classes. Extend that program…
      • Need some help! ¬† You are going to enhance the prior assignment by doing the following 1) Create a class that contain all prior functions 2) Test the application Use the same output from last assignm…
      • Python programming question, write code in bottom… need help with Just like the last exercise, you are supplied with a CSV file called rwc. csv which contains results for all Rugby World Cup pool ga…
      • What is sigmoid function in logistic regression? Explain it with the help of a diagram.
      • careful with the last calculated term. Depending on the formulation of your loop, you may need to add or remove it from the total sum to match your result. This will help you to understand the loop in…
      • I need help with the syntax of this program: #import¬†socket¬†module¬†from¬†socket¬†import¬†* import ¬†http import ¬†sys¬† #¬†In¬†order¬†to¬†terminate¬†the¬†program serverSocket¬†=¬†socket.socket(sock…
      • In Python, please input.txt is below : 2 Followed by this second 4 then this fourth 1 This prints first 5 and done. 3 Then this third
      • Study how I have done bigo1 and bigo2 programs and how the graph is produced. If you run them it will create relevant files. You can open the .csv files in excel and draw a line graph that will produc…
        • makeServiceQ() Return an empty Service Queue as a tuple, where the first part of the tuple is a tag ‘SQ’ and the second part of the tuple is an empty list. 2)contentsQ(q) Takes a Service Queue as i…
      • seven_segment = {‘0’: {‘a’,’c’,’d’,’e’,’b’,’f’}, ¬†¬†¬†¬†¬†¬†¬†¬†¬†‘1’: {‘c’,’b’}, ¬†¬†¬†¬†¬†¬†¬†¬†¬†‘2’: {‘a’,’d’,’e’,’b’,’g’}, ¬†¬†¬†¬†¬†¬†¬†¬†¬†‘3’: {‘a’,’c’,’d’,’b’,’g’}, ¬†¬†¬†¬†¬†¬†¬†¬†¬†‘4’: {‘…
      • I WANT TO SIGNUP INTO THE COURSE HERO HOW WAS SIGNUP OR WHAT WE HAVE DO
      • load the dataset “chicago”¬†which is in the package of “faraway”. a. List the name for all the variables in the data set. b. Add¬†a new categorical¬†variable “agecut¬†(Young, Middle Aged,¬†Elder)”¬†ba…
      • . Computer Science 1 – CSci 1100 1. Write a loop to output the digits from 0 up to (and including) 8, all on one line. Lab 6 – Sudoku 0 1 2 3 4 5 6 7 8 Lab Overview As a hint, create an empty string…
      • compute the item-to-item weight matrix, which represent how similar each movie is to other movies. There are 3 steps in this exercise. Step 1: build_movie_i_matrix function (2 points) From what we alr…
      • I have already worked through the “song class specifications, up to the “MusicPlayer class specifications”, but cannot get past here. So, I need help working on the “Musicplayer class specifications” …
      • Implement quicksort in a PYTHON programming language. The version will use the median of the first element, middle element, and last element of the array as the pivot Please help me with a Python code…
      • I am attaching my code and tester. Please run my code on tester using windows power shell command “Python tester.py code.py” . PLease tell me the reason of error. thanks. code: def getName(): return “…
      • 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…
      • Python:. Write some code to keep reading numbers from the user until the users enters a negative number. The program then prints out: a) the sum of all the numbers b) the average of all the numbers c)…
      • Create a code to perform Object detection (using webcam)
      • I need help accessing help accessing elements in a dataframe for python pandas. I have two DataFrames. Below are two snippets of each dataframe. This DataFrame is called Appearances. yearID teamID pla…
      • question 1.¬† Complete the code below to that determines and prints the maximum value in the list below.¬† DO NOT use the MAX function. ¬† nums = [10,5,17,34,76,85] ¬† The maximum value is 85. ¬† ¬† ?…
      • 1 – Get data on the following four stocks from yahoo finance:¬† MS, GS, JPM, C Use the date range 2013/1/1/ to 2018/9/24 Compute the cross correlation coefficients on the stocks Calculate cross correl…
      • # Import all necessary python packages import numpy as np import os import pandas as pd import matplotlib.pyplot as plt from matplotlib.colors import ListedColormap # ### Reading-in the Iris data s…
      • I need some expert in programming especially to those who is Electronics and Communications Engineering . I badly need your help for this written report . ¬†It will help me big time. Thank you for und…
      • I am stuck on the output of this project if there is anyone to help I could really use it Define a Customer class in this module (file name: customer.py). This class has seven private instance variabl…
      • Hello, I’m currently having an issue with my coding homework / assignment and would really like some help with it. This is the code I have written: def check_section(state: str, section_num: int) -&gt…
      • 1a) Write a function that asks the user to enter three numbers (use three separate input statements). The function should not accept any argument when it is called, but it should return the average an…
      • Python ¬† ¬†. Many user-created passwords are simple and easy to guess. Write a program that takes a simple password and makes it stronger by replacing characters using the key below, and by appending…
      • The following function is supposed to print ‘sorted’ if the digits of an integer number is sorted from the smallest to largest,¬†where the smallest digit is the right-most (e.g., the 1 in 5021); other…
      • Write a python script that converts the¬†count¬†amount of letters starting from the end of a given word to uppercase. The script should take the word as a string and specify the¬†count¬†amount of lett…
      • I need help solving these three questions about python 2. R-11.5 Dr.Amongus claims that the order in which a fixed set of entries is inserted into an A VL tree does not matter-the same A VL tree resul…
      • In the¬†BSTs¬†lab we saw how a binary search tree could be used to encode and decode Morse Code data. In that lab you were given three data sets with different insertion orders, and were asked to…
      • Assignment 7a: pandasPurpose pandas is a ubiquitous data framing library in Python. Its functionality is similar to that found in the programming language R. This assignment — the first of two on pan…
      • Hi, I could use some help here.¬† ¬† instructions: I have one file containing 10000 integer values. I need to compute and present the average (mean) value and the standard deviation. We expect two sep…
      • Write function read_file that reads file phones.txt into a list. The file looks as follows. ¬† iPhone12;1000.00 Galaxy Note; 500.00 iPhone 11; 800.00 Galaxy A11; 59.00 ¬† Take this list and convert ea…
      • # Define a function which has two inputs, the Arcs and the Nodes(which represents the number of colors). def ColourGraph(A,Nodes): # Input the colors # Colors can be whatever you want but keep in mind…
      • Question: The question has 2 task, in that task 1 i have completed and now I am stuck in task 2 . task 2 question: Build multiple Random forest regressor on¬† X_train ¬†set and¬† Y_train ¬†labels with…
      • Question #4: You are a scientist at NASA and you have been contacted by Planet X in another solar system. The message sent by Planet X are encoded in the form of a mathematical series called a "…
      • Given is a dictionary which represents an encryption alphabet, added a code for space between words. Write a function, which takes a string, either out of letters or out of encryption code from the di…
      • Question 3 Design and implement a university computer server system, on which all students, teaching staff, and others have accounts. You will also implement an authentication and authorization subsys…
      • Use CSV module, or pandas dataframe to return a list of the ratio of imports over exports for each month in the CSV file: trading_econ_parsed. AutoSave OFF trading_econ_parsed Home Insert Draw Page La…
      • In the python script you selected a random sample with replacement of size 50(note this is a sufficently large sample) from the TPCP population. What is the mean of your random sample? Does this sampl…
      • Instructions: ¬† You will create the following five functions, four corresponding test functions, and main to load, analyze, and store the data. I included the csv files in the comments. I need help f…
      • Please solve both coding question and mcqs Find shortest unique prefix to represent each word in the list. Example: Input: [zebra, dog, duck, dove] Output: {z, dog, du, dov} where we can see that zebr…
      • Problem: I cannot type the number near the “Integers”, my program’s indicates the number and result in the next line. That’s the result I want to get: But what I get the result from my program: Here i…
      • Thank you!!!!! 1. Section 2.3 describes lists and tuples in Python. Assuming the following assignment statements have been entered at the Python prompt: work_days = ["MOI’J", "Tues&qu…
      • Write a python program that does the following: ¬∑¬†¬†¬†¬†¬†¬†Displays a header message: “Average Celsius Calculator for “Introduction to Computer Programming”:” ( INCLUDE THE QUOTES ). ¬∑¬†¬†…
      • file name: cars.csv. Lab SB Create a python file called Lab_SB_<lastname> Using python code create the output for the 2 tasks listed below. Task #1 Using numpy create a 2D array of 2 rows and 3 …
      • Can you help me make a code for this task. The value of existing.py is “#!/usr/bin/env python3 cyl = {‘height’: 37.32, ‘rad’: 13.1}” Step 1: Build a new Python file called midterm.py. Enter the correc…
      • [2 points] Write code that shows the number of fields in each of the feature classes within the feature dataset OTTAWADATA (hint: you will need to use the len() function to count the items in a list o…
      • I have created all the code except for the following which I need help with please Find the following using TextBlot # ¬† ¬†5 most negative sentences including polarity and subjectivity # ¬† ¬†5 most …
      • Please fix the errors shown above Instructions FILETREE viewfiles.py X + >_ Terminal X + ~/sandbox viewfiles.py 1 import os as operationSystem sandbox $ python3 viewfiles. py Write a recursive func…
      • How do I implement a function to take this in? CS 260 Assignment 5 Question 5 : 12 points Write a function named printer that takes a linked list of Node objects and loops over each of its nodes, prin…
      • Python¬†3.6 #!/usr/bin/env python import argparse parser=argparse.ArgumentParser(description=”Building my Parser”) parser.add_argument(‘filename’,help=’enter a file name’) args=parser.parse_args() pri…
      • enario: You have some data where customer names are listed in one field, “Davis, John”. You are tasked to create a python function named ‘parse_name’ that will accept a string input and return a¬† lis…
      • need help to write 2 functions. PART A: Write a function called “validatePostalCode” that accepts a string from the form text control in PART A and uses regular expressions to determine if the postal …
      • Code a python Program to print “hello world”. Iam new to python.
      • Hello I am trying to write pseudo code in python. The problem I am writing the code for is based on miles/gallons to determine the mpg. I want to double check my work, i have no hard inputs everything…
      • I need help with some python script. I found my coursework I am working on here, but the script produces no output.
      • How to make this in Python PyCharm: ¬† Please enter your name: Test Hi Test, welcome to the database. Main Menu 1 – Print 1 2 – Print 2 3 – Print 3 4 – Adjust 4 5 – Load Data 9 – Quit What is your cho…
      • Dataset You are going to code it through a genuine dataset, taken from the scikit dataset, 7.2.2 the 20 newsgroups text dataset. https://scikit-learn.org/stable/datasets/real_world.html#the-20-newsgro…
      • print “[+] Trying: ” +userName+ “/” +passWord I’m getting following error from above python code. Please help. ¬†print “[+] Trying: “+userName+”/”+passWord ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†^ SyntaxError: Missi…
      • Greedy Residual Fitting: The relevant link: https://drive.google.com/file/d/1Mvt3EDArVGdIEiN9h-OmvhB6yfApIGt0/view?usp=sharing We start using a greedy approach to multivariate regression. Assume a dat…
      • Collapse Exercises Exercise 6: Divisible by 5 Create a program that will use the variable x to represent a positive integer. The program will determine if x is divisible by 5 and even. If yes, print _…
      • Popularity-based Ranking Step-1.1 Compute the ranking of most popular movies Your next task is to take the movie preference dataframe and computes the popular ranking of movies from the most popular…
      • hi pls help me with printReciept and removeItem pls check my ide for any information required. And noticed that the function burgerPrice() from previous tutorials are also provided in your file. 0 X Y…
      • from copy import deepcopy ¬† ¬† class _Set_Node : ¬† ¬† ¬† def __init__ ( self , value, next_): ¬† ¬† ¬† ¬†¬† “”” ¬† ¬† ¬† ¬† ——————————————————- ¬† ¬† ¬† ¬† Initia…
      • 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…
      • When I print the magnitude to 4 decimal places, it cuts off the 0 at the end of it and I am not sure how to fix it. There is an example of it below(Magnitude of vector b is 8.775 instead of 8.7750) An…
      • In python make a to-do list manager. It should be able to do the following (in no particular order:) Store the list as a file, and reload it when the program starts. Save the list at some point during…
      • What program will read in a list of test scores from the user and add them to a list in Python. Ask the user in between each score if they want to continue (y/n). Display all of the scores entered and…
      • def exercise07( sd, m, s ) : # The function exercise07( ) receives integers sd, m, s which are standard deviation, mean and size respectively. # Return an ndarray filled with s random numbers conform…
      • hi!! I need the full python code for this unit test (not only what has been highlighted). Thank you in advance !!!. Step-by-step implementation 1. Implement the three new player types: RandomPlayer, N…
      • I need assistance with code involving a class called Customer. The Customer class should have the following fields: id: This is the id of the customer. _ _first_name: This the first name of the custom…
      • Please refer to the attachment to answer this question. This question was created from final-practice-questions-20161126.pdf.
      • 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…
      • 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 …
      • Problem 2 (Max points 15): Due to recent rains (I know it’s very rare here), water has pooled in various places in the campus, which is represented by a rectangle of N x M (1 <=N <= 100; 1 <=…
      • Q 9. Write a function¬†find_all_routes¬†to display all possible routes from senders location to receivers location given in the dictionary for each shipment.¬∂Graph data structure is used to represent…
      • this answer here is incorrect and I need the correct answer. Here are the error results from when I try and use the answer provided here. 12 15 red Your output starts with Enter wall height (feet): En…
      • Indicate a function¬†max_and_min¬†that accepts a tuple containing integer elements as an argument and returns the largest and smallest integer within the tuple. The return value should be a tuple cont…
      • How can I modify this code so that it takes in two independent x variables for the logistic regression? That is, I would like to call in another row of x’s called “x2” and have them be included in the…
      • I need to make python modules for each question. Any help would be great! Question 1: Given two vectors Va = [1, 2, 3, 4, 5] and Vb = [6, 7, 8, 9, 10]. Create a VectorOperations.py module in which the…
      • write a python program the gets a string containing a person’s first, middle, and last names, and then display their first, middle, and last initials. for example if the user enters John William Smith…
      • This exercise will involve a game that simulates a landing craft descending to the surface of the moon.¬†You may have played this game before, we’ll implement a simple version of it.¬†In our version, …
      • . Question 3 Write a Python program to draw a two-stage rocket. Here is mine – make yours different! Write the code into the provided -py file and comment your explanations. ((Don’t print the whol…
      • Using Python ¬† Create 30 items usually seen in Amazon, K-mart, or any other supermarkets (e.g. diapers, clothes, etc.). (1) Create a database of 20 transactions each containing some of these items. T…
      • Modify the code to make the game two player: ¬† from¬†random¬†import¬†* rand_num = randint(1,100)¬† # random number b/w 1 to 100 user_name =¬†input(‘What is your name: ‘) count =¬†0 while True: ¬† ¬† …
      • As a worker in a corporation, you are tasked with helping customers resolve their errors. A customer sends you the following error after making the function call: ¬† Answer the following questions: Wh…
      • Print Diamond shape with symbol which taken from the user. Sample Output: Enter a symbol: @ @ @@@ @@@@@ @@@@@@ @@@@@ @@@ @
      • create a program called MakeChange to produce change from one dollar for any purchase less than one dollar. The program should display the name (e.g. dime, nickel, etc.) and amount of each coin. It sh…
      • Hi, I’m stuck on the following question below is my table for Quick Sort Algorithms And below that is the question I’m stuck on. Can anybody help
      • Need Python code for the same¬† ¬† For this lab you will create a simple console application using Python that will graphically display all the prime numbers up to a limit selected by the user. For mo…
      • Write a program that determines whether a bank customer qualifies for a loan or note. The customer is qualified if a person’s salary is at least $30000 and that he or she has been at their current job…
      • Which statement is true? Select * from dbo.menu where ItemType = ‘Hamburger’ order by ItemType descen Select * from dbo.menu where ItemType = ‘Hamburger’ order by ItemType desc Select * from dbo.m…
      • how do I create these user-defined functions in python. repeated (char, N) The function repeated takes two parameters: a string, char, and an integer, N. repeated must meet the following requirements:…
      • Why is hash map considered faster than other indexing algorithms?
      • 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 Create/write a function called¬†hyp…
      • could you please help with these python class exercise on this website,¬† https://firas.moosvi.com/courses/2020_WT1/data531/practice/11_classes_exercise.html
      • Question 6 instructions^ ¬† ¬† ¬† Question 7 instructions are bottom second photo. Question 6: 3‚ÄĒinp ut odd-parity circuit (8 marks) The 3‚ÄĒinput odd‚ÄĒparity circuit has three inputs and …
      • Python: Create a weekly scheduling program for a company. The program allows the user to select 4 people each day of the week to work and¬†will automatically notify an employee if they are scheduled. …
      • #This is the sample output that I want to get Takes a string and returns True if txt is convertible to float, False otherwise >>> isNumber( ‘1 2 3’ ) False >>> isNumber( ‘- 156.3’ ) …
      • Many user-created passwords are simple and easy to guess. Write a program that takes a simple password and makes it stronger by replacing characters using the key below, and by appending “!” to the en…
      • I need Python program with a class call fraction.¬† It is to have two methods.¬† The first is multiply which multiplies two fractions.¬† To multiply two fractions, you multiple the two numerators to g…
      • As a result of point 2, the supplier recommends slightly more fertiliser than required according to point 1 and the size of the plot. This is to make up for any unintended spillage during application….
      • how to download beautifulsoup how to run this program
      • can you help me with this question and give me detailed solutions? do not use the set module . . . < > G online.cs.uwaterloo.ca C Summary – Midterm Test 3 – HRM 200 Online – Spring 2020 – 082 – …
      • We will pass in a value, N. Outputs all values from 0 up to an including N. # Get N from the command line import sys N = int(sys.argv[1]) # Your code goes here # Get N from the command line import sys…
      • https://docs.google.com/document/d/1LGNt75Kcqg8nnQuQXdk2bSgqR2YXuNrg/edit?usp=sharing&ouid=106524239217228088148&rtpof=true&sd=true this is a python question, thank you for your support ūüôā
      • Which of the following decorator function is used to create a class method?
      • def getCleanWordList(filepath, charsToRemove): ¬†¬†file = open(filepath) ¬†¬†content = file.read() ¬†¬†almostcleanwords = content.strip(charsToRemove) ¬†¬†cleanwords = almostcleanwords.split() ¬†¬†fil…
      • A company has determined that its annual profit is typically 23 percent of total sales. Write program that asks the user to enter the projected amount of total sales, and then displays the profit that…
      • Hi, I am not sure how to make a graph with them. I would like to change the code from the criteria that is given. could you help me to adjust them? for integral requires to use “quad” from scipy ¬†3 d…
      • Please help me, I have no idea what I am doing wrong and it is so frustrating. I keep getting this error message: ValueError: invalid literal for int() with base 10: ‘B’ it keeps saying line 26 of my …
      • CISM 2030 Program. Due, Friday, December 3, 2021 by 5:00 p.m. ¬† PYTHON PROGRAMMING. ¬† County property taxes in Python County are based on 40% of the assessed property value minus any Homestead Exemp…
      • I have the function I just need the it output the answer as a list or empty list if there is no even 2. Write a function called large st_even that takes a 2d‚ÄĒlist of integers as a parameter and retu…
      • py a program with a main function and a¬†custom module named rect¬†that defines¬†three custom functions¬†about rectangles as follows: a¬†value-returning¬†function that takes a rectangle’s d…
      • 6¬† Exercise 5 (4 Point):¬∂ ¬† We want to ultimately do some network analytics using this data. Our first task to that end is to define our data in terms of a network. Here’s the particulars of what…
      • Note: Circuits not meeting the criteria outlined below will be penalized accordingly. a) Draw neatly and erase errors thoroughly. b) Avoid drawing overlapping lines. Criss-cross the lines instead. Ove…
      • Write the code for the following (4): Create a class representing an item in a store. Each object created by this class has a name (set on creation) and a quantity on hand (which starts at 0). An i…
      • Define a function square_sum that takes an integer, say n, as its only parameter, and returns the sum of the squares of all integers from 1 to n, assuming n is an integer greater than or equal to 1…
      • Can you help me answer the first bit of this question where it says to store the list of errors for pi from n = 1 to 500. My code for the Gregory-Leibniz expression is: def pi_gl(n): ¬†¬†gl = 4*sum((-…
      • Compute the approximate acceleration of gravity for an object above the earth’s surface, assigning accel_gravity with the result. The expression for the acceleration of gravity is: ¬†(G * M) / (d¬†2) …
      • Unsure how to write a python code for the following problem: Given an integer n from the user. Output the following pattern of alternating uppercase and lowercase characters. Sample program output: Pl…
      • . Topics: methods, inheritance, extending built-ins, exception Problem Statement: Small Book Repository Design and implement a simple interactive Book database for library users. In addition to buil…
      • Python Programming This project requires source code and templet. you can download it from the link https://drive.google.com/file/d/1vEN1wsb8hoOkzyxkoqvt87crznYa_pZY/view?usp=sharing Table of Contents…
      • What do I need to do to fix this code the first image is the code I have. The second image is the format of the file and the last image is what I need to do. I keep getting errors about zero division …
      • { “cells”: [ { “cell_type”: “markdown”, “metadata”: {}, “source”: [ “# 1. Fill the missing pieces\n”, “Fill the `____` parts in the code below.” ] }, { “cell_type”: “code”, “execution_count”: null, “m…
      • The output of this code gives me a list of strings with the number of occurrences for each from highest to lowest number. I need help adding a PrettyTable below the output of my code but just in a tab…
      • A programmer is writing a program (called¬† Team Shuffle ) for a consulting company that holds data about its consultants. The data¬†for each consultant consists of their given name, family name, char…
      • rx Moving to another question will save this response. Question 45 Write the complete display output of the following code. class RiverList: # def init (self, riverList): # input parameter is expected…
      • Python program that contains a¬†while¬†loop. The number of times the loop iterates should depend upon input supplied by the user. Your program should display some output each time the loop executes. I…
      • Answer the following… SUBJECT: PYTHON PROGRAMMING QUESTION 1: Procedure: 1. Create a folder named LastName_FirstName in your local drive. (ex. Reyes_Mark) 2. Using NetBeans, create a Java project na…
      • The first task is to compute the frequency vs. rank distribution of the words in Moby Dick. For this, you will need to tokenize the document and create a vocabulary mapping word types to their documen…
      • Flowchart and python. Exercise 3 Modify the program of exercise 1 so that it indicates at the end the number of sections with 20 students or more. Call this program 60XXXXXX_lab11_p3.py (where 60)0000…
      • Question 3: ¬† With a recipe in mind, you went out to buy ingredients in various grocery stores.¬† ¬† Part 1 Write a function that takes in a¬† purchase¬† history, represented as a list of tuples in t…
      • Need help with Python Challenge Question. Attached document.
      • Write a function to generate all possible 4 pairs of balanced parentheses.
      • Finish the program to compute how many gallons of paint are needed to cover the given square feet of walls. Assume 1 gallon can cover 350.0 square feet. So gallons = the square feet divided by 350.0. …
      • Please do not import any statements (i.e import numpy as np). def get_pearest_station(my_latitude: float, my_longitude: float, stations: List[‘Station’]) -> int: Return the id of the station fro…
      • The Student News Service at Clear Mountain State University (CMSU) has decided to gather data about the undergraduate students that attend CMSU. CMSU creates and distributes a survey of 14 questions a…
      • Implement the three gcd algorithms (euclid’s, consecutive integer, and middle school) in the text. Use 31415 and 14142 as input integers and output the time required for each algorithm. ¬† *CODE REQUI…
      • need solution in Python for the questions a, b, and c.¬†. 3. Gibbs and High/Low Protein Diet in Rats. Armitage and Berry (1994, p. 111) report data on the weight gain of 19 female rats between 28 a…
      • could I please get a code for python for both 17 and 18. please follow the questions exactly how they are sent and give me exact instruction i am on a Macbook as well.. 17 about Libraries: pandas is a…
      • 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….
      • A painting company has determined that for every 112 square feet of wall space, one gallon of paint and eight hours of labor will be required. The company charges $35.00 per hour for labor. Create a p…
      • . zy Section 7.8 – IT 140: Introduction X + V X C learn.zybooks.com/zybook/SNHUIT 140v3/chapter/7/section/8 it Apps ) mySNHU Login y! Yahoo @ Homepage – South… [ Mail – Syjud, Micha… Zy IT 140: …
      • Suppose you repeatedly divide (using integer division) an integer n by 2. For example, if n is 120, then this process will generate values 60, 30, 15, 7, etc. How many divisions, in terms of n, will i…
      • Make a training_data and training_target data sets FROM THE REAL DATA in the titanic_df data frame. NB: Make arrays for the training features and training target. Can help by making an appropriately s…
      • 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…
      • Need help starting this program: input is two integers and output is two integers swapped. ¬†For example:¬† Input: 3 8 Output: 8 3 ¬† I have to define and call the following function, def swap_values(…
      • GIVEN References to us ¬† ¬† How program should make an output. (Program will give output on the bottom example like that) ¬† ¬† Now, I need to answer the question on the list based on the References,…
      • Question 8 (5 points): In mathematics it can be quite tedious to re-calculate values every time for a non-changing value or list. Thus look-up tables are handy to have to save time on re-calculating v…
      • Please answer this question using python programming
      • Sample Output: Welcome to the program! 1. Add an item 2. List all items 3. Delete an item 4. Exit Enter a menu option: 2 1 : bananas 2 : apples Enter a menu option: 1 Please enter the item: pears pea…
      • Created a pygame that would bounce a ball around the screen. ¬† ¬† ¬† ¬† import pygame, sys pygame.init ¬† size = width,height = 600,400 vel = [1,1] sand = 255, 200, 137 ¬† screen = pygame.display.set…
      • A ticket kiosk at the movie theater prints tickets for customers. It asks the customer its age and charges the customer based on their age: Customers younger than 14 years old get charged $5.50 for th…
      • USE C PROGRAMMING Please upload your sortBook.c¬† Q1. You will be given a text file that each line of it describes a book, consisting of book name, author name, and publication year, in this order. Yo…
      • Purposes:¬† Assignment Two continues the MPG calculator, but more. In this assignment, you will practice the following in Python: Defining and using functions Using loop to go through a list, do the n…
      • Task 1: a) Write a script that will print the following list after removing all the duplicate items. li=[12,24,35,24,88,120,155,88,120,155] b) Write a script that will remove the 0th, 4th and 5th numb…
      • PYTHON CODE (PLZ show python code you used ) create function that, given a vector of values from an unknown function, estimates the derivative at a given point by interpolating a quadratic polynomial …
      • def kwargs_to_args_decorator(*args, **kwargs): This question is meant to test your knowledge of creating a decorator that accepts¬†an arbitrary number of positional and keyword arguments, to decorate …
      • Code: Python 3 Assume the input data is structured as follows: first there is a non-negative integer specifying the number of employee timesheets to be read in. This is followed by data for each of th…
      • how to count the number of times that each of the 50 US states appear in a text file and generate a new text file using os.path.joinÔľü for example, count the number of time “California” appears in th…
      • Creating code for a discord python bot that creates a battle feature and drops(reward) for the post-battle.
      • Which method would you use to determine whether a certain substring is present in a string?¬†A.¬† startswith(substring) ¬†B.¬† endswith(substring) ¬†C.¬† find(substring) ¬†D.¬† replace(string, substri…
      • f) Escribir una funcion que reciba un punto (x, y) , una direccion unitaria de una recta (dx, dy) y un punto perteneciente a esa recta (cx, cy) y devuelva la proyeccion del punto sobre la recta.
        • create table Student CREATE TABLE Student( StudentID INT PRIMARY KEY NOT NULL, Name CHAR(50), Address CHAR(50), GradYear INT ); — create table Grade CREATE TABLE Grade( CName CHAR(50) NOT NULL, St…
      • Hello, I need help with a computer programming lab, the language is python.¬† ¬†You can copy it from there. There is only two functions: is_palindrome_string and reverse_sentence. ¬† ¬†For reverse_…
      • Name of Python file: FileRecords.py¬† [Other files may be created to assist the functionality of Records.py See Program 5-28 (geometry.py) calling circle.py and rectangle.py] ¬† Make a program in Pyth…
      • Use the function design recipe to develop a function named sum_range. The function takes a list of integers, which may be empty, and two indices m, n what specify the start and end range. The function…
      • I need help with these instructions 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 string values in revers…
      • Write a program to open a file and ask the user to input the filename. If the file exists, display the content of the file, else create a file and write the line “File is opened in write mode”.
      • Please help can’t figure out will rate! n = 10 for i in range (1, n+1) : if i 8 2 == 0: print (i, ‘is even’ ) 1.18 Exercise: In your module pdf, trace through the iterations in the above program. Then…
      • How to write the following python program? ¬†. Exercise 5.5 Widest Fragment in a Sequence Write a program to read a sequence of integer numbers ending with the number 0. Determine the length of the wi…
      • A stack can be implemented using a list, where the first element in the list is at the bottom of the stack and the last element is at the top of the stack. For the following questions, we shall assume…
      • Classification Using Baysian Decision Rule (Parametric Learning vs. Non-Parametric Learning) Objective: The objective of this project is, first of all, to learn how to implement the two types of learn…
      • Use Python programming to count all unique words for all files in a given directory. The output must be words and their corresponding frequency. Note: To get all files under a directory, use os.listdi…
      • whose first names begin with A, B, C Task 1: Read the file and create the list(s), then print the list contents, and the number of rows (size) in the¬† list. Within your python script, I suggest that …
      • please do it in the simple form and add comments so I can read what the code is doing. 2. Write a function named Itos that takes in a nested list and returns a set of unique items found in all the sub…
      • Create/ a Python dictionary that returns a¬† list of¬†values ¬†for each¬† key . The¬† key ¬†can be whatever type you want.¬† Design the dictionary so that it could be useful for something meaningful t…
      • Create a single .py script that contains the code for the function listed. Follow the instructions on slides 3-5. Beautiful is better than ugly. Explicit is better than implicit. Simple is better than…
      • %%writefile mini_5gram.txt analysis is often described analysis 1991 1 1 1 ” Perhaps the best way 1973 1 1 1 “”” God heard their groaning” 1883 1 1 1 “&c . “” * The” 1848 16 16 14 Sweden , by payi…
      • Dans cette question vous allez programmer un jeu de pierres. Dans ce jeu, deux joueurs s’assoient devant un tas de 20 pierres. Ils se relaient, chacun enlevant entre 1 et 5 pierres (en supposant qu’il…
      • A cell phone provider has three different subscription packages for its customers: Package A:¬†¬†¬†¬†¬†¬†¬†¬†¬† For $9.95 per month 10 hours of access are provided. Additional hours are $2.00 per hour…
        • create file by writing series of lines consisting of a book title and price to the file (2) add a second set of book and title lines to the file (3) read the file you created with both sets of boo…
      • Output Assignment:¬† Instructions: In this assignment you will write a program to output information for two payees¬† including the following information about them (Payee Name, Account Number, Accoun…
      • Write a program whose input is two integers and whose output is the two integers swapped. Ex: If the input is: 3 8 the output is: 8 3 Your program must define and call the following function. swap_val…
      • python program that is a file type mismatch detector A file type mismatch detector. Remember that Linux does not care about file extensions, at least not in the same way Windows does. This means it’s …
      • In the first week of your job, you are asked to build a distributed system to execute jobs in a priority sequence. Each job has a unique identifier. You must be able to: Insert a job, according to its…
      • Good afternoon. How do I write python code for the following features? I would like to have this as an example of how to create the functions using python code. It is absolutely fine if not all functi…
      • Design a class which models the coin-operated “bank” part of a Vending machine which sells¬† snacks. You do not need to implement this class. You only need express the design using a¬† simple UML diag…
      • Reading a CSV file into a dictionary of dictionaries Next, you will create a function called¬†read_csv_as_nested_dict read_csv_as_nested_dict¬†that takes the name of a CSV file and returns the data wi…
      • Write a program that begins by reading a letter grade from the user. Then your program should compute and display the equivalent number of grade points. Ensure that your program generates an appropria…
      • Suppose in your company you wrote a Python script that inserts, updates, and deletes data in tables in a MySQL database. You post your Python script on a shared drive for other staff members to use. W…
      • ***Need a perfect code that works with no error on Visual Studio Code, with well put together comments, and an easy flowchart that works for the assignment***¬† ¬† ¬† Interactively input: Employee Fir…
      • Asks the user for a minimum and maximum number, then creates a list of integers between those two numbers, then prints it: The maximum number must be greater than the minimum. output) Minimum number: …
      • Build a ¬†consumer called¬† kafkaState.py . One may want to check out posts to see what the general feeling is towards a particular topic at any given time. Assume that we are streaming in a bunch of …
      • need dot graph of (state/union territory vs availability of beds) from this dataset link: https://storage.cloudconvert.com/tasks/0c7da99a-eaa5-4b45-98e4-5fc397840a56/final%20Eda%20dataset.csv?AWSAcces…
      • 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 …
      • Why is the failing? I really unsure on what to do here I need a basic web service using the RESTful design pattern to implement the following URIs: a. http://localhost/hello?name=”world” The above URI…
      • Why lambda forms in python does not have statements?
      • THE csv file: https://drive.google.com/file/d/1r3PE4flYjhCsUHfwFupPxJhxryrEJG34/view?usp=sharing¬†. Use this CSV file to do the following: 1. Create a list of unique values from the CUISINE DESCRIPTIO…
      • I am confused on where to start this code. I tried importing the file, but I dont know where to go from there. The Springfork Amateur Golf Club has a tournament every weekend. The club president has a…
      • from rankineFile import rankine¬† # rankineFile is where your rankine class is. ¬†def main():¬† ¬† ¬†”’¬† ¬† ¬†A test program for rankine power cycles.¬† ¬† ¬† R1 is a rankine cycle object that is in…
      • Need help with the below code. Need to be prepared to re-answer these, I tried to ask this question previously and it kept failing in the Codio test – last few tutors cancelled this question on me and…
      • I need help with a lab written in python. Below is what I have so far. I am trying to create a dictionary from a rainbow table I produced. import hashlib,binascii with open(‘rainbow_table.txt’, ‘w’) a…
      • Replicate the behaviour of the following code using a while ¬†loop instead of a for ¬†loop.¬† (As with all of these, you could just copy and paste the for ¬†loop, but that would be pointless, and you …
      • Question 4 [25 marks] a) For each of the following Python functions, write their code complexity in big O notation. [10] i) def lowest (valuesl, values2) : " "Returns lowest number from two …
      • Python Programming Read the function carefully and answer the following questions. (1) Explain the function line-by-line. It is important that literally each line must be explained. (2) Read section 2…
        • LAB: Expression for calories burned during workout The following equations estimate the calories burned when exercising (source): Women: Calories = ( (Age x 0.074) ‚ÄĒ (Weight x 0.05741) + (Hear…
      • I need assistance with a code whose input is a phrase and whose output is an acronym of the input. If a word begins with a lower case letter, don’t include that letter in the acronym. Assume there wil…
      • PYTHON CODERS We will utilize advanced features of the Python unittest framework (mocks) to develop automated integration tests. You will work on developing integration tests for a weather client whic…
      • Could you help me implement this python program. I have attached it below. From what I perceive from the question, we could use a graph with weights. All help will be appreciated. This submission is d…
      • A USB memory stick is an example of which of the following components of computer architecture?
      • #2.1. The simplest class:¬† We will start with the simplest class you could ever write in Python.¬†Create a class called Simplest() and use the pass statement. Answer the following questions: a. Using…
      • Answer the following two (2) questions and ¬†brief response explaining your thought process and how you would accomplish the task given . ¬† You have gathered data from 3 different sources. All of the…
      • Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Hints of Exercise (1) …
      • Read the following scenario, then answer the question that follows: ¬† “To help students determine whether they qualify for a supplementary exam, students can enter their final module mark and exam ma…
      • How to make a flowchart in Raptor using repetition structures, that allow me to enter current salary, annual raise, and years I work. Then I need to calculate and display the proposed salary for each …
      • for python programming When writing a multithreaded program with a shared variable, explain why a thread must first acquire a lock (e.g., Condition object) before modifying the shared variable.
      • Suppose you have a high-performance computer, which has a CPU containing a dedicated bank of k>2 optimization registers. This bank of registers supports the insertion of key-value pair, (x,y), into…
      • function named¬†max¬†that accepts two integer values as arguments and returns the value that is the greater of the two. For example, if 7 and 12 are passed as arguments to the function, the function s…
      • Python program to process a data file containing a collection of daily¬†temperatures in¬†Celsius(use random values, range : 0-100, store data in a list). Your program should¬†¬†print the number¬†of ho…
      • 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…
      • Create a Python program that will produce the following output: Given the following sentence, print out every third letter. The Python programming language makes manipulating strings very easy!
      • draw the train using python 10. (2 points) Write a function draw_train() that draws, with Turtle graphics, the train from the image below If you are imaginative, you may choose to draw a more complex …
      • Sven’s Sweets sells gourmet cookies. His wholesale orders for special occasions must be placed in 10-box cases. The “Spooky Special” box costs Sven $10 wholesale and sells for $12 retail. Any boxes no…
      • Python code written for Python framework version 2 is compatible with Python framework version 3.
      • In this section, we would like to fit a boosting tree to the data. As in classification trees, one can use any type of regression at each node to build a multivariate regression tree. Because the numb…
      • . Write a Python program in Wing. Save your file as "MP308_initials. py". When finished, upload your file as an attachment for this question within Blackboard. Your program should include …
      • True or False and explain? – Compiled programming languages is slower than interpreted languages – Compiled programming languages is more dynamic than interpreted languages – Python is an open sour…
      • create a program that begins by calling a¬† custom function ¬†named as you wish. This function must¬† create ¬†and¬† return ¬†a list of¬† 8 random integers , all in the range from¬† 10-100 . use a for…
      • What would be the best code to calculate the finances and savings of a 4 year college? Arithmetic Assignment: Instructions For this week’s assignment you will write a program that calculates the finan…
      • this is Python main.py use ubuntu or Debian to create the code. Down is the display of the code after finishing. Down below is the picture of the authlog.txt ¬†. Please download the authlog.txt fil…
      • Question: Using passive collection techniques as discussed in your readings and listed under the resources for the week see what information you can find out about Happy Accident Labs. You will comple…
      • 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…
      • Need help Array Attributes 1. Creat a 4 x 4 NumPy array B1 filled with 1’s of type int. 2. Print the contents of B1. 3. Print the number of dimensions of B1. 4. Print the size of each dimension of B1….
      • USE PYTHON PLEASE: BEFORE DO THIS PLEASE SEE THE EAMPLE: import random #I roll dice. I don’t care if it is for the console #or for a fancy smancy GUI. #I only roll a six sided die. class DiceRoller : …
      • NOTE: DePaul students receive a free edition of Visual Studio. See the website. I recommend it for this class. All assignments must be submitted as a single uncompressed .py file. Consider the grading…
      • Employee Production Worker Program Design an Employee class that has fields for the following pieces of information: Employee Name Employee Number Next, design a class named ProductionWorker that exte…
      • Scenario ¬† ¬† You are given a Product class that will store information about the products. You are also given a Store class that will store information about the stores. Your objective is to d…
      • How do I program a rock-paper-scissors game in python? The game should display a message and ask the player to enter a shape and then the players shape is compared with the AI’s shape which is generat…
      • I don’t understand the return d[aStr[-1]] part of this python problem. What is that exactly asking for? def frequencyAnalysis(aStr, i): d = {} for element in aStr: freq = aStr.count(element) if elemen…
      • Oliver wants calculate the distance between his house and three of the nearest pizzerias. He checks Google Maps and writes down the directions along with the number of blocks in that direction he’d ha…
      • I need help to with project AutoSave . Off) H PGCC Project 4 Fall 2020(1) (1) – Compatibility Mode – Word Search Tolya Chandler TC X File Home Insert Design Layout References Mailings Review View Help…
      • Question 1 to 6 #python programming (1) Create a dictionary that maps : fecuit " apple " quantity COLOR 4 "gereen " 8 = 2 Get the item in dictionary of that the key " fewit ma…
      • How would you use Python Panda, Regular Expression, .map() and any other functions you know of to format the data list found below and data munge the information on a code similar to what is found bel…
      • need help with converting infix to postfix. I must use the stack class I created, which is below, in order to convert it. I added the node class and calculator class just in case. In quotes is the exa…
      • This is a Python script. We need to modify the original script monitor-disk-space.py as per the given instructions. The original script is in the image attached ¬† The script used to monitor disk spac…
      • Please don’t copy from other tutorial sites ¬† Need help with Tkinter Python lab. Need to add the following 3 parameters on previous code: ¬†¬†¬† Include button to dump question responses to a flat fi…
      • What kind of errors occur in the following Python program? There may be more than one.¬† Briefly describe the location of each error along with its type, and explain how to fix it. n = float(input (“E…
      • Here is the question I need help with: In many card games, cards are either face up or face down. Add a new instance variable named¬†faceup¬†to the¬†Card¬†class to track this attribute of a card. Its …
      • def scramble (img: Image) -> Image: “”” Scramble the pixels in the image by re-assigning each color intensity value to a unique randomly generated number. Store information that can be used to decr…
      • It is important for networking to interact with remote systems. Exercise 1 – Download a file using FTP write a python script to use FTP to download a file to the local drive. The remote FTP site is ft…
      • I need help with this coding.. I have two different .py file and txt file (this is the text file content) B001,book,Patriot Games,15.95 B002,book,Origin,19.95 C001,cloth,Armani Suit,800.00 B003,book,A…
      • The measurement values of the acceleration signals are given below. Can you FFT using Python and reduce the noise? ¬† Measurement signal data: https://docs.google.com/spreadsheets/d/1TNYdZX1EaKlBUQ1HY…
      • Explain how using Python when would you use a list versus using a dictionary and why ?
      • use python to solve the four basic problems. links and directions included. IT110 Final Project – Python based MySQL Data Visualization Introduction: Python is very strong for data visualization – whi…
      • How can i do this?. Instructions: You will upload your .pepl file for this assignment. 1. Complete the following code shell so that the array arr3 will contain the element-by- element sum of arrays ar…
      • Python help… This is a personal project that I would like to learn how to do for my work. ¬† I am trying to think of a way to write a code that matches information from a csv file to text files, and…
      • Write a program that reads integers from the user and stores them in a list. Your program should continue reading values until the user enters 0. Then it should display all of the values entered by th…
      • Is tkinter library useful for applications development? Among web base and Android applications which one can take advantage of tkinter library for satisfying the front and designs for users?
      • Select all that apply 1 point Networks with a power law distribution have many nodes with large degree and a few nodes with very small degree. If we draw a power law distribution in log-log scale, …
      • Performance of a hash table: Compare the performance of the S&W lookup tables: sorted symbol table (ST), separate chaining (SeparateChainingHashST), linear probing (LinearProbingHashST), and a seq…
      • write a Python program that inputs a list of words, separated by whitespace, and outputs how many times each word appears in the list. You need not worry about efficiency at this point, however, as th…
      • A Python Program that meets the requirements outlined below. Create an automobile class that will be used by a dealership as a vehicle inventory program.¬†The following attributes should be present in…
      • In Python write a recursive function allTxtDirs () that takes a string representing the name of a directory as a parameter and returns a list of all the directories that contain at least one text file…
      • I figured out the code for the plot belo first picture is the output with my code. It is correct. The second picture is what the output should look like but I can’t figure out what the code should be …
      • plz help me with python programming ¬† Separate the class label (quality) and divide the data into 80/20 train test split. Train linear regression, knn regression (with an arbitrary selection of “n ne…
      • If you could help me with this it would be much appreciated! Thank you
      • Find the most influential product reviewer for every product. Note: the influential product reviewer is the customer who rated the product either 5 or 1, wrote a review for the product, has the highes…
      • You work for a new company that needs a program to keep track of their employees. The Employee class has been started for you in a file called Employee.py. The class will contain three instance attrib…
      • MUST BE DONE IN PYTHON¬† 1. Assume there is a variable , h already associated with a positive integer value. Write the code necessary to count the number of perfect squares whose value is less than h,…
      • what is the answer Suppose there is a class called Foo. Which of the following methods would be called automatically when an instance of the class Foo is created? That is, which method is automaticaly…
      • Define the function getValidMoviesData that: accepts a list of movie titles Uses the getMoviesData function to return a list of valid movie dictionaries. This function needs to test the return value f…
      • This phase has a list of deliverables: An introduction to the data that must include but not limited to 1) how was the data collected, 2) why was the data collected, 3) how did you find the data. If y…
      • you will write the code for a class named Fan to represent a fan. The class contains: ¬† An instance variable named radius that specifies the radius of the fan.¬† An instance variable named on that sp…
      • Using NumPy and MatPlotLib: Import MatPlotLib. Import NumPy. Read about the California Housing Dataset: a. www.kaggle.com/camnugent/california-housing-prices Download the California Housing dataset fr…
      • Write a script named¬† copyFile.py . This script should prompt the user for the names of two text files. The contents of the first file should be input and written to the second file.
      • Function Real average(Real values[], Integer size) Declare Real total = 0.0 Declare Integer counter = 0 While counter < size Set total = total + values [counter] Set counter = counter + 1 End While…
      • Please Help Me Write the definition of a recursive function collectint(L) which accepts a list L as argument and returns a list of all the integers found in the list L, no matter how deep the integers…
      • Please Complete using Python: Janr Jans Febr Feb s Marr Mars Apr r Aprs May r May s … Auger Aug s Sep r Sep s Octr Oct s Nover Nov s Deer Dec_s 01 725 1730 717 1757 651 1821 612 1844 537 1905 … 53…
      • it’s a Spotify bot play the problem is some thread dont play also sometimes thread open without play we need to make the bot play songs And close thread once finish then open a new thread stream close…
      • I am wondering how I could select the exact row and column my user inputs then swap with a value from 0-50 that my user also inputs: # Simple board format in 2D list def board(file): data = [] f = ope…
      • Start with the following Python code.¬†¬†¬† alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬†¬† test_dups =¬†[“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]¬† test_miss = [“zzz”,”subderm…
      • Using VS code and the steps below create 6 lego bricks. Each copy should run in its own right. The last iteration should produce output similar to the image above. Documentation: Make sure there are¬†…
      • Question 6 The type() function in Python does what when you give it an object.
      • Define a function called ent_from_split that accepts three inputs: A numpy array of values A value on which to split the values in the first array, (into two groups; <= and >) Labels for the obs…
      • Need some python help. I supposed to make a table that looks like this using list of strings, including slices and other string methods. Table 1 CS152¬†¬†¬† 21 CS369¬†¬†¬†¬† 8 CS365¬†¬† 119 CS208¬†¬†?…
      • Overview: In this assignment, you will be analyzing principles of event-driven programming, developing an event-driven application, and how to create animation. Instructions: Answer the following ques…
      • Be sure to include appropriate program¬† comments This should result in 5 different Python programs ¬†. 1. Total Sales Design a program that asks the user to enter a store’s sales for each day of the …
      • ÔŅľresearch and define “factorial ” and how it works.comment in python program 2.customize the code on the text book (12) so that each iteration (loop) is displayed on the screen 3.utilize the built…
      • here are my codes. ¬† inventory_item.py:¬† class InventoryItem: ¬† ¬† def __init__(self, item_name=”, item_count=0, item_unit_cost=0.0): ¬† ¬† ¬† ¬† self.name = item_name ¬† ¬† ¬† ¬† self.count = ite…
      • PYTHON HOMEWORK Neural Network ¬† The dataset attached has been divided into training and testing data. The training data comprises of 80% of the data while the testing data comprises of 20% of the…
      • Please find the attached .txt file.¬† The file contains list of state and cities.¬† The name ending with [‘edit’] is a state.¬† The name ending with ()¬†or [] is a city.¬† Write a python script to pri…
      • Q4 need complete solution ASAP..and give me all comands. 4. Let 5.1 3.2 1.3 4.5 T = -0.8 and y = 7.6 1.2 0.4 (a) [2 points] Give the commands (in Python/numpy or Matlab) to define i and y as given abo…
      • Implement the final version of the key negotiation protocol (You can use external libraries.)
      • Write a program to calculate the number of seconds since midnight.¬†For example, suppose the time is 1:02:05 AM. Since there are 3600 seconds per hour and 60 seconds per minutes, it has been 3725 seco…
      • Using the following pyhton code complete the given table upto 8 entries. Given Code: #User inputs length = float(input(‘Enter length ->> ‘)) breadth = float(input(‘Enter breadth ->> ‘)) he…
      • Average of Numbers ¬† ¬†Assume a file containing a series of integers is named numbers.txt and exists on the computer’s disk. Write a program that calculates the average of all the numbers stored in t…
      • Need help: Sample output: Helper: performance.py: https://pastebin.com/GWkJ6T0S nearestneighbor.py: https://pastebin.com/nJSn8ut2 stopwatch.py: https://pastebin.com/NF3p9qSY goody.py: https://pastebin…
      • Can someone help me with this code please! As of Spring 2020, in order to get into the CS major, you must have a 3.0 GPA or better in cs 120, cs210, and cs245. In this problem, you should write one fu…
      • *CODE IN PYTHON* All of the information is below, I do not need an explanation I just need the answers to check if I’m right.
      • def exercise14(words): Exercise14() receives a Python list of words. Create and return a pandas DataFrame or Series that tabulates the length of each word i.e. a list of the words hello, car, bye wou…
      • please help me code this functions in python ¬†. [40]: [4’1]: [42]: [43]: [44]: [45]: Q1 [20 Points]: Generate the Grades Using Random Numbers Module Write the following functions to generate the th…
      • # This program writes ISBN conversion menu that # verifies the check digit¬†of ISBN-10 and # verifies the check digit of ISBN-13 then # converts an ISBN-10 t a ISBN-13 and also # coverts an ISBN-13 to…
      • I nstructions¬† Objective¬† ¬† Link to dataset: ¬† ¬†https://github.com/mbahcliff/tutorial ¬† ¬†Use Python ¬† You own a diamond business and you have to replenish your inventory. You have $5,000,000 b…
      • 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.
      • The question about python application to solve the probablity problem. Make the python program (pseudocode) to solve this question ! Microprocessing chips are randomly sampled one by one from a large …
      • I need help in python coding. Can you please help me in solution. Example Run: – – Example vector: [2, 8, 3, 2, 7, 2, 2, 3, 2, 1, 3, 0 ] Valid paths: 0 2 5 7 4 11 2 5 3 1 9 10 7 4 11 0 2 5 1 9 8 1…
      • Task 7 – Broadcast RSA Attack (30 Points) ¬† A message was encrypted with three different 1,024-bit RSA public keys, resulting in three different encrypted messages. All of them have the public expone…
        • Consider the following statements: a=10 b=20 c=a*b d=a+b Draw a reference diagram to show all the objects and names after evaluating these statements
      • You are given a Python Class template. In this template there ¬†¬†¬†¬†is one class, MyHeap. The goal of this lab is to implement¬† ¬†¬†¬†¬†a max heap. Task:¬†¬†– First, create a method called getName(…
      • Question 1: Define a class named Stat that can be instantiated with a list of integers. Note: Only Python built-in functions are allowed to be used in this question. Do not use a third-party library f…
      • can you please help me with my programming project and guide me through what am i suppose to do for each slide Objective To develop a Menu for Computer Shop and payment system using Python. The applic…
      • # Welcome user to game print( ‘Welcome to the K-9 Cop Text Based Adventure Game!’ ) def intro () : print( ‘Collect 6 items to win the game or get chased by Kilo the K-9 Cop!’ ) print( ‘Move commands a…
      • Your goal, in this assignment, is to write a bus simulator. There is one or more buses that travel along a circular route, with num_stops stops. People have a destination in mind, and go to a stop to …
      • According to the Bureau of Crime Statistics and Research of Australia, the mean length of imprisonment for motor-vehicle-theft offenders in Australia is 16.7 months. A group of researchers would like …
      • . QUESTION 2 A series RC circuit with a battery of voltage lo is shown in the following figure. The switch is in the open position for a long time. At t = 0, the switch is closed and the voltage beg…
      • please use this link to access the homework, because I cant put the graphs in here: https://drive.google.com/file/d/1Wic0bRgQO8fKQz8_n4KCpmcbW9C05BoW/view?usp=sharing
      • How to implement two clustering validation measures: Normalized Mutual Information (NMI) and Jaccard similarity. ¬† Input Format The input of each test case includes¬† n ¬†lines. Each line¬† i ¬†inclu…
      • Python Question: What happens if you don’t close a file after writing to it? A. The file won’t be created. B. Nothing. It’s not a problem. C. The file will be created, but empty. D. The file will be c…
      • 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…
      • an example of list in Python code Describe how it works in English as an algorithm, which is a sequence of simple steps. Why do we use lists in Python? How do they differ from a dictionary?
      • Use a “for” or “while” loop in a python program that stimulates rolling two dice 1000 times and displays the count of each resulting roll.
      • How can I get the below result? Optional: You may refer to the below programming (the area of “Define Encrypt Function” and “Define Decrypt Function” empty, where I have no idea to type in) strRef = “…
      • Define a Python function that take arguments . Call your function three times with different kinds of arguments: a value, a variable and an expression. Identify which arguments is which?
      • Chevy by 0.4 sec And the winning team is: F 0 R D I SpeciÔ¨Ācations: I Accept the racing times for each of the Chevy cars into the array Chevy[ ]. I Accept the racing times for each of the Ford cars …
      • Need in Python SeCampus: Home x | Content x zy 6.8. LAB: Acronyms X New Tab * + -> C a learn.zybooks.com/zybook/CYB_130_53670029/chapter/6/section/8 =zyBooks My library > CYB 130: Object-Oriente…
      • not sure what I’m doing wrong. Please help..my code and the question is below The problem: 3. 1. List sum We are passing in an list of numbers. Add up all the list elements and output the result. My c…
      • compute the total growth yield of an investment on maturity. The growth yield depends on the amount invested, the duration of the investment (the expected number of years before cashing the growth), a…
      • Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Hints of Exercise (1) …
      • Add new features to this simple banking program.¬† program to display the menu with the following options and ask for the user input. Type P to populate accounts Type S to search for account. Type D t…
      • (USING PYTHON) Consider the optimization problem min Consider the optimization problem min e^(x_1‚ąíx_2‚ąí0.4) + e^(x_1+x_2‚ąí0.4) + (x_1 ‚ąí 1)^2 + (x_2 + 1)^2 write a code that implements the Gradie…
      • . 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. …
      • I can’t attach the csv file that included the table but I will copy it here.¬† var_0 var_1 var_2 var_3 var_4 var_5 var_6 var_7 target 0.928455 -0.25642 0.166811 0.456934 -0.34756 -0.96681 0.836247 -0….
      • create a program that begins by calling a¬† custom function ¬†named as you wish. This function must¬† create ¬†and¬† return ¬†a list of¬† 8 random integers , all in the range from¬† 10-100 . use a for…
      • def convert_time(hour: int) -> int: ¬† ¬†“””Return the given time in hours hour from the 24 hour clock to¬† ¬† ¬†a time in hours for the 12 hour clock. ¬† ¬†Precondition: 0 <= hour <= 23 ¬† ?…
      • Hi could you please help me with this question using ONlY regex (regular expressions) no other functions such as index are to be used. have phone numbers are in the format “(area code) 567 876 66 e.g….
      • A pedometer treats walking 2,000 steps as walking 1 mile. Write a program whose input is the number of steps, and whose output is the miles walked. Output each floating-point value with two digits aft…
      • Web Scrapping (Python codes and corresponding outputs) Go to Dell Laptop user community: https://www.dell.com/community/Laptops/ct-p/Laptops Q1. Scrape the Dell laptop community, and find out how many…
      • Rewrite insertion and bubble sort function so that both ascending and descending sort are supported, and the default option is ascending sort. Python code. ¬† def bubbleSort(lst): needNextPass = True …
      • . Question 24 Answer choices 4 Marks Select only one option Which of the following are considered to be weaknesses of K-means clustering? O 1′ 2 and 3 1) There isn’t a clear and straightforward wa…
      • I absolutely need the solution for this python programming project I can’t seem to get my solution to work We will also then calculate the correlation coefficient, and indication of how "linear&q…
      • . 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 whe…
      • S = input( ‘Enter the string: ‘ ) if len(S) < 50: print (S.isalnum()) print (S.isalpha()) print (S.isdigit()) print (S.islower()) print (S.isupper()) else : print ( ‘String is greater than 50 chara…
      • 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: <book name>#<number of copies>#<r…
      • I am stuck trying to figure out how to be able to get python to R and W a csv file. I am trying to figure out how to extract data by allowing the user to input an option to find some piece of informat…
      • PYTHON In this exercies we will experimentally calculate the probability of getting a flush in poker. Recall that a flush occurs when all five cards in a hand are of the same suit. As in the last exer…
      • change attached python file (at least make more than 50% difference), but works exactly same as original.¬† #!/usr/bin/python import sys, string, locale def init_lists(): #List of map block numbers fo…
      • Please help with practice Python problems 1-3. ¬†. Here’s an example list of friends for us to work with. my_friends = [ ("name": "bimmy", "height": 600}, {"name&quo…
      • Complete the function below which will return a list ¬†of keys from a dictionary where the stored data value matches the supplied search data value.¬† If there are no matches, the empty list [] should…
      • Monthly Sales program COMMAND MENU view – View sales for specified month edit – Edit sales for specified month totals – View sales summary for year exit – Exit program Command: view Three-letter Month…
      • Solve the following problem.. Write a python program that prints out all the twin primes below 100.
      • I have to following python script: import re import string infile = open(‘story.txt’) str_story = infile.read() target = str_story lst = re.findall(r'(.+ )\1′, str_story, flags=re.I) for val in lst: p…
      • How to get a sequence of comma separated numbers from the user in Python Jupyter?
      • Question 3.5: Use preban_rates and postban_rates to create a table change_in_death_rates that contains each state’s population, murder rate, and whether or not that state had the death penalty for bo…
      • Using the .cvs file posted with the google drive, answer the following graphing/mapping questions with python. https://drive.google.com/file/d/1SZ639cUA3DdrlI_lG2Hq0vs6HiT8OAU3/view?usp=sharing Q1 1) …
      • (+5) List the following complexity classes in order of increasing complexity. O(n’) @(27) O(log2 n) @ (n) 14 (+5) Describe the function computed by the following Bare Bones program, assuming the …
      • Return a “last name to first name(s)” dictionary with the people from the “person to friends” dictionary person_to_friends. The person to friends dictionary is P2F = {‘Jesse Katsopolis’: [‘Danny R Tan…
      • The file “karate.gml” contains the network of friendships between the 34 members of a karate club at a US university (studied by Wayne Zachary in 1977). 1. Implement a python script to implement Girva…
      • HOW CAN I ADD BACKGROUND PICTURE ON MY WHOLE GUI PAGE? THIS IS MY CODE import tkinter as tk from tkinter import ttk, messagebox import sqlite3 #window root = tk.Tk() root.title(“Welcome to UIT”) root….
      • Can’t get this question about seating, specifically how I can structure my logic, possibly using dictionaries. (Restrictions as well)
      • Can anyone please help me with this code walkthrough and it is running indefinitely without giving error because of uint. def convertBGRtoGray_scratch(img): ¬†¬†img_grayscale = np.zeros((img.shape[0],…
      • I need help with program One program is required. In the program: Start with a comment that includes your name and course number. Include pseudocode that describes all steps required to solve the prob…
      • In Python and not the brute force approach: MST implementation:¬† a. Implement Prims’ algorithm Name your function Prims(G). Include function in the file¬† MST.PY. Mention in your submission the input…
      • iterate¬†through¬†the¬†numbers¬†populated¬†in¬†the¬†list¬†twenties¬†and¬†add¬†each¬†number¬†to¬†a¬†variable:¬†total
      • How do I add code to include the user’s name in their yes or no answers? This is what I have so far: ¬† import random print(‘What is your name?’) myName = input() print(‘What is your yes or no questio…
      • How can I include a column from the original data file to the new table that I created?¬† link to the notebook and file:¬† https://colab.research.google.com/drive/13S9qmRYNc1VLslXBalph7_wzCrvVudYm?u…
      • Hey, if anyone can help me get a solution to this problem using the blocks (from the drag from here box) would be amazing!! ¬†. Problem Statement Write a function that takes in a linked list and retur…
      • Hi there, I got a question about data analysis in Python can use Numpy or pandas or the other python modules. The question is: The daily (Confirmed & Deaths) cases tend to have a bias towards lowe…
      • Compute the non-square products of all pairs of prime numbers under 12 in order from smallest to largest. To break this down: The¬† primes ¬†under 12 are 2, 3, 5, 7, and 11. These are numbers that hav…
      • i need help developing this python code ¬† ¬† # Import NumPy and Matplotlib import numpy as np import matplotlib.pyplot as plt from test_HW3 import test_solution #%% ”’ Problem 2: ¬† ¬†This problem w…
      • Run a program called¬†test3.py¬†that reads the provided file and reports the following information about Elon Musk’s tweets: The total number of tweets The tweet that contains the most words (don’t us…
      • Define the regression problem. List five example problems that can be solved using regression. State the difference between linear and non-linear regression. How do you decide whether linear or non-li…
      • (Using Python) Draw a spacetime diagram with (here, now) in the upper left of the diagram. Distance from 0 to 100,000 light years increases to the right on the horizontal axis. Time from 100,000 years…
      • Precondition: len (L)> 0 ¬† ¬† ¬† ¬† Returns the number of words that constitute pairs of consecutive words of the same length. ¬† ¬† ¬† ¬† For example: in the list [“a”, “yes”, “case”, “of”, “not”…
      • Question 13 This question is about Recursion. You are visiting a friend, who has previously completed FIT1008/FIT2085, for the weekend. But when you arrive, your friend is nowhere to be found; and ins…
      • I want to create a function¬†permutations()¬†that takes a list lst as an input and returns a list of permutations of lst¬†(so the returned value is a list of lists). and i want to do this recursively …
      • Write a Python program to read an integer from the user. Your program should then print out of the number of even, odd, and zero digits the number contained. You cannot use any String or Array methods…
      • 3.2: Bidding example. ¬† Write an expression that continues to bid until the user enters ‘n’. Sample output with inputs: ‘y’ ‘y’ ‘n’I’ll bid $7! Continue bidding? I’ll bid $15! Continue bidding? I’l…
      • Hello, How do I create a average raster from 3 individual raster files. Using python? i want the code for this process.
      • Need to build a python code which can parse timelog data file just like above TimeLogCarbon.txt file and the output should contain how many hours and minutes the author spent in each file, and we need…
      • Explore how the data changes over time ¬† Next, create similar graphs for each of the other three variables. Change the **color** of the line plots (any color you want).
      • write one function named¬†copy_and_increment. This function will have one parameter, which you can assume will be a list of integers. This function should return a copy of the parameter list, in which…
      • What will be the date type for type(list_name . sort( ) ) and type ( sorted(list_name ) ) V O < class ‘NoneType’>, < class ‘NoneType’> O < class ‘list’>, < class ‘NoneType’> O …
      • a Python program to input, store, and process hourly temperatures for each hour of the day (i.e., 24 temperatures).¬†Your program should be divided logically into the following parts: ¬† In function…
      • Solve in Python. All things considered, if the Roman Realm had not fallen, Rome would have discovered power and utilized electronic mini-computers; shockingly, the Romans decide to utilize Roman Numer…
      • Use Python code to create a car dealership. ¬†Must include¬† Drive Type (two-wheel drive or four-wheel drive) Passenger -capacity 2 people/4people New or Used car price:¬† Year model Need to use chapt…
      • Exam Grader Note: The parts below describe a single large program so you will only need to turn in one file for this assignment. I suggest that you complete each part and save each part for your own u…
      • Purpose ¬†The purpose of this assignment is to introduce students to the software/program development process and to work effectively with other programmers to develop use…
      • i need help in coding this function in python please. I asked this question before and I received a taken answers from another websites . i pretty much need a new code that is different. please help T…
      • Question 3 (2 points) Given the following nested dictionary, show how you would retrieve 1. the population of Alberta 2. the largest city in Quebec provinces = { "alberta" : { "capital&…
      • Description: Using Multithreading to Solve a Real-world Problem¬† In this project, you will be creating a multithreaded application to simulate the daily operations of a¬† community bank. You will use…
      • Write a function that PRINTS on the screen the first five positive odd integers, each integer must be on a separate line ————- “”” def five_odds():
      • Game Time You have a little free time on your hands and decide to create a simple game. Utilize the design tools that you have learned this week to design and program a very simple game. Examples: Mov…
      • is this true or false?. 5. In stem-and-leaf plots, "6/128" indicates there are six "128". ( 6. "Histograms" and "bar chart" indicate the same visualization in U…
      • Initialise an array with 12 random integer values from the interval [65 .. 75]. Visualise the values. Consider these values as the average temperatures measured in Fahrenheit. Store the values in a pa…
      • I have to implement Gaussian elimination modulo 2. (Using python). I cannot use numpy function. I found this pesudocode for it, but don’t know how to make it an actual python code.¬† ¬† // A is n by m…
      • This is a Python programming question. Thanks How many comparisons does a binary search perform on a sorted list on 1024 elements if the number we are searching for is not in the list. Note that to in…
      • Create your own Python code examples that demonstrate each of the following. Example 1: Define a function that takes an argument. Call the function. Identify what code is the argument and what code is…
      • Write a program that reads in numbers separated by a space in one line and displays distinct numbers (i.e., if a number appears multiple times, it is displayed only once). (Hint: Read all the numbers …
      • Create the logic for a program¬†using pseudocode or a flowchart that calculates and displays the amount of money you would have based on user input (money, interest rate) for one year. Create a separa…
      • Function name: election_day Parameters: a nested list; each list will contain three values: the first value will be the name of a candidate (str), the second value will be the total number of votes th…
      • . 1 Overview https : Hm . zmangames . com/en/products/carcassonne/ https : / / boardgame geek . com/boardgame/822/ carcassonne https : //en . wikipedia . org/wiki/Carcassonne_ (board_game) Carcasson…
      • Create a list named "l" with the following values ([1, 4. 9. 10, 23]). solve 2U points the following [write both the code and results for each section} : 1. Using list slicing get the sub…
      • Assume that you are writing a program to help manage vehicles. Vehicles have an ADT defined as: ¬† Vehicle ADT: ¬† Data: ¬† ¬† year:Integer – An integer indicating the model year. mileage:String – A s…
      • Develop function randomArray(m, n) that takes two integers as argument and returns a 2D m-by-n array with random elements in it.
      • Using Python 3.8.5. Need help with code for FunctionaddText. Just need clearer instructions on how to do it. Thank you! Function addText Save this task until last. The purpose of addText is to put a s…
      • . Figure 2: Step by step solutions to the above game Figure 3: Unsolveable game: [3, 4, 1, 2, 0]. Deliverables TestSolvePuzzle . py . Test at least 4 puzzles: – solveable only using clockwise moves,…
      • Write the generator function genInf(aList) that takes in a Python list and returns a generator which yields all the items in the provided list one by one in an infinite loop. Do not use the Tab key to…
      • You must close a file in order to guarantee that all data has been physically written to the disk. true or false
      • Please only provide me with the correct code, I have attached the downloaded file. < >O learn.zybooks.com C zyBooks My library > IT 140: Introduction to Scripting v3 home > 7.8: LAB: Word …
      • Remove Fragment We need to prompt for a string that contains the letter “h” at least two times. In the string, we need to remove the first and last occurance of the letter “h” as well as all the chara…
      • Please help me out, it’s a python problem. Find the movie soulmate for a person. In order to find a person’s movie soulmate, you will compute the cosine similarity between this person and every other …
      • The words cinema and iceman are anagrams 7. (Sets ) Given the Sets below , write python Statements to ! SET1 = 1 1, 2, 3, 4, 57 JET Z = = = E, BY JET] = |1, 5.4, 13, 171
      • https://1drv.ms/x/s!AsJmq4RS6w5ulGcUukP7BLRHadDA?e=YNVK6o. Lab 5H Using the LabData.csv dataframe: 0 Display the data frame 0 Display a data frame that shows true for each data point that is M 0 Displ…
      • You have to make game in python. (10000 points game) ——————————————————————————————————————————————- Scoring…
      • topic: TELEGRAM BOT USING PYTHON hello! i already have a telegram bot but i want to take it to next level. You see, i want to perform a specific task for sending a music and a file(see code below) but…
      • (use python)obtain the file Numbers.txt. ( I pasted and screenshotted it below) ¬†This file contains a long list of random numbers. make a program that opens the file and does the following: a) Coun…
      • A prime number is an integer greater than one that is only divisible by one and itself.¬† Python function that determines whether or not its parameter is prime, returning¬†True if it is, and False oth…
      • Write a Python program called diagonal.py to generate and display a matrix of dimension n by n (i.e. a table of n rows by n columns), were all its diagonal elements are equal to x and all other entrie…
      • How would you find the image that matches the pattern on the left using opencv in python? The image that matches is image 7
      • hi can someone help with these questions? i want to check the answer match with me, since im confused on them. pls answers all 1-11. this lab require to do in Jupyter notebook. but you can send me the…
      • I would like a walk through on how to develop a python ver 3.x based application. This application must allow a user to enter the values of two 3X3 matrices and then select from any of the following o…
      • 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?…
      • please make sure to read the question properly. This is the third time I’m asking the same question because I was given a random answer that had nothign to do with what I asked. Thank you!! ¬†. from t…
      • Assignment states:Backpack of stuff Complete the following code. Fill in the two sections of code identified in the comments. I keep getting stuck on the part that I am supposed to add as the loop kee…
      • Please help!! My program print the receipt like this. My program i use is python 3.9 and the lines of code is listed as below ¬† ¬† hammer, 6, 7.99, 47.94, nails, 15, 8.99, 134.85, screws, 5, 10.99, 5…
      • 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 …
      • You have to make a game in python. (10000 points game) Please read all the information first ———————————————————————– Turn ——————————…
      • 11.2: Assigning a sum. ¬† Write a statement that assigns total _coins with the sum of nickel _count and dime _count. Sample output for 100 nickels and 200 dimes is: 300 total_ coins = 0 total _coins…
      • Please please help me I am really clueless how to begin with please help ūüôŹūüôŹūüė≠. 1. A central indexing server. This server indexes the contents of all of the peers that register with it. It also…
      • I need assistance with modifying my script to import JSON file(s) from GitHub, instead of a file location on my computer. ¬† So integrating these lines of code into the code below. url = ‘https://raw….
      • need help with this home work and discount should be in the percentage format
      • Problem 1: ¬†make a list (or tuple only, no dictionary) that contains the months of the year. ( do not hardcode the month number) ¬†¬†¬†¬† Problem 2: ¬†make a loop to print the number and the month…
      • List Comprehension: create a poker deck with list of lists. For example, your deck should be [[“H”, 1], …[“H”, 13], …., [“C”, 1], ….]
      • Read the Banking_Marketing.csv file and load it into a dataframe and do the following task Display all the description about the dataset (Description of columns as well as statistical measures) Round …
      • Task 4: Little and Long Lists <¬ß2.2.1 While-loops; ¬ß3.1 Strings; ¬ß2.1 Conditionals> Warm Up Let’s start by learning about indexing. Indexing allows us to access the ith element in a sequence….
      • 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 …
      • Find a code in python for the data in the link : https://drive.google.com/file/d/1MuyGf89srOt56r-itLa61qhKCzWHkDGr/view?usp=sharing First 10 lines of the data : The data set is “adultincome.proc.csv”….
      • what is the answer What would be the output of the following program? Note: This question is expected to take longer than 2-3 minutes. You may wish to flag this question and revisit it at the end. Ple…
      • 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…
      • Convert the DiceDemo program discussed in this chapter to a completed craps game gui application ( crapsgui.py ), using the Player data model class you developed in Project 6 ( craps.py ).
      • Solve using Python/Spyder The van der Waals equation of state can be used to calculate the compressibility factors (Z) of gases. One approach (from Thermo) is a direct solution of the van der Waals eq…
      • Please see the image for my question. One dimensional trajectory with friction Given the initial velocity and height of a one‚ÄĒdimensional point particle that is thrown up or down. calculate the velo…
      • How to create a dictionary of books from a table in python. Book Author #count Price To Kill a Mockingbird Harper Lee 12 $17.99 2 The Years Virginia Woolf 4 $20.99 3 Anna Karenina Leo Tolstoy 10 $19.9…
      • File “C:/Users/range/PycharmProjects/week4/Workman_Week4Assigments.py”, line 46 ¬†¬†def team_list (): ¬†¬†^ IndentationError: expected an indented block
      • could u aid with these. Make sure to split the function and the main file into separate parts. Only use 1 return statement in the function file. Make sure to use .format (formatted output method for p…
      • Write one regex pattern using the re.findall method that finds the stock tickers with only 2 letters in the following string: "AAPL MSFT GOOGL AMZN FB TSLA TSM NVDA V JNJ UNH JPM BAC PG HD WMT…
      • When answering the following questions the DataFrame df has the structure defined in “Part 2” of this assignment: df has dates as row labels with ‘AUD/USD’ and ‘EUR/AUD’ as column labels. ¬† ¬† ¬† …
      • 8 LAB: Adjust list by normalizing – functions ¬† When analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the data. This can be done by normalizing …
      • a program that generates the first N terms of Fibonacci series 1,1,2,3,5,… by python ?
      • alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬†¬† test_dups =¬†[“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]¬† test_miss = [“zzz”,”subdermatoglyphic”,”the quick brown fox jumps over …
      • I have implemented AVL tree . The output is not exactly as it should be. Please check my code . below is the graph of output. python code: class Node(): ¬†¬†def __init__(self, data): ¬†¬†¬†¬†self.data…
      • Trying to follow these directions: The results should look like this: When I try with my code: import numpy as np import math import pandas as pd import matplotlib.pyplot as plt def main(): col = [“Sc…
      • Hello ! I don’t understand which formula I should use to resolve this problem. My textbook doesn’t help.. 2. Sample Size and Confidence Level A data science class at the large Data 8 University wants …
      • Function findFirstOccurance – this function needs to accept 2 strings by parameter, the first is a character to search for and the second a string to search for the character in. The function is to…
      • Exercise 1 1. Create 3 favorite things about you using multiline string. 2. Using string variables to print the student full details. (first name, last name, address) ¬† Exercise 2 Create a list of ag…
      • Implement the function stacks_to_queues which receives the following input parameter: master_stack: a Stack object in which all elements are also stacks As you see, elements in the master_stack are no…
      • Sometimes servers are down, so clients cannot connect to them. Python raises an exception of type ConnectionRefusedError in a client program when a network connection is refused. You can generate this…
      • 02 – Multicast or Nah? 10 coding python Given an IPv4 address as a string in dotted decimal notation, return True if the address is multicast, otherwise return False. IPv4 multicast addresses are thos…
      • Recursive Algorithm Your solution MUST use a recursive function to identify the paths.
      • I need help creating another turtle that starts 100 units away. Heres the code i have so far ¬† import random import turtle def isInScreen(win,turt): leftBound = -win.window_width() / 2 rightBound = w…
      • Using PYTHON, ask an operator to enter a number until 5 numbers are entered.¬†¬†Each number entered will be added to a total and the total of 5 numbers will be printed along with the average of the 5 …
      • hobbies/interes 2. Create a program that produces a bar chart for the top 5 interests for the entire class sorted in the order of popularity. You can create a randomly generated list of integers to te…
      • def programMenu(): ¬†¬†print(“this program will accept ages until 0 is entered”) ¬†¬†choice =continueChoice() ¬†¬†if choice ==”Y”: ¬†¬†¬†¬†ages=collectAge() ¬†¬†¬†¬†print(“there are “,len(ages),”in th…
        • 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…
      • Write a program that uses¬†input to prompt a user for their name and then welcomes them. Note that¬† input ¬†will pop up a dialog box. Enter¬† Sarah ¬†in the pop-up box when you are prompted so your o…
      • Given a numpy array a: where [ [4, 5, 6, 7], ¬†¬† a= ¬†[4 ,1, 0, 1], ¬†¬†¬†¬† [5, 0, 1, 3], ¬†¬†¬†¬† [9, 8, 3, 2]] how can you get below matrix from the middle of a? [1 0] [0 1]
      • Repeatedly ask the user how many credits they have. If they have 30 or more credits, stop asking and output “You graduated!” If they have less than 30 credits tell them how many more credits they need…
      • Help writing a function max(L) which examines the argument list L, and returns the largest object of type float. If there is no float object in the list, then the function returns None. For example, m…
      • its not working class CipherTest(): def __init__(self, shift=0, left_right=’r’): self.shift = shift % 26 self.direction = left_right def shiftToRight(self, text): encoded = ” for letter in text: if l…
      • I need the starter code editted given in the drive folder: https://drive.google.com/drive/folders/1NA2zyXsWtvz1mafLEEI7-KvKRZTZ-uy4?usp=sharing ¬† You will be populating a database table with informat…
      • I have been working on this problem for the past week and I can’t seem to completely figure this out Compute their Cartesian product,¬† AxB¬† of two lists .¬† Each list has no more than 10 numbers. Fo…
      • I just need the python code, I dont need explanations (I use pyscripter)
      • practicing linear and binary search . Problem 2 Let plist be a Python list of distinct integers sorted in ascending order. Suppose plist is shifted to the right 1: times (0 3 it < Im(plist)}. Deter…
      • Help with this code. Need the exact output with the information given. Thank you.. D GOD HIX LD PV POGONEL GA <.com/contests/1500s22/challenges/nested-if-sales-bonus Hulu | Home youtube HBO Max Cen…
      • Consider items with n possible features. Each feature is contained in an item with probability p. (a) What is the probability that any pair of distinct items will have Jaccard similarity at least j? F…
      • Create a Python program hasXY.py containing a function has_X_and_Y(s) returning True if the input string s contains both the lower case letters x and y (and False otherwise). That is, the strings abbx…
      • The pish shell highlights orders which return a number leave status. Compose (‚ąó) C, s ‚áď n, s0 to demonstrate that order C began in state s ends with leave status n and last state s 0 . A leave sta…
      • PYTHON, no libraries: how would I add in def_alg_average (image 2) into my existing program? I need to build in a new function to this, without directly using from def testdata with these parameters: …
      • Here is the python exercise and the exercises’s situation. ——————————————————————————– Exercise (1) Lab Exercises Situation: Example: #!/usr/bin/en…
      • MT_ACT1: Object Basics ¬† INSTRUCTIONS ¬† 1. Define a class bicycle 2. Properties: brand, model, year, description, weight_kg 3. Methods: name, weight_lbs, set_weight_lbs Description: name – take bran…
      • // First we define some data about units in Computing let units = [ { ‘code’: ‘COMP2117’, ‘title’: ‘Web Technology’, ‘offering’: ‘S1’ }, { ‘code’: ‘COMP2017’, ‘title’: ‘Algorithms and Data Structures’…
      • i need to make a code that adds to 12 the starting script is import sys N = int(sys.argv[1]) # Write your code here
      • 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…
      • 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. Tip: you will need to use a utility variable to store the maximum …
      • Flowchart and python. Exercise 4 Modify the program from exercise 3 so that it indicates at the end which shape has the largest perimeter and which one has the largest area. Call this program 60XXXXXX…
      • A random walk in two dimensions along a square grid has equal probability of veering off in any direction. Over time, this means that the expected total distance travel increases, but the mean expecte…
      • Extend the program from Exercises 5.9 such that the minimum andmaximumxandyvalues are computed, and use the extreme valuesto specify the extent of thexandyaxes. Add some space above theheighest curve….
      • Create the zigzag.py program from the directions contained in the Zigzag.pdf file. (This is also listed on pages 72 – 74 of the 2nd Edition.) 2. Add three comment lines at the top of the program th…
      • solve this ASAP Links Insert ICT_FA20_FinalLab.pdf X Question 1: (10) Write a function to display students exam results. Following requirements must be fulfilled: Read the names and marks of at least …
        • Build a decision tree using the training instances and print to stdout the tree in the same format as the example tree shown below.
      • This code from A2, this code is about student table: db = {} ¬†# an empty dictionary while True: ¬† ¬† print(“”” ¬† ¬† 1. ¬† ¬†Prompt user to enter a student info ¬† ¬† 2. ¬† ¬†Print out all the stude…
      • Write a program that takes user entered lines from the keyboard and stores them in an array. When the user enters “quit”, the program prints out all the lines sorted (i.e. a line starting with an “Ab….
      • I am unsure how to correct the python code that was given, I can provide the py files but there is no answer in this document. You are complete when you can produce the following output from the Remin…
      • Draw the outline of only 2 buildings. This is different from the image shown . Each building MUST include at least 2 windows +1 door. Rather than a night scene with stars,your version will be a daytim…
      • . Cc ou m Cc = La Ki DE Nc X G SI C SC = G = G A St = Jal riu Fl rses/2489809/quizzes/5155491/take D Question 13 12 pts Cookie Calories A bag of cookies holds 40 cookies. The calorie information on …
      • . 3. Scenario ‘Shop automatic system’ allows the staff/shepkeeper to communicate and provide an excellent customer experience. When a potential customer arrives at a store, he/she is asked by the…
      • Goal We want to build a program that charts corona virus cases for the top x countries, where x is an integer entered by the user.¬†Something like this: After that, you’ll create a pie chart showing t…
      • Downloading the file ‘citypopulation.txt’, which contains the population of Australian major cities. The cities’ names are in ascending order with their respective population. Python program that read…
      • Get the positions where elements of two arrays match Use the array given below: ¬† num_array1 = np.array([1,2,3,2,3,4,3,4,5,6]) num_array2 = np.array([7,2,10,2,7,4,9,4,9,8])
      • please help, Thank you!! the last answer is incorrect!!! any question please comment¬† Question: Write Gerkin test scenarios (Given, When, Then statements)¬† describing ¬†tests below. ¬† def test_calc…
      • We are in a long jump competition with various athletes. Some athletes are injured so their performance can be affected. These are the variables used: speed¬†is the running speed in m/s (float value g…
      • 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…
      • 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 …. ………… …… …… ………… …………….
      • IT-255 Intro to Linux Operating Systems The¬†touch¬†command executed on parent directories The same way as the¬†mkdir assets/ …¬†command created the¬† assets ¬†directory with the children directorie…
      • NOTE: CANT USE MIN, MAX, or SUM ONLY LOOPS; WHILE LOOPS The link is with using sum; what can i change to take out sum Create a function called allButMax that expects no arguments. Instead, this functi…
      • Using Python Calculate how many transactions have incorrect Amount. ¬† Note: Amount is price*qty, and applying the discount. If Discount Percentage is 0, that means no discount is applied. If Discount…
      • I need help with this Python Code: ¬† My Previous Code is below: # Import the required libraries ¬† import numpy as np from sklearn.linear_model import LinearRegression from sklearn.model_selection im…
      • list all the members that have not been issued a single book so far. In sql
      • I did not score many mars in the following question, please share and explain the answers, the marking points are attached. kindly read the function specification carefully and note that we are ONLY a…
      • 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…
      • Write function to get a non-empty string. you should be able to enter any string as long as it’s not “”. Use this in a program to ask the user for their name using your function… Then use the same f…
      • read it thoroughly look at the solution box. For this task, you are to write a function that analyses the balance of macronutrient calories in a given food product. Instructions Your task is to write …
      • A key factor in any IT project is making sure that software applications are designed for effective human-computer interactions as well as universal access. Your goal in this discussion is to evaluate…
      • import csv def process_shifts (path_to_csv) : “”” :param path_to_csv: The path to the work_shift.csv :type string: :return: A dictionary with time as key (string) with format %H:%M (e.g. “18:00”) and …
      • Instasmart Essentials has been an emerging brand¬†in furniture, vehicles, accessories,¬†electrical, electronic appliances, etc.. for rentals. The brand has the¬†most comprehensive ranges of products f…
      • . 7. What will the output be for the following code? my_list = [2,7, 1,8,2] X = 0 for a in my_list : x += my_list [a] print (x) A. 0 B. 2 C. 10 D. 20 E. None – an error will occur.
      • All coding is on PYTHON . INSTRUCTIONS: Answer this as soon as possible.
      • Check 1. (97) Rens: X & Course M X display_fil X test_lab1( x lab10.pdf x pdf (1).pc x y! Lab 10 Cs X Homewo X CSci 1100 X y y! how to ta x / 10 wayst x + X – – C D submitty.cs.rpi.edu/courses/f21…
      • Please use Python to solve them, totally incorrect or copied answers will be send back to tutors, thank you! ¬†. 2 Implementing the Notch Filter (6 marks, 2/2/1/1) Notch filter introduced in section 1…
      • Lab Goal :¬† ¬† This lab was designed to teach you how to use variables. ¬† Lab Description :¬† ¬† Write a program that asks the user to input a numerator and denominator of a fraction.¬†The program w…
      • Write the first line of the Python definition for a class named Terrier. The class will extend the class named Dog.¬† ¬† 2. Examine the following class definitions: class Fish: def __init__(self, t…
      • How can i code a maze using tabs? N = x + y * nX¬† E = 1 + x + y * (nX+1)¬† S = x + (y+1) * nX¬† O = x + y * (nX+1)¬† notice that the wall number N can be used to uniquely identify a cell with one num…
      • Hi there, I need to change up the code snippet down below. All I need is to make changes to the code written below but the output should be THE SAME. #¬†Class¬†to¬†represent¬†a¬†graph class¬†Graph: ¬†…
      • JJonak is an Overwatch player that loves to summarize his team’s game stats with ASCII characters in Notepad. One day, he noticed that the team’s stats have too many repeated characters, such that his…
      • Write a Python function named helper that takes as input two strings s1 and s2 (attach your compressed (and uncompressed) q3test1.py file below or copy it into the space below). ¬†The strings have onl…
      • TargetCRM is a CRM software company that is currently looking for a way to improve the architecture of its solution. The software sends emails to registered users every week and today the system does …
      • Given an “out” string length 4, such as “<<>>”, and a word, return a new string where the word is in the middle of the out string, e.g. “<<word>>”. make_out_word(‘<<>&…
      • CURVE TRACING Trace the curve of the following equations by giving the a. Intercepts b. Symmetry C. Vertical Asymptote d. Horizontal Asymptote e. Curvilinear Asymptote f. Sign of ordinates in each Reg…
      • . Create a Python script Ô¨Āle (named continue_break.py) that demonstrates the basic elements of using a break. continue and a pass statement In a python script. Create a properly named Ô¨Āle which …
      • please create a login page using python and HTML. description is below ¬† User will see a login screen when they first navigate to their site. After providing a username (no need to input a password),…
      • Program in Python The input consists of a single line containing a name N . A name is a string of at most 50 alphabetic characters. The program outputs a line containing the string “Ciao N !”
      • Modify the following code such that it prints all the integer between 1 to 10. In addition, generate the same output using while loop. (5 Marks) for i in range(0,10): print (i) 2.An integer greater …
      • Task 8 Please do the following: Generate a random NumPy array of shape (5,10,15) use the np.random.rand method.¬† Sort the array along the first axis. Sum the array along the second axis. Keep the dim…
      • please help me with 3rd and 4th part answer. I have 1st and 2nd part answer Define a class ‘MobileInventory’ with the following specifications: Define the class method ‘__init__’, which initializes an…
      • Re-write the code to handle expected exceptions in the code. def main(): ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†population = input(“Please enter the\ ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†populat…
      • In python example input: [0, 1, 55, 56, 64, 492022654431536432] example output”problem12″: [ ¬† ¬†“80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000…
      • Suppose now you are invited to play a game called Pass-the-Bomb. In this game, a group of¬† n ¬†players will form a circle and the first person will be given a bomb. At each turn, the player with the …
      • Can someone explain to me what this script is doing section by section? ¬† ## # This module requires Metasploit: https://metasploit.com/download # Current source: https://github.com/rapid7/metasploit-…
        • (10 pts, written) Given a list of all matchings between n men and n women, along with the mens’ and women’s preferences, write a pseudocode of an algorithm that returns the number of stable matchi…
      • . Part3T9 Clld mobile phone only has numerical keypads where every letter is associated with a number as shown below. Number 0 is designated as the spacebar. Since writing is tedious in old mobile p…
      • Problem 2-return_rates () in numlib . py: Daily rate of return [20 points] Define a function called return_rates, which accepts a list of (strictly) positive floats as an argument, and returns a new l…
      • Given Code: ¬† #One common function of online text-parsers is trying to find #known text in a block of other text. For example, from a web #site, we might want to find any phone numbers present on the…
      • Is there anyway you guys can correct this. It states ” File “main.py”, line 28, in <module> temp1 = d1[temp] KeyError: “‘” Expected output: Input String: characters in a dictionary in a dictiona…
      • (I can not get the program to print my smallest when it prints the smallest number it prints 0) # variables for the total, average, counter,max number min number maxNumber = 0 minNumber = 0 total = 0 …
      • Create an object from a class for each name and age that the user enters by storing the full name and age in an object and then saving that object to a list. When the user does not want to enter more …
      • Write the Body and Systems classes so that the “earthmoon” driver runs. ¬† ¬† #earthmoon driver for gravity simulator #from cs1lib import * from system import System from body import Body WINDOW_WIDTH…
      • I have another practice python assignment I need help with. Thanks! “The fourth assignment involves writing a Python program to compute the average quiz grade for a group of five students. Your progra…
      • (***IN PYTHON***) plagiarism: This Boolean function takes two filenames. If any line occurs in both files, return True. If not, return False. I suggest using nested loops. With nested loops, we call t…
      • I have to create python programs for the following questions . I also have to use functions/multiple functions in each question. The professor has also given us example outputs for each problem which …
      • This is a data set of PL spectra of CdSe quantum dots. A UV bean was used as excitation. wavelength (nm) emission (a.u.) 650 0.005384472 649 0.005559078 648 0.005819496 647 0.005533252 646 0.005773458…
      • in this assignment you will be creating 4 classes Loan, Client, Accountant, and Bank along with a single function called create banks from file.¬† 1.1 Loan The Loan class takes in 3 arguments principa…
      • Hello, I am a student from the university and I need someone to help me with the anaconda paython program for a computer physics subject. Can you do that or point me to someone who can help me? I want…
      • Falling Distance When an object is falling because of gravity, the following formula can be used to determine the distance the object falls in a specific time period: ¬† d = ¬Ĺ gt 2 ¬† The variables i…
      • I need help. Implement the following to simulate how websites ensure that everyone has a unique username. a) Make a list of five or more usernames called current_users. b) Request an input of username…
      • . This image has been encrypted by XORing the data with a secret key. We can recover the original image by XORing the noise image with the key in a certain fashion. XOR(also known as exclusive OR…
      • CS-546 Lab 3 The purpose of this lab is to familiarize yourself with asynchronous programming in JavaScript, as well as using modules from the Node.js Package Manager ( npm¬†(Links to an external s…
      • 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 …
      • Using the provided network diagram, create a python program that finds the shortest path routing using the Bellman-Ford algorithm.¬†Your program should represent the fact that your node is U.¬†Show ho…
      • H Homewor… Search (Alt+Q) Marroquin columbus, Joy X AutoSave O Off) Comments v Share File Home Insert Draw Design Layout References Mailings Review View Help Picture Format Find LO Cambria 11.5 ~ A&…
      • Python program that does this ### Testing Products ### Id: 1238223 Name: Sword Price: 1899.99 Quantity: 10 Sword (10) – $18999.90 Id: 838ab883 Name: Shield Price: 989.75 Quantity: 6 Shield (6) – $5938…
      • Optimize number of features Vary the number of features at each split to find the best values of¬†max_features. You should search from¬†max_features=1¬†to¬†max_features=7¬†inclusive. Use 4-fold cross-…
      • Write python program that chooses among two alternative unary operations on a real number entered by a user. The choices are ABSOLUTE VALUE and GREATEST INTEGER VALUE. Do not use any intrinsic func…
      • Part 1 For this part make class (Stack) that implements all of the stack operations described in the lectures. Those operations are provided, below: ‚ÄĘ top(): Returns the top of the stack ‚ÄĘ pop(): …
      • Scikit-Learn sklearn.datasets has the wine dataset in load_wine loader: Show the classes of this data , the features of this data, and the number of the dimensions in this data, and how many samples t…
      • n all functions must include docstrings and type hintslannotations}. Programs with functions must have the statement at the end of the program before calling the main” function. if name == " ma…
      • 6 ¬†Write a program to prompt the user for hours and rate per hour using input to compute gross pay. Pay should be the normal rate for hours up to 40 and time-and-a-half for the hourly rate for all …
      • Create a Python class, called Person, which defines two attributes name and age, and the following methods: __init__ initializes the name and age attributes, both of which are required. The set_name a…
      • ^Function from #15. 15. In this program you will re-use the bmi function from #15. Enter height and weight for several people as shown below. Heights should be stored in a list. In a different list, s…
      • In python 3 in Internet Service Provider(ISP) has three different subscription packages for its customers: Package A: For $15 per month with 50 hours of access provided. Additional hours are $2.00 per…
      • Write a function called overlap that takes a set of integers and a list of integers as parameters and that returns a new set containing values that appear in both structures. For example, given set an…
      • Project Overview You will create a Python program that allows users to input personal information and will respond with an overview of their general health. Your program will calculate the following m…
      • 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 …
      • Lab Assignment #5a A Method for Finding a Single Root: Now that we know all about loops, we may be tempted to simply compute f(x) for a large number of x values and determine when f(x) == 0. However,…
      • Use R make a simple ” Side Panel¬† (with controls) /¬† Main Panel¬† (with results)” app, with a¬† selectInput ¬†and a¬† sliderInput .¬† For Example: Code for the example above: # # This is a Shiny web…
      • Okay, I’m trying to make a simple chess game using python without using any imports like pygame or basically anything that actually makes this easier. I’ve looked online and even in some books and the…
      • please help me understand what I am doing wrong. # Get our car speeds from the command line Collapse Logical Operators import sys speed1 = int(sys. argv [1]) speed2 = int(sys . argv [2]) 3. 2. Fast ca…
      • . inputDatat) function The inputData(} function is passed the data it uses as parameters when it is called and returning the inputted data. It has a loop, inside the loop are statements to …
      • How do I parse an EMBL file for the information I need? Here is my code so far def printembl(): ¬†¬†for line in emblread: ¬†¬†¬†¬†if line.startswith(‘ID’): ¬†¬†¬†¬†¬†¬†print(line) ¬†¬†¬†¬†if line.star…
      • Part 1 (40 points) Read in¬†world_population_2017.tsv¬†and create dictionary. Start out by filling in the makePopDictionary function definition so that it reads the input file world_population_2017.ts…
      • Pseudo-code. Previous Page Next Page Question 19 (4 points) Consider the following code snippet. What is the output? x-12 Y-13 if (x!my) : y=y+2 x=x-2 elif (y>=x) : xay+10 elif (x<y) : x X-11 el…
      • I’ve been trying to solve this problem for a while now, but couldn’t get it right. If someone could help it would be much appreciated. This question is supposed to be solved using Trie. Here is the co…
      • I need help formulating the code for an advance baseball simulation in part c and d I am not sure how to set up the code with what I am given. import numpy as np import matplotlib.pyplot as plt import…
      • https://www.glowscript.org/docs/VPythonDocs/mouse.html. Calculate the number of times that your loop will run and show your calculation and answer in your Lab2 One Drive doc. The rat…
      • ### GRADED ### Follow directions above ### YOUR SOLUTION HERE def update_clusters_GMM(points, cluster_weights): ¬† ¬† ¬† ¬†“”” ¬† ¬†Update cluster centroids (mu, pi, and Sigma) according to GMM formul…
      • program that prompts for a file name ,then opens that file and reads through the file,and print the contents of the file in upper case.use the file words.txt to ptoduce the output bellow.
      • Here are the import data: 0801 1100 ‚ÄĒ Computer Science 1 Homework 8 Bears, Berries and Tourists Redux: Classes Overview This homework is worth 100 points toward your overall homework grade, and is d…
      • Please show your work, thank you!. Regular sudoku is played on a grid of 9 x 9 spaces. Within the rows and columns are 9 "squares" (made up of 3 x 3 spaces). Each row, column and square (9 s…
      • no chegg. Howe Truss The upward forces at A can be calculated by taking a summation of the moments at E Moment is distance * force Moment at E = 0 = 40*4 + 20*8 + 20*12 + 30*16 – FA * 16 FA = 65 kN Si…
      • OPS245 Winter 2022 Assignment 1 instructions for JennaDoucette Install a new Centos 7 VM into your existing c7host, using any of the installation methods covered in this course. Ensure the machine has…
      • How do i add a invalid answer comment when a user inputs a written number e.g ten instead of 10 total_hours = ” tax_rate = ” hourly_pay = ” bonus = ” def getInput(): global total_hours global hour…
      • need python code question 1 through 10. Using the list names defined as follows: names = [“Euclid”, “Archimedes”, “Newton”, “Descartes”, “Fermat”, “Turing”, “Euler”, “Einstein”, “Boole”, “Fibonacci”, …
      • This is for Jupyter Hub which uses Python. Please explain how you got to your answer and what type of error occurs. Thank You! ūüėĬ†. 1. For Python expressions below, write the output when the expre…
      • please do not copy from Chegg and course hero 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 rando…
      • Programming Language: Python:¬† ¬† ¬† x = 15 print(“This is the value of x:”,x, “\n”) output: This is the value of x: 15 ¬† “Describe the action being executed by the former code block:” Also, what is…
      • Python Programs to Submit Design and Write Pseudocode Store a numeric value into a variable. Print the value of x and mydouble Use a loop to print out the user’s name to the display (each printout on …
      • can I get help in this function please? i attached picture of the question knowing that: not allowed to import anything. ‚ÄĘnot allowed to use sets and dictionaries ‚ÄĘ not allowed to use comprehensio…
      • I am having issues where it says “Your Code Here.” I’m not sure what I am doing wrong for it to execute. We will be extending the Caesar cypher we looked at earlier into a full-fledged password saver….
      • Ask the user for the number of students in the class. For each student, ask for the student name and score. Print the letter grade. Keep a counter of how many Fs in the class. Calculate the average…
      • To write a Python function concat_list() that accepts a list containing string values and an integer as input and prints out a new list where each element in the list is concatenated with all integers…
      • Given an integer representing a 10-digit phone number, output the area code, prefix, and line number, separated by hyphens. Ex: If the input is: 8005551212 the output is: 800-555-1212 Hint: Use % to g…
      • I need help figuring out why this code keeps giving me a syntax error. PYLink = set() for link in links: ¬†¬†¬†¬†hrefs = str(link.get(“href”)) ¬†¬†¬†¬†if hrefs.startswith(‘None’): ¬†¬†¬†¬†¬†¬†elif hre…
      • P height.py – C:/Users/eldho/AppData/Local/Programs/Python/Python39/height.py (3.9.6) IDLE Shell 3.9.6 X licros File Edit Format Run Options Window Help File Edit Shell Debug Options Window Help def m…
      • def past_weather(days: int, hours: int, minutes: int, us_zip: str)-> float: ¬† This function should use https://openweathermap.org/ API (user account required)¬†to collect its weather information. …
      • Question – A function¬† integrate_earth(tmax, dt=1e-3) ¬†that returns the trajectory of the Earth, assuming that the Earth only feels the attraction from the Sun. Produce a trajectory for time¬†0 <…
      • . CHALLENGE ACTIVITY 7.2.1: Function errors: Copying. Using the celsius_to_kelvin function as a guide, create a new function, changing the name to kelvin_to_celsius, and modifying the function accor…
      • . l) A simple sorting algorithm is called a "Bubble Sort" because elements bubble around through the list. It is also called a "Sinking Sort" because the larger values "sink…
      • 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 ¬† Then ?…
      • 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 friends with Harr…
      • KINDLY ASSIST I have here the completed working code of a command-line guessing game. The code works but has 10 critiques that need to be addressed. the critiques will be in the comments as #Critique1…
      • 5.1: Functions: Factoring out a unit-conversion calculation. ¬† Write a function so that the main program below can be replaced by the simpler code that calls function mph_and_minutes_to_miles(). Or…
      • pseudocode Design a class named Car that has the following fields: yearModel- the yearModel field is an Integer that holds thecar’s year model make- the Make field references a String thatholds the ma…
      • This is in Python. I have the files I am just not able to upload them to coursehero. Thank you.. You will design a program that manages student records at a university. You will need to use a number o…
      • Please help me. Thanks Question 1 – Clock conversion (25 pts) Write a Python function that converts a clock reading from 24h system to 12h system. For example. 14 becomes 2. 23 becomes 11 and so on. D…
      • Overview For this assignment, you are going to develop an application that keeps track of a fund manager’s daily operations. To keep the process as simple as possible, we will assume that there is onl…
      • General Requirements: ¬† ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†python application that inputs, processes and stores student data. ¬† ¬† Specifications: ¬† 1. Your application should be able to accept Student data fro…
      • Python 3 code Create a Guess what the number is Game! Ask the user for their name Create a secret random number between 1 and 100 that will be used for the game Ask the user to guess what they think t…
      • Python code and i can not use single variables ¬† ¬†. Write a Python class named Rectangle constructed by a length and width and a method which will compute the area of a rectangle Create another subc…
      • The price of one avocado is $1.50 for a quantity of 10 or less and 0.89 cents if the quantity is 11 or more. how do I write a program (use if-else statement only) that prompt the cashier to enter the …
      • In this assessment, you need to consider an organisation in an industry of your choice and articulate the steps this organisation needs to take to enable Machine Learning and/or AI for data-driven dec…
      • 13 LAB: Exact change ¬† write a program with total change amount as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarters, Dime…
      • quesiton in photo Question 7 1 pts Suppose we have imported the stack class with the implementation we gave in the readings, and we are executing some code. The state of memory is as depicted in this …
      • This week’s assignment involves rewriting the Python program you wrote for your assignment last week to use a function. All the requirements from last week still apply. The function should accept the …
      • Case Stu dy Objectives: ‚ÄĘ Fit a model using binary classification using logistic regression. ‚ÄĘ Identify co r related variables and form a less complex model. Questions: 1. We will use acoustic fea…
      • . 03. A surface defined by Z = 21?2 cosR where R = Ô¨Āx? + Y2. Use mesh plot to plot the surface where X, Y E [‚ÄĒ50, 50].
      • What is the difference between Python data types LIST and DICTIONARY ? Why LIST is mutable in Python?
      • 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…
      • Create a program in Python for The Insertion Sort (Algorithm 5)
      • A Python program that accepts a string as input. It should analyze some characteristic of that string and display the result of that analysis. The program must use at least one of the following: strin…
      • I need help to write a code that fits the requirements below. The theme of the code is joining a swim team or anyone interested in joining a swim team. I tried to type this out myself but I got stuck …
      • This is Machine Learning Python using SVM.¬† The notebooks are in the below link: ¬† https://gofile.io/d/kRCU4p
      • Powerball lottery 13. PowerBall Lottery To play the PowerBall lottery, you buy a ticket that has five numbers in the range of 1-60 and a "PowerBall" number in the range of 1-26. ( You can pi…
      • Quick mc question please No explanation needed. Suppose we have an implementation of the Queue ADT, called FancyQueue, which has enqueue and dequeue operations that take n+ 1 steps, where n is the num…
      • This question is about¬† searching . Python Below is code for two searches that can search a sorted list for a value.¬† The searches return “True” if the value is found in the sorted list and “False” …
      • Here are the people text file in the bottom¬† Notes ‚ÄĘ The name of your file should be people.py. ‚ÄĘ This exercise does not require the use of command-line arguments. ¬† Download the following fi…
      • Python BlackJack Game Need help tweaking the program in the Dropbox link below. The first part was added in just in case you need to see what it involved in it. But the second part is where i need hel…
      • what is the python code for this question? Daily covid-19 cases in Turkey Daily covid-19 deaths in Turkey Total number of cases Polynomial fit: RMSE-306.37. R2-0.95 Total number of deaths Polynomial f…
      • Assume a variable named t has been assigned a tuple whose elements are numbers. Write some statements that use a while loop to count the number of times the first element of the tuple appears in the r…
      • list 1 =[[“A”, “B”, “C”], [“D”, “E”]] This list represents two stacks of blocks: one with B on top of A and C on top of B, and one with E on top of D. If I wanted to compare the relationships in this …
      • “””this code is incorrect””” import argparse import string ¬† def remove_punctuations(word): ¬† ¬† if type(word) != str: ¬† ¬† ¬† ¬† raise TypeError(‘It can\’t be done.’) ¬† ¬† return ”.join([” if i…
      • Write the code that will produce the outcome above.. List List 1: BB218 Internet in Practice List 2: 1. BB218 2. Jan-April
      • In python I have my code written. My code is running but it has some problem regarding to rules. (I have did all the other things so you do not have to worry about other functions) 1)¬†fix my scoring …
      • Exercise 2: Multi-layer Neural Network¬† write a scikit-learn based application to classify MIST digits using the MLP model MLPClassifier. The dataset is from http://yann.lecun.com/exdb/mnist/. You mu…
      • Part 3: Dictionary: Comprehensions and Updating Define a dictionary of dates and stock prices: prc_dic = { ‘3000-01-15’ : 7.0400, ‘2020-01-14’ : 7.1100, ‘2020-01-13’ : 7.0200, ‘2020-01-02’ : 7.1600, ‘…
      • Which of the following¬†¬† range ¬†function will generate the following list¬†[5,¬†15,¬†25,¬†35]? range(35) range(5,¬†35,10) range(5,¬†40,¬†10) range(5,35,¬†5)
      • Design a pseudocode instruction and flowchart for an electronic commerce order and purchase transaction. Start from the registration process, and proceed to the order, purchase and tracking order tran…
      • def inputs(): ¬† ¬† pasties = [] ¬† ¬† try: ¬† ¬† ¬† ¬† po_amount = 0 ¬† ¬† ¬† ¬† tip_amount = float(input(‘Enter tip % that you want to give Andy:’)) ¬† ¬† ¬† ¬† num_of_pasties = int(input(‘How many …
      • I need python coding detail explanation in visual studio. PRE CODE.pdf X + X C File | C:/Users/bpran/Desktop/CODE.pdf . . . Fwd: HANA Project… [ Gmail ) YouTube O D Mocktest Result ) Bookmarks ) Glo…
      • . PL MEHPPV – Notepad File Edit View 648 . 686 0. 2063009573592 648 . 883 0. 2185733359848 649 . 08 0. 2028919632965 649. 277 0. 2288287264566 649 . 474 0 . 2162154484248 649 . 671 0. 2391693417801 …
      • Temperatures You have a file that has temperatures in Fahrenheit, one per line. We need to make a program that performs the following: Defines a function called “FahrToCel” Accepts a Fahrenheit Temper…
      • . Sample Runs Enter the coin string: qqqqppnndd Coin count (Q,D,N,P) = (4, 2, 2, 2) Monetary value = $1.32 Enter the coin string: Nan Coin count (Q,D,N,P) = (1, 1,2,0) Monetary value = $0.45 Enter t…
      • Need help on this homework assignment CSC 105 Intro to Programming Name: Repetition Structures Assignment Python Programming Programming with Python ‚ÄĒ Focus on Repetition Structures This week we are…
      • This assignment is to use wxPython to make a shipping calculator. The total cost will vary with package weight, shipping speed, and any extras the user might request. The layout should look something …
      • In differnetially-private machine learning, how do you determine the sensitivity of stochastic gradient descent?
      • Python expression You have a group of cities on a map where each city has a coordinate represented by a list of lists that has (x,y) coordinates, e.g.: coordinates: [[2,31, [5,7], [3,8], [1,4]] Write …
      • THE QUESTION There is a function¬†atbash_decrypt(). The code is functional and the function name is the name I want; however, within the function, the variable naming and code style need improvement. …
      • The purpose of OPS245 assignments is to showcase your abilities in the course thus far, and conduct a bit of independent research. Some of what you’ll be asked to complete will be familiar to you, whi…
      • Language: Python. In [19]: M us_happiness = happiness_scores .where("Country", "United States") us_happiness Out [19] : Lower Upper Economy Trust Country Region Happiness Happiness…
      • Problem 4: Signing In addition to asymmetric encryption, PyNaCl (and libsodium and NaCl) also support asymmetric signatures. Signing involves a public/private sender keypair just like encryption does,…
      • 2 This code is partially written for you. Design ¬†program that asks the user to enter a student’s grades for each student. The grades should be stored in a list. calculate the average of the grades…
      • . Exercise ‘|2 (5 marks ‚ÄĒ hard) This is a challenging exercise that requires some significant effort and time. Implement from scratch a piece of Python code that can be used to solve the followi…
      • Exercise 5 Modify the chaos Program so that the number of values to print is determined by the user. Have to add line … I don’t know how to change this loop. I added below script and run, “How many …
      • Develop a program consisting of a parent class: Account, and two subclasses: FixedTerm and SavingsBank. . Define the holder and quantity attributes and a method to print the data in the Account cla…
      • Question: Write a Python program that will take N email IDs from the user. Create a¬† dictionary from the N emails that will hold the user name in separate keys¬† based on the email domain. The inputs…
      • Many studies have been conducted to describe the relationship between the trade activity(volume) and the price change. Ask (Sell) and Bid (Buy) orders on the border book might signal the direction of …
      • you can find the assignment here (right bottom panel):¬† https://jsfiddle.net/teoht2e6/ ¬† missing image for part 2b is attached
        • Explain the idea of bag-of-words model. 2) What are the two methods to treat the meaningless frequently occurring words? 3) Classify the documents in fetch_20newsgroups. from¬†sklearn.datasets¬†imp…
      • 19 ZyLAB- Exact Change Functions Can someone please tell me what I’m doing wrong on this lab. My output differs when the input is 156. Instead of my output being “1 nickel” which is the correct answ…
      • Need help with debug the code please: The idea is set Name to be displayed in Short format the middle name will be abbreviated: {“Homer”, “Jay”, “Simpson”} is printed as Homer J. Simpson Here is the c…
      • Consider the following list of names: ¬† people = [“Albert Johnston”,¬†“Trevon Logan”, “Abdullah Abad”, “Feng Zhang”, “Abooksigun Ozawanimke”] ¬† [1 marks] Print the names in the list from Q1 into a “…
      • I need help with this recursion assigment¬† Download the files in the A11¬†https://drive.google.com/drive/folders/163f9lT8XaCZFL4WVmXO8Y8GtOMAnBHsE ¬†folder¬†(Links to an external si¬†and add all the …
      • http://www.cs.arizona.edu/classes/cs110/fall16/homework/8/spec.pdf Follow the above link My deadline is Tuesday 25 October at 10 pm according to Arizona time. import import import import atexit sys ti…
      • Help with a Python program to do the following: (a)¬†Use a for loop and a random integer generator to generate 5 random integers in 1 to 9.¬†Store the random integers in a list.¬†Display the list. (b)…
      • Create some function called FindToys that will accept two parameters an array called toys and the item that will be searched for in the list. Call this second parameter search_item. Your function need…
      • Three different program files must be uploaded.¬† ¬† The First program must accept inputs from a user, repeats a sequence of instructions a certain number of times, or until some specific result is…
      • Python program that accepts a string as input. It should analyze some characteristic of that string and display the result of that analysis. The program must use at least one of the following: string …
      • An annuity is a sequence of equal periodic payments. One type of annuity, called a savings plan, consists of monthly payments into a savings account in order to generate money for a future purchase. S…
      • Hi, I am working on a project (for a class on very basic python) and get stuck on this question for hours. I cannot proceed to following questions, which are built on resolution of this question. Coul…
      • “C:\Users\amiur\Downloads\telco_churn.csv” “C:\Users\amiur\Downloads\AAPL.csv” “C:\Users\amiur\Downloads\ckd (3).xlsx”. Assignment_2 (1) – Jupyter Notel X + X -> C @ localhost:8888/notebooks/Assign…
      • text file named WorldSeries.txt. This file contains a chronological list of the World Series’ winning teams from 1903 through 2020. Boston Americans World Series Not Played in 1904 New York Giants Chi…
      • What is the difference between tuples and lists in Python?
      • can you give me the answers please. What will be the result of running the following commands? cd /tmp tar xvzf var-backup.tar.gz O The contents of the compressed tarball var-backup.tar.gz will be ext…
      • I have to try to draw this shape using python. DOOOG
      • Romans numbers contain symbols M, D, C, X, V and their equivalent decimal values are M = 1000, D = 500, C = 100, X = 10, V = 5, I = 1. For instance, the roman MDCXVII corresponds to 1000+500+100+10+5+…
      • make tic tac toe(clock) using python programming in pycharm
      • Build a module currency, which includes the following three functions that do currency conversions: to_euro(dollar): This function receives US Dollar as an argument and converts it to Euro.¬†1 US Doll…
      • From the Book: Shmueli, G., Bruce, P., Gedeck, P. & Patel, N. (2019). Data Mining for Business Analytics: Concepts, Techniques and Applications in Python, 1st Ed. Hoboken, NJ: Wiley. (ISBN-13: 978…
      • What are the shared and unshared properties of a tile in pygame?
      • Using the endpoint and parameters assigned to you (based on your group number), write Python code to use the News API and extract the required news headlines (extract the titles only). Store the headl…
      • Hello, I need help solving this Lab simulation, It uses Modify a list for Lists and Dictionary statements and I am very new at python on so I need help solving it. It is very difficult. It is very con…
      • Start with the following Python code.¬†¬†¬† alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬†¬† test_dups =¬†[“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]¬† test_miss = [“zzz”,”subderm…
      • Question above. ¬†This is the code below, however my new question is how do I add/import pickle to speed up the process? def load_ticket_data(): ¬† ¬†import xlrd ¬† ¬†import pandas as pd ¬† ¬†impor…
      • Write the algorithm, pseudocode and draw the flowchart to compute the area of triangle by python.
      • Problem Statement Many companies wish to understand the needs and wants of their customers more deeply so the company can create products that fill those needs and wants. One way to understand custome…
      • for python: For this program you will be looking at future tuition at your university. In 2020, the tuition for a full-time student is $6,549 per semester, the tuition for a part time student is $3,32…
      • . 4) Match these against the resulting printed output. Fill in the blank with the letter indicating the correct result, if you don’t fill in a letter in the blank, it will be counted wrong. str = ‘T…
      • Write a program that loops through lines of a file, assuming each line of input will consist of just a single word (and a newline, of course). As it loops through each line, your program should print …
      • Hi Python Team¬† ¬† Need assistance for identifying with threshold checks for datatypes values present in Sybase ASE against each tables.¬† ¬† Error Faced ¬†or Challenge¬† ¬† Sybase ASE error “Arithme…
      • csv [‘year’,¬†‘month’,¬†‘dayOfWeek’,¬†‘date’,¬†‘carrier’,¬†‘tailNum’,¬†‘flNum’,¬†‘origin’,¬†‘dest’,¬†‘crsDepTime’,¬†‘actDepTime’,¬†‘crsArrTime’,¬†‘actArrTime’,¬†‘cancelled’] year mont…
      • Please assist with python 2 programming File: testgrayscale . py Tests a function for converting a color image to grayscale. from images import Image def grayscale (image) : "" "Convert…
      • WRITE PYTHON PROGRAM TO FIND MAXIMUM LENGTH OF CONSECUTIVE 0’S IN A GIVEN BINARY STRING WHERE: SAMPEL INPUT: 11001000001010 sampel input :100010011001010
      • class Die(): ¬† ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† ¬†def __init__(self, num_sides=6,face=1,color = ‘Red’): ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† ¬†self.num_sides = num_sides ¬†¬†¬†¬†?…
      • The second function you will write should be called ‘countLetter’. Your function should take two (2) arguments. The first will be a string. The second will be a single character. The function should r…
      • program that takes in a positive integer as input, and outputs a string of 1’s and 0’s representing the integer in binary. For an integer x, the algorithm is: As long as x is greater than 0 Output x %…
      • . . Write a program that will generate and display a sequence of numbers in the following pattern: first number will be O, second will be 1, third will be the previous 2 numbers added together. Use …
      • Question 4] You are asked to develop a program which procEss the csv Ô¨Āle and check each activity (quiz, midterm, lab,. ..} and displays a list of students who missed that activity. You can develop a…
      • I cant figure this out, I have no idea what to do This program outputs a downwards facing arrow composed of a rectangle and a right triangle. The arrow dimensions are defined by user specified arrow b…
      • I’m using python Driving is expensive. Program with a car’s miles/gallon and gas dollars/gallon (both floats) as input, and output the gas cost for 10 miles, 50 miles, and 400 miles. Output each float…
      • The following exercise has to be in one function and must be called by the main() function. ¬†Any help would be appreciated. ¬† In this exercise, you will write a program that validates data for an on…
      • HELP TUTORS 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 p…
      • import Mylib menu = [“1. Add” , “2. Subtract” , “3. Multiply” , “4. Divide”, “5. SCALC”, “6. All in One”]¬† while True: ¬†¬†try: ¬†¬†¬†¬†print(*menu, sep = “\n”) ¬†¬†¬†¬†sel=int(input(“Please select a…
      • Design a recursive algorithm to evaluate arithmetic expressions that consist of integer numbers, opening and closing parentheses and the operators +, -, * and /. Here / is integer division. A well-def…
      • 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…
      • choose the answer. * Students should finish reading the whole question first, before answering. B1. (10 marks) HKU ity a) List the order of operators to be executed in the following expressions, given…
      • q1- find a method and apply that will return the index of following array instead of sorted element¬† array is¬†x = np.array([2, 1, 4, 3, 5 , 66 , 99¬†, 0¬†, 11 , 22 , 67 ]) q2- find a numpy method to…
      • Given the code: ¬†¬†¬†¬†pets = {‘dogs’: [‘Rocket’, ‘Trixie’], ¬†¬†¬†¬†¬†‘cats’: [‘Motley’, ‘Hobbes’]} ¬† Which of the following is a true statement: A. ‘dogs’¬†is a key and¬†‘Hobbes’¬†is a value. B. ‘…
      • This lab aims to help you with parts of your project. Specifically, please write the class Contact that is required in your project: –¬†¬†¬†¬†¬†¬†¬†Each contact has first and last name . For simplicit…
      • . Create a Python script file (named lists.py) that demonstrates the basic elements of handling a collection of data with a Python list. Rubric 1 point: Create a properly named file which contains t…
      • Program in Python to convert plain English text into easy to remember but hard to crack password. [Ex: password -> P@s2w0rD].
      • ### graphics.py ### import tkinter import time import sys class graphics: def __init__(self, w, h, title): ”’ Initialize the graphics object. Creates a new tkinter Tk object, and a tkinter Canvas …
      • Write a function that computes the following recursive relation for a given n : A (n) = ( 2 * A (n -1 ) + A (n -2 ) ) /2 where A ( 0 ) = 1 and A ( 1 ) = 2 “”” def A (n) :
      • This has to be done in coral language. Driving is expensive. Write a program with a car’s miles/gallon and gas dollars/gallon (both floats) as input, and output the gas cost for 10 miles, 50 miles, an…
      • When a run the following code get: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all() ¬†correct = 0 ¬†¬†wrong = True ¬†¬†total = 0 ¬†¬†half_oftd = …
      • Hi, can you please look over the task provided and create the code needed. Thanks, driver.py and other test files are at bottom of question. >Background With the emergence of Internet companies suc…
      • 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, …
      • Below is the prompt for execution. Can you help me make sense of this. A variable like user_num can store a value like an integer. Extend the given program as indicated. 1. Output the user’s input. (2…
      • python program using Classes and Objects ¬† ¬†Create¬† two classes one as C ustome r class, second as Lottery class¬† 1) Customer : id, num1,num2,num3,num4,num5,num6 ( 1-9 numbers each number) 2) Lott…
      • cse160-staff@cs. washington.edu cse160_22wi_checkin01 > count_z prev | next | chance Return the number of times the letter z occurs in the given string. count_z(‘lazy’) – 1 count_z(‘really lazzzy’)…
      • please help me. 0 7 7 7 7 7 Verifying a heap property You are given a binary tree with a value at every node, encoded using the Python class: class Node: def. init (self, value:int, left: Node, right:…
      • How do I design a program with a loop in Raptor that lets user¬†enter all students’¬†test scores, making sure all scores user entered are in the range of 0 to 100.¬†The user should enter -1 to signal …
      • This assignment will extend Unit 3 Lab 1. You will develop a new class, ArtistTurtle, that extends the turtle class to include a new method, draw_smiley. The draw_smiley method should have a size para…
      • I’m trying to find a solution for this example: ¬†. Data Generator Most application depends on data. In loT data is collected/generate by sensors. Since, we do not have access to sensors, we will have…
      • i still got the last result wrong. How to get it right? if i input 1 5 1000 it supposed to be These prime factors of highest multiplicity are, from smallest to largest: [3] if i input 1 10 200 it supp…
      • Soccer team roster (Dictionaries) (Python 3) This program will store roster and rating information for a soccer team. Coaches rate players during tryouts to ensure a balanced team. (1) Prompt the us…
      • Hello Is it possible to code this instead of using regex re. Compile , alpha please! I haven’t learned that just yet. I would also like for steps a-d provided as well. In python! thanks!. 1) Let us co…
      • 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…
      • flip_matrix(mat:list)->list You will be given a single parameter a 2D list (A list with lists within it) this will look like a 2D matrix when printed out, see examples below. Your job is to flip th…
      • Question 2a Write a function summation that evaluates the following summation for n 2 1: Ô¨ā 2 i3 + 3i2 i=1 Note: You should not use for loops in your solution. Check the NumPy documentation. If you’r…
      • please help me to Create the following by using Qt Designer, which aims to benefit a local cat rescue organization.¬†The UI should include two lists.¬† Ôā∑ RESCUE LIST shows the names of the cats curr…
      • Hello working on an assignment and I am having issues with some errors. I have listed the code, assignment instructions and screenshots of my errors. I need help with the errors so I can know where to…
      • Complete function “sumOdds(n)” to return the sum of all the odd integers from 1 through “n”, inclusive . Note: You will need the % operator to determine if an integer is odd.¬† If anInteger % 2 is not…
      • Note: To earn points, your solutions must use the String techniques. ¬† Part A Create a program in a file named letter_count.py . Prompt the user to enter three different words or phrases, one at a ti…
      • program that prints a triangle with rows of asterisks as shown in the two sample runs below. The program should allow the user to specify the number of rows.¬†Use nested loops.
      • Please use Python programming to answer. ¬† The meuse data set is a data set comprising of four heavy metals measured in the top soil in a flood plain along the river Meuse, along with a handful of co…
      • I would appreciate some feedback as to how to start answering this question. e.g. what should i try to attempt using python thanks ūüôā You have to analyse friendship groups on campus. Individuals have …
      • *** PYTHON *** 1. Using WorldSeriesWinners.txt.¬† Write the program that lets the user enter the name of a team (As it appears in the file), then displays the number of times that team has won the Wor…
      • Multiply¬†the¬†two¬†matrices¬†A¬†and¬†B,¬†assign¬†to¬†varialbe¬†C¬†and¬†display¬†C.
      • You work for a small company that creates text-based games. You have been asked to pitch an idea to your team for a text-based adventure game with a theme and environment of your choice. Your game mus…
      • help please I am OOP-coding a text-based Adventure game, and I think I’m pretty close to the answer, however, my directions take the command + a space as the right direction, therefore, something that…
      • def invert_dict (d) : ¬† ¬† ¬†inverse = dict() ¬† ¬† ¬† for key in d.keys(): ¬† ¬† ¬† ¬† ¬† ¬† ¬† value = d[key] ¬† ¬† ¬† ¬† ¬† ¬† ¬† for val in value:¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† if val not in…
      • python question also include math ¬† Using numpy sample 100 numbers from a uniform distribution and store it into variable x. Make sure that the sample contains numbers greater than zero and numbers…
      • I cant get this code to work¬† ¬† def display_title(): ¬† ¬†print(“Contact Manager”) ¬† ¬†print() ¬† ¬† def display_menu(): ¬† ¬†print(“COMMAND MENU”) ¬† ¬†print(“list – Display all contacts”) ¬† ¬†pr…
      • 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…
      • Just help with the steps that matter/required please we are going to make some visualizations using matplotlib.¬† Part 1 Setup¬† ¬†if required install numpy via pip install numpy on the command line¬†…
      • Case Study III Domain – Telecom focus – Optimization Business challenge/requirement LifeTel Telecom is the latest entrant in the highly competitive Telecom market of Singapore. It issues SIM to the ve…
      • (Random, 15 pts} Craps is a dice‚ÄĒbased game played in many casinos. The game starts with the player throwing a pair of standard, six‚ÄĒsided dice. If the player rolls a total of ? or 11, the player…
      • So I am working on the following and I’m slightly confused. I am now combining the two codes together and modifying my database search. Part one is me taking employee information and applying a output…
      • make a simple python code using the TextBlob package using the Loop statement.¬† https://textblob.readthedocs.io/en/dev/quickstart.html#quickstart
      • Part 1) A friend of yours is faced with a regression problem with two possible inputs, X1 and X2. he/she considers a linear regression model: h(x) = …Ķ0 + …Ķ1×1+ …Ķ2×2 The data set is given in the fol…
      • Computer Science Python. the system is working BUT i want the sorting which uses lambda to be remove and change-into a any different sorting algo for both ascending and descending. Check the options 3…
      • . AR only Reminder: $(B) = 1 – $1B – p2B2 -… – PD BP O from statsmodels. tsa. arima_process import arma_generate_sample AR = [1, -phi_1, -phi_2, … ] MA = [1] Z = arma_generate_sample (AR, MA, ns…
      • Python problem: Consider the implementation of¬†sort¬†, below, which takes a¬†list¬†as input and returns a sorted version thereof. It calls¬†issorted, also below, to determine whether those numbers ar…
      • A/ B Testing 2. Standard Hypothesis Test In [13]: reasonable_test = … reasonable_test In [27]: _ = ok.grade(‘q2_2_1’) Question 2: Now that we have a null hypothesis, we need a test statistic. Ex…
      • What is a Boolean expression and provide one code snippet (a code snippet is a small section of python code not necessarily executable on its own but free of syntax errors) of a Boolean expression use…
      • i have output in terminal like this: [[22, 31, 32, 100, 16, 17, 23, 24], [5, 25, 26, 100, 10, 11, 12, 13], [37, 38, 39, 100, 27, 28, 20, 21], [18, 19, 3, 4, 100, 6, 7, 33], [40, 41, 42, 100, 14, 15, 1…
      • please solve these coding problems ¬†. 22.3 LAB: Smallest and largest numbers in a list Write a program that reads a list of integers into a list as long as the integers are greater than zero, then ou…
      • Classification Please use kNN (k-Nearest Neighbors) algorithm to solve a classification problem. The kNN is a simple and robust classifier, which is used in different applications. (1 points) for ¬†Lo…
      • Python Language Question 3 {1 point} Which of the following produces output? 0 5tdio.writeln[} O arithmetic operators Question 4 {1 point} Tracing is a process of modeling what a program does. Questio…
      • PYTHON PLEASE SOLVE THIS FOR PRACTICE EXAM Details of transaction_summary: The transaction_summary function takes a dict argument in the form of the data structure above. (a dict whose keys are dates …
      • 03 – It’s the end that is important 10 coding | python Given a list ( Ist) and a number of items (n), return a new list containing the last n entries in Ist. def q1( lst, n) : pass
      • In this question, you will implement a class called¬†DataTable¬†that will represent 2-dimensional data. You will also implement a class called¬†row¬†to represent each row in a data table, and a class …
      • In recent weeks your web server has been receiving continuous attacks from within the United States. You have access to the AlienVault dataset(http://reputation.alienvault.com/reputation.data), whic…
      • Please implement LimitedUnavailableError and __init__. Implement LimitedUnavailableError The class LimitedUnavailableError is not currently in lab20 . py. However it should be relatively easy to defin…
        • Write a function named oneRoll to simulate rolling one die. The function should return a number from 1 to 6 (including both 1 and 6 as possible values), with all numbers being equally probable (b)…
      • Can I get help with the practice problems I have attached? Program 4-1 Create a program to calculate the body mass index (BMI) for a person using the person’s height in inches and weight in pounds. …
      • Create a Python dictionary that returns a list of values for each key. The key can be 1whatever type you want. Design the dictionary so that it could be useful for something meaningful to you. Create…
      • helppppppppp i thought this was due next week and im totally lost…. its due tomorrow please help !!!!!!!! theres 4 programs that are needed Write program named¬† program1.py ¬†that enables the user …
      • Python code needed, thanks. ¬† ¬† def update(bank, log_in, username, amount): ¬† ¬†”’ ¬† ¬†In this function, you will try to update the given user’s bank account with the given amount. ¬† ¬†bank is a…
      • how do you write a program to determine my average weekly grocery bill, based on my spending last month
      • I keep getting a compiler error message saying that my tabs and spaces in inundation are inconsistent. I’m unsure how to fix this issue. Using the is_prime function from exercise 17, write a program t…
      • Property Tax The state calculation for property tax is .72% of the assessed value of the property – The assessed value of property is 60% of its actual value – The property tax is equal to the assesse…
      • Domain – E – Commerce focus – Optimization Business challenge/requirement GoodsKart ‚ÄĒ largest ecommerce company of Indonesia with revenue of $2B+ acquired another ecommerce company FairDeal . FairDe…
      • Ms Brown has 5 students who took their midterms and finals. 1. She wants to store their midterm and final results in one 2-dimensional array and print it to the console. You should enter their test sc…
      • . Wordplay – Use the file wordlist.txt for this problem. Find the following: (a) All words ending in ime (b) All words whose second, third, and fourth letters are ave (c) How many words contain at l…
      • . 3. (50 points total) We have learned how to implement a linked list. Python code for several methods were given to you in the class, for example, isEmpty(), size(), add(element) and search(elem…
      • How to write the following python program?. Exercise 5.5 Widest Fragment in a Sequence Write a program to read a sequence of integer numbers ending with the number 0. Determine the length of the wides…
      • Below, we will calculate VIF in Python using predictors in the data prostate_cancer.csv. Start with the predictor variable smoothness. Compute the coefficient of determination ūĚĎÖ2ūĚĎó for by regress…
      • Do not add statements that call print, input, or open, or add an import statement. Do not use any break or continue statements. We are imposing this restriction (and we have not even taught you the…
      • At the moment, the name column of the profs table is sorted by last name. Would the arrays you generated in the faculty column of the previous part be the same if we had sorted by first name instead b…
      • Could someone please help me with this question? All relevant info is needed, must solve using datscience and/or numpy package Question 10 The following code cell loads 2 Vanguard index funds. Find th…
      • Your task: You need to design and create a screen for user registration. Your screen should have the text fields for the following inputs: 0 Full name O Email address 0 Password (text field with “pa…
      • Write an expression using membership operators that prints “Special number” if special_num is one of the special numbers stored in the list special_list = [-99, 0, 44]. Sample output with input: 17 No…
      • Use R to solve this question a and b ¬†: Using the data on the time to relapse of 6-MP patients found in KM section 1.2,¬† a) Estimate the hazard rate at 12 months using the Epanechnikov kernel ¬†with…
      • Write a complete Python program that uses Turtle graphics to draw any two lines that cross at a right angle.
      • Write a program that reads a list directly from the user, then removes duplicate top-level elements in it and prints out the resulting list.¬†You may¬† not ¬†use the Python¬† set ¬†type to do this pro…
      • python programing if: c2: 1- .=_-: ; cl _L’ L :1 -:_; This is an Infinite loop. To stop this program you must press the "CTRL + C” keys which throws an exception of type Keyboardlnterrupt 1 121…
      • *Pyhton¬† *dataset is in the link below https://colab.research.google.com/drive/18zDjQ3qqYJ8Ytk0jJ1PIV80Sou3ZpiU_#scrollTo=SmopFSLL5Q07 1) Load the dataset and display a scatter plot with all the data…
      • a program that contains a main function and a custom,¬† void ¬†function named¬† show_larger ¬†that takes two random integers as parameters. This function should display which integer is larger and by …
      • For this problem, we’re going to have python calculate the number of years that CSU was known as Columbus College. First, prompt the user to enter the year that Columbus College was renamed to be Colu…
      • Hello, I am trying to work on this assignment the requirements are listed below. I am also getting an error. import mysql.connector mydb = mysql.connector.connect(user=’root’, password=’admin’, ¬†¬†¬†…
      • Hi, need some help on this task. ¬† Python program that asks the user to enter their stair-climbing¬†rate (in steps per minute), followed by a time duration (in minutes). The program will then display…
      • no copying guys Python codeI have this questionConsider the following lines entered on the Python shell: >>> number = 100 >>> id (number) 140711397298944 >>> type (number) &…
      • Texting on portable devices has developed a set of abbreviations due to the necessary brevity of text messages. Create a dictionary of texting abbreviations, and use it to write functions that can tra…
      • plz help. String puzzles The second half of the problem focuses on strings. In particular, you will be working with the following strings: b = ‘boston’ u = ‘university’ t = ‘terriers’ We’ve given you …
      • A cylindrical water cistern was built in an apartment complex in Aquatown. The bottom rests on concrete and is not accessible. It has a height h and a radius r, A cylindrical water cistern was built i…
      • Consider a recursive function to return the Number of Binary Digits in the Binary Representation of a Positive Decimal Integer (n) using a recursive algorithm.
      • Task#1:¬† Write a function called print_employee_info(), which accepts ‘name, salary, job_title, and company’ as parameters, and then print their values. Pass the values to these parameters using keyw…
      • Write 3 test cases that test different behaviors of the following function: 2. For each of your three tests from the previous question, describe a change to the foo function’s implementation that w…
      • The factorial of a non-negative integer N is the product of the integers between 1 and N, inclusive . Write a while loop that computes the factorial of such a given integer N and print out the final f…
      • using C programming Exercise 3 – Calculating Monthly Expenses Imagine you are the IT manager for Site 3 that had annual IT expenses of $42,500. Your site was above the target of $35,500 and you want t…
      • 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…
      • Make a program which, given an integer¬†?¬†as input, will produce a mathematical expression whose solution is¬†?. The solution is restricted to using exactly four¬†4’s and exactly three of the binary …
      • Hi! Can I please get some help on the following question? Thanks!! B. The Value Factor Let’s play with the Fama-French factor returns again. In [14]: ff_daily = Table. read_table( ‘https: //www. dropb…
      • Package Newton’s method for approximating square roots (Case Study: Approximating Square Roots) in a function named¬†newton. This function expects the input number as an argument and returns the estim…
      • what are 4 things wrong with this (python)¬† ¬† name=int(input(“Enter username:”)) password=int(input(“Enter password:”)) if name == craven or password == mypass: input(“Access granted”) else input(“A…
      • PHYTON 3 CODE PLEASE, AND THANK YOU ¬†. Module 8 Homework – Global Temperatures The World Meteorological Organization (WMO) has hired you to code a data structure that stores record temperatures acros…
      • Create pseudocode for a higher/lower game. This will give you practice designing a more complex program and allow you to see more of the benefits that designing before coding can offer. The higher/low…
      • You are given N positive numbers. Store them in a list and find the second largest number. (If there are two largest numbers, the second largest number must be smaller than both of them) Example: inpu…
      • 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. You are ex…
      • Hello, I need help in figuring out how I can format the loop so I can get the output bellow. It is currently not restarting back at “Please enter the index for a week:” and I’m unsure how to fix this …
      • I need help figuring out this assignment ¬† Create a Python program using loops, do not use function call ¬† Sample output of the list should be something like this Get the supermarket name —> Ap…
      • . .-‚ÄĒ‚ÄĒ_-‚ÄĒ_r-._._. q… . _-._… _-…. lam-.1 II-r‚ÄĒly- IV Context [TOTAL s.s wars] 6. Flowchart to describe the flow of instructions. [n.s menu: it. Deriye a pseudocode following step 5. [a…
      • Gambler Jack is no mathematician. His friends laugh at him and make a bet that Jack does not know the number ŌÄ, not even the first three most significant digits. Jack is going to lose the bet, but hi…
      • Smart-Mart is a convenient store that is located in Toronto, Canada. The store needs an application to use it in its daily business. The application will be written by your company for the store. The …
      • 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 …
      • Method: display Checker Board(size: int): This method is to display and checkerboard type pattern of x’s and o’s. The pattern should have the number or rows and columns be determined by the parameter …
      • I have a website that I am adding a login screen to, as well as a new user form to save the user email and password. I have just begun building the new_user.html page. I hope you can fallow along. Tha…
      • how to write program that draws the following diamond shape: (The user decides how many rows to print and enters a value to do so) Hint: Try breaking the task up into the following 4 different shaped …
      • How to make that fourth persons name use python ¬†code and how they work on JUPYTER ? The persons name in the notepad . You should make like a example image please show me a step by step sent me a cod…
      • The co-lexicographic order between two sequences¬†a¬†and¬†b¬†is defined as follows. Sequence¬†a¬†is co-lexicographically less than a sequence¬†b¬†if : a¬†is a prefix of¬†b, i.e.,¬†a == b[:len(a)], or …
      • Writing in Python A program to continually ask the user to input a number (int or float) until the user inputs the string “end” to stop the loop. At that point the program should return the following:…
      • I need help writing this code in python Part 3a: Fast Food Restaurant This is a solo project. You may work as a group to help each other out, but everyone should be writing a separate file on their ow…
      • 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…
      • py This assignment is about temperatures and requires the¬† main function and a custom¬† value-returning function . The value-returning function takes a list of¬† random Fahrenheit temperat…
      • . Create a python application which will ask your user for 10 positive integers. > Store the integers in a list. > Create a new list, which will contain all the numbers converted to bina…
      • only math library is allow , no list or anything complicated¬† just int, float, math library, if, elif and while loop allowed¬† ¬† need clear snap shot of the input/ output result given , given giv…
      • Please answer this question with Python code. Thanks! 0. Data Since the MNIST data (http://yann.lecun.com/exdb/mnist/) is stored in a binary format, we would rather have an API handle the loading for …
      • Design a python program with a loop that lets the user enter a series of numbers.¬† The user should enter -99 to signal the end of the series.¬† After all the numbers have been entered, the program sh…
      • Read two integers and print two lines. The first line should contain integer division,¬†//, the second line should contain float division,¬†/, and the third line should contain modulo division, %. You…
      • Consider the following specifications. a) Greets the user. b) Asks the user to input a 1, 2 or 3. c) Given the input, reads in the appropriate datafile and displays a stem-and-leaf plot. a. Note: This…
      • )Open IDLE. Create a new script file ( File–>New File ,¬† Ctrl+n ¬†on Windows,¬† Cmd+n ¬†on macOS). On the first line, place your name in a comment. Create a program that does the following: Ask…
      • Create a function that prints if the user is graduating with honors or not. The function will determine whether the category of honors based on their classification and gpa. The honors will only apply…
      • Function 7: get_books_by_publisher Use the function design recipe to develop a function named a get_books by publisher. The function takes a string as input parameter, which is the publisher’s name, a…
      • Following code is written to remove unnecessary spaces after the comma from the sentence.¬†The program doesn’t provide the correct sentence. Figure out the logical error in the code. sentence=”To be o…
      • . For this task, you are to write a program that decodes the coloured bands on a resistor. Instructions The resistor is an electronic component designed to resist the flow of electrons through a …
      • Hello I need help with the following question using Apache Spark/Scala on Databricks: Data provided below. Please copy and paste the links below.¬† ¬† I have 2 datasets provided below where one includ…
      • # Problem statement 4. a # Finds all vnodes mapped to this node and shuffles them Implement this logic and store in local_vnode_list # Prepares to map all vnodes proportionally and their corresponding…
      • I am having a really difficult time getting this right. Codio Project File Edit Find View Tools Education Help Configure.. Y Project Index (static) @ Configure…. BFEDELL imsearch.py 3. 4. Simple ……
      • text string quote the first substring which matches the RE¬†‘C.*t’ . I need the call to a suitable function from the re module ¬† import re quote = “Java is to JavaScript as Car is to Carpet.” result …
      • Exercise 1 In tutorial 1, you drew the flowchart for sale and tax in a retail shop. As a reminder this was the text of the problem: A famous retail shop decides to launch a big flash sale: -20% on all…
      • Can someone help how to code stage 4 and 5 Thanks COMP 1039 Problem Solving and Programming Programming Assignment 2 UniSA STEM The University of South Australia May, 2020 Contents Introduction Assign…
      • import socket import sys from datetime import datetime sock = socket.socket(family=socket.AF_INET, type=socket.SOCK_STREAM) remote_server = input(“Enter a remote host to scan: “) remote_server_ip = so…
      • please help me with this python program Question 1. Generator Store all created Person, Student, Employee, Faculty, and Staff in a dictionary for examples: a,b,c… are correspondent objects ¬†data ={…
      • def printFactors (factors) : ¬† ¬† s= “” ¬† ¬† for i in range(len(factors)): ¬† ¬† ¬† ¬† s=s+str(factors[i])+ ” ” ¬† ¬† ¬† ¬†¬† ¬† ¬† return s def classifier (n,factors) : ¬† ¬† sum= 0 ¬† ¬† for i in …
      • Turtle Graphics: Star Pattern Use a loop with the turtle graphics library to draw the design shown in Figure 4-14.
      • import time import pandas as pd import numpy as np # lists of data used at variouse stages¬† CITY_DATA = { ‘chicago’: ‘chicago.csv’, ‘new york’: ‘new_york_city.csv’, ‘washington’: ‘washington.csv’ } C…
      • Hi, I need python codes for these questions. Thanks A generalized code should apply on all these. FIND_MIN = \ ¬†[(‘find_min’, ([5],0), 0), ¬†¬†(‘find_min’, (min_list,0), 4), ¬†¬†(‘find_min’, (min_lis…
      • How to create the function is_burger(breads)¬†that determines whether a stack of bread is a burger. Input : a non-empty list of strings breads ¬†that represents the bread stack you are checking; the p…
      • Could you help with this 8. Write and test the following function: def file_analyze(fv) : Analyzes the characters in a file. The contents of the file must be unchanged. Use: u, 1, d, w, r = file_analy…
      • Code for Simple Navigator for a city or place using python(for Artificial Intelligence)
      • Please help me Write a script that plots the given f(x) function and its derivative for 100 data points between 0 and 10 f (x) = 5×2 + 6x+2
      • Use the Perceptron algorithm to provide a predictive model for MNIST dataset, using Scikit learn, and perform the following two tests: Use the cross-validation function learn and the KFold class to pe…
      • Problem description¬† The program will calculate and display statistics of Broadway shows where the data comes from a comma-separated values (CSV) file. We will use the reader function from the csv mo…
      • Because of the strange rules of the store “3 Items Only,” every customer is required to purchase three items – no more, no less. While unfriendly for customers who need fewer or more than three items,…
      • Write¬†the¬†code¬†to¬†implement¬†the¬†equation¬†below¬†(ignore¬†the¬†units).¬†Let¬†‹© ŗĶĆ67 ŗĶą 10ŗ¨Ņŗ¨Ķŗ¨Ķ›Čŗ¨∑›á›Éŗ¨Ņŗ¨Ķ›Źŗ¨Ņŗ¨∂and¬†¬†r¬†=¬†384e6¬†m.¬†‚čÖ‹©ŗĶĆŗĮö ‹® ›Čŗ¨Ķ ‚čÖ ›Čŗ¨∂ ŗ¨∂›é The¬†u…
      • How would I input these in this code? ————————————————- step = [] # This is where the particle has been. ¬† import random ¬† p_A = float(input(“Enter the probability of…
      • A Minkowski distance d() with p = 1.5 is used. Consider 3 points A,B,C with distances d(C,B) = 4 and d(B,A) = 6. Which of the following cannot be d(A,C)?
      • Please help me. Conjunctive Simplification Question 8 (10 points) Saved Which of the following correctly expresses the fact that and is commutative? O ( p x q ) A r = p , (qar ) OPAqeqAP Op (avr) = (p…
        • SoC design involves dividing work between hardware and software as well as deciding the number of general-purpose and custom processors and co-processors to be used. What main factors influence th…
      • Develop a Python program that creates a Dictionary which contains 5 pairs of CarName:Model¬† ¬† example¬† –> Toyota:Corola,¬† Honda: Civic, … Develop a python program to write this¬†dictionary i…
      • Please use the code provided as a guide. Do not use continue or break. The only import should be random. Also please don’t copy and paste a previously answered code. Thanks…. In our version of the g…
      • 1 12 Spring 2022 Homework One The following guidelines should be followed and will be used to grade your homework: The code for each question should be implemented using Jupyter Notebooks. . All the c…
      • A module is simply a file that contains Python code. When you break a program into modules, each module should contain functions that perform related tasks. For example, suppose you are writing an acc…
      • What codes to write to run the program that computes and prints the average of the numbers in a text file also by using two higher-order functions to simplify the design?Any help ?
      • PLEASE USE PYTHON TO SOLVE! Thanks a lot in advance….. f =x +v – xy Use gradient search to find the global minimum value of function f, suppose the initial values of [x, y] are [1,1]. Show the conve…
      • all .tweet files are in a folder called all-tweets how would this be done You are given a collection of text files, each containing 1000 recent tweets posted by several popular Twitter accounts. Each …
      • Hello! I am trying to finalize my code but I am having some trouble with my Report function. I would like to have my program use the information it receives to generate a report when called. #1, 2, 3 …
      • Program a statement that counts the number of elements of my_list that have the value 15. ¬†¬†¬†my_list = [ 15, 30, 35, 40, 45, 15, 25, 35, 15] 2.¬† Code a program that prompts the user for a list …
      • Assign¬†True¬†to the¬† variable ¬† has_dups if the string s1has any duplicate character (that is if any character appears more than once) and¬†False¬†otherwise this is what I got so far¬† i = [] for i…
      • I am trying to write a recursive function that asks for n number and then prints an asterisk ¬†n number of spaces from the beginning of the line, then n-1 spaces from beginning of the line and so on u…
      • Compose a class named Employee that holds the following data about an employee in attributes: name , ID number, department, and job title. ¬∑¬†¬†¬†¬†¬†¬†¬†¬†Make a UML diagram for Em…
      • 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…
      • Please help match with following: User Data Administrator(DA) Systems Administrator Information Resource Manager Database Administrator (DBA) Database Security Officer (DSO) This person usually report…
      • Below is the List File Skeleton (beginning of the text editor): # editor list x = “””The world according to Garp””” x_list = list(x) y = x.split(“\n”) line = 1 delta = 3 def print_list_file(y, line, d…
      • CONSTANT INTEGER ROWS = 67 CONSTANT INTEGER COLS = 39 DECLARE INTEGER PICKELS [ROWS] [COLS] What is the pseudocode statement that assigns the value 100 to the very last element in the PICKLES array de…
      • I need help on this question, I have no idea how to solve it. Write a function called plusRoot that accepts three numbers (a,b,c). It should then find and return the root of the equation ax + bx + c =…
      • describe one language other than Python that you feel would be beneficial to your career and one that would not. Be sure to include your reasoning. If you are not a developer, how does learning Python…
      • 1) The question screenshot has been attached down below: ¬† ¬†. COMP 10261: The FAQ Bot Plus Project Sam Scott, Mohawk College, January 2022 OVERVIEW An FAQ Bot answers questions about a particular to…
      • Vigenere Square (please see the picture in 2 for the complete square). Please write codes to print half of the square in 1; and print the full square in 2.¬† use string like this:¬†“ABCDEFGHIJKLMNOPQR…
      • A food fest is organised at the JLN stadium. The stalls from different states and cities have been set up. To make the fest more interesting, multiple games have been arranged which can be played by t…
      • Create a random array of 3 rows and 3 columns and sort it according to 1 st column, 2 nd column or 3 rd column .
      • how can we implement a client and server that will have initially a (PublicKey, PrivateKey) key pair created with the Diffie-Hellman scheme. and r will have initially the same RootKey of value (128 bi…
      • The question is on the second page and the first page is the wrong answer that I write, this question must use jupyter notebook to answer, I try to find how to write the code for this questions. Defin…
      • def sum_string(string: str) -> int: “”” Given a string <string>, return the sum of this string, as computed by the formula given below: To compute the sum of a string as defined by this funct…
      • From the above, we have access to a DataFrame named¬†ind. This stores a portfolio return for varying industries over time (e.g. a monthly return for¬†‘Food’¬†stocks, a monthly return for¬†‘Banks’, etc…
      • Given a number ‘n’, design an algorithm and write the Python to¬† print the digits of ‘n’ that¬† divides ‘n’. Print the digits in reverse order of their appearance in the number ‘n’.¬† For example, if…
      • in python Create module named advance_math, add functions to 1) calculate factorial, 2) check if a number is prime or not, 3) reverse of number, 4) check if a number is armstrong or not Import this mo…
      • I need help to describe the difference between¬†objects¬†and¬†values¬†using the terms “equivalent” and “identical”. I also need examples of the difference with Python lists and the “is” operator.¬†¬† …
      • You can access elements in a list by using an index the same way that you can index a character from a¬†___________¬†.
      • procedure to launch virtual machine to using trystack
      • I am confused on how to complete. Help is appreciated ūüôā
      • need code in python. Classes / Exception Handling / SQL Server Integration – Exercises NOTE: When working through the following Exercises, please refer back to the material and class demo files on Moo…
      • what would the code be? def get_section_start(section_num: int, section_len: int) -> int: ¬† ¬†“””Return the starting index of the section corresponding to section_num ¬† ¬†if the length of a secti…
      • questions for python programming. QUESTION 1 What characters are used to create a tuple in Python? C a() O b.() c d. 5 points QUESTION 2 A function’s definition allows you to define inside parentheses…
      • Using Python math functions that produce x,y values. The results of these function calls will be used as input to another program of your choice for plotting the results. Plots can be completed using …
      • Derive a recurrence for the average number L(n), of rounds needed to elect a leader in a city¬† with n people. Compute and plot L(n) vs n.
      • Write program that repeatedly prompts a user for integer numbers until the user enters ‘done’. Once ‘done’ is entered, print out the largest and smallest of the numbers. If the user enters anything ot…
      • A new town is being built far out in the country, and currently there are N houses. People have already started moving in. However, some of the houses aren’t connected to the internet yet. ¬† The hous…
      • Introduction In this assignment, you will write a program to recommend medical treatments based on the clinical attributes of a patient. You will be using the invasive Breast Carcinoma (BRCA) dataset …
      • Can you answer please. The gmram must follow this order . Wrapped in a tryfexcept block, attempt to open the file “information.txt". Print out that the file is not found when it throws an error…
      • Alphabetical Order The following words have three consecutive letters that are also consecutive letters in the alphabet: THIRSTY, NOPE, AFGHANISTAN, STUDENT. Write a program that accepts a word as …
      • Q3:Additionally implement : degrees(student1, student2, n) method : which returns True if student1 and student2 are separated by at most n degrees (fewer degrees is okay) ( https://www.pythontutori…
      • [10 marks] Write a Python function named strToDict that takes a list of strings in the form of "string1=string2" and returns a dictionary: . keys: stringl . values: string2 For example, strT…
      • Define a function named even with meaningful argument/variable name and corresponding doc-strings. This function expects a number as an argument and returns True if the number is divisible by 2, or…
      • a function that takes a list of city-to-city connections and the name of a city as arguments and returns a list of neighbors (immediate connections) of the input city. The city-to-city connections a…
      • compute the item-to-item weight matrix, which represent how similar each movie is to other movies. There are 3 steps in this exercise. # Remember to replace 0 adjusted rating values to 1*e-6 in order …
      • Consider the following lines entered on the Python shell: >>> number = 10 >>> id (number) 14072129″ >>> type (number) <class ‘int’> >>> number 10 Draw (or d…
      • Write a Python program to compute the weekly pay for a salesman. Your program should prompt the user for the number of hours worked for that week and the weekly sales. Your program should compute the …
      • Test/run average5.py and average6.py one by one.¬† You must run all programs to know how they work!!! Revise files¬† by ADDING line-by-line explanation/comment . (Using # to add comment/explanation, k…
      • S Moodl… Quantitative Apt [M4_CSQ3] Draw a flowchart and construct a python program to Write a Python program to create and accept a two-dimensional list of M elements with different data types. Use…
      • Directions Using the following guidelines, create a python program.¬† 1. You will be using the CPT180Stuff folder from Chapter 9 Assignment 1 for this assignment.¬† ¬† 2. Create a program named workWi…
      • Task 2: help make a script called ‘ sets.py ‘ Create these two sets: 1st set – apple, banana, cereal, onion, gum, orange, water, chicken, cake, oatmeal 2nd set – battery, gum, pencil, pickle, water, a…
      • code with explanation¬† ¬†. read values Define a function named read values with one parameter. The parameter will be the name of a CSV file to read (a string). The function should return a list. This…
      • Create a Python file dnw_app.py that contains the definition of a class named DInVApp. The class should include a method called eon1n1and_loop that presents the following menu (or something similar) …
      • I have an urgent assignment due tonight. I am so beginner of Python. Here below is the HW specification: In this project, you will develop a simple spell checker program that spots misspelled words in…
      • Hello I have 7 questions. Thank you 1-For the following code, what value is printed to the user? ¬† int x = 10; Console.WriteLine(x++); Question options: a- 9 b- 10 c- 11 – wrong d- 12 ¬† 2-For the fo…
      • from copy import deepcopy ¬† ¬† class BST : ¬† ¬† ¬† def _rotate_right ( self , parent): ¬† ¬† ¬† ¬†¬† “”” ¬† ¬† ¬† ¬† ——————————————————- ¬† ¬† ¬† ¬† Rotates the p…
      • Please help write the code based on the instructions and marking checklist below using Python on replit.com. Remember to make sure the code has descriptive comments throughout whenever needed. Make su…
      • Could you help me come up with a python command for this question? Thanks¬† 6. Ten potential donors have been asked to contribute today. Create the Python code that calculates the total number of doll…
      • Can you please help me with #13: **I cannot use any libraries so please don’t offer any solutions with PIL or any other libraries 11. Overview of Image Flipping Image flipping is slightly different th…
      • Text Mining Python Code Question is in attached screenshot. Please help to see. Link attached again – Python Relevant Files accessible via this link, please check :¬† https://drive.google.com/drive/fo…
      • This program extends the earlier “Online shopping cart” program. (Consider first saving your earlier program). (1) Extend the ItemToPurchase class per the following specifications: Private fields stri…
      • When day comes we ask ourselves, where can we find light in this never-ending shade? The loss we carry, a sea we must wade. We’ve braved the belly of the beast, We’ve learned that quiet isn’t always p…
      • would you please tell me how to use that code to work on jupyter notebook when you did please show me a screenshot and send me a codes ¬† file link: https://docs.google.com/spreadsheets/d/1I4v3Zz0gMAo…
      • What should be done in order to ask a person their age, by using a custom exception to return a message if the number is an int which is less than 1 or greater than 115. Will need to get exception tha…
      • Program 5-1 Execute a program that will help you determine how many months it will take to pay off a credit card balance. The program should ask the user to enter the balance of a credit card and the …
      • Please help me make a version 3 pong game code with these instructions
      • One Word document with screen shots of The output from Program 1. The debugger window from Program 2. The output window from Program 2. The output from Program 3. The .py file from Program 1. The .py …
      • I need help with this short PA. PLS NO break statements or global functions. thank you. In this short PA, you will be writing a program that reads in a game log file. You program will process the info…
      • How would I put this in a flowchart? (not hand written, use any software tool) Assumptions Only four seat section choices only one day only one person orchestraRate = 50 floorRate = 40 lowerRate = 30 …
      • Mad Libs are activities that have a person provide various words, which are then used to complete a short story in unexpected (and hopefully funny) ways. Write a program that takes a string and an int…
      • Hello ChefMonkey12! I unlocked one of your answers for my HW and it was awesome, so I figured I’d ask you to help me out with this one. Thanks Chef! CS 1301 Homework 6- Scribbler Line Sensing Due: T…
      • 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…
      • building that has 6 windows and 1 door,use turtle graphic
      • Can you help me figure out what I’m doing wrong? I keep receiving this error when I run the code and I don’t know what it means.¬†. Pc File Edit View Navigate Code Refactor Run Tools VCS Window Help p…
      • I need help with question 4 of Part 3. What is the end to the line of code starting with ‘Condition’
      • need assistance with the script. Theres are several steps. 1. Part I: Descriptive Statistics (Scenario A) Scenario A: National Weather Service Note: Im going to go ahead and include some screen shot…
      • hello I’m looking for someone to write code for program that will take these city and list by longitude and latitude and based of that they state if they are located on the equator. all the informatio…
      • 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…
      • Python Programming Please someone help me to write this function in python Link to ¬†hobbit-family.txt¬† file ¬†——> https://gofile.io/d/1AT6JV ¬† WHAT HAS BEEN DONE: “”” Template for Programmin…
      • We have two types of data splitting for training and testing data: out of sample and out of time. It is proper to use Out of Time splitting method for time series dataset. Writing a function to spilt …
      • Using crossvaligdation code below and having 2 data frames ¬†named train_housing and test_housing. Where do do these data frames fit in this code? # evaluate a logistic regression model using k-fold c…
      • Come up with another similar application and discuss all the phases of the software development as in the Tax calculation example.¬† ¬† Examples:¬† To compute your salary based on the regular hours an…
      • 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. What would the be t…
      • 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…
      • Once again, my IsInRange function is not working. After adding the created wrfile(), the code does not function properly. Here are my .py files and the output that I keep getting. ——————–…
      • 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
      • I need help with this homework question for python programming. This is a practice assignment to prepare for the actual final assignment, and im have no idea how to go about doing this, it would be gr…
      • 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 …
      • Calculate the average of TotalCharges for customers that have churned. Count and print the following: number of customers in the dataset, number of customers that churned, number of customers that did…
      • Create a grid of scatter plots with each one representing the price distribution in a single zipcode, annotate the highest and lowest price ones for each category of real estate: condo, residential an…
      • Programming Challenge – Math Test make a program that will ask a student to solve one mathematical equation.¬†The program should display two random numbers that are to be added, such as: ¬†¬†¬†¬†20 ¬†…
      • any tips on these can help me do thing assignment. class Person(object): ¬†¬†def __init__(self, name, ID, age, gpa): ¬†¬†¬†¬†self.name = name ¬†¬†¬†¬†self.id = ID ¬†¬†¬†¬†self.age = age ¬†¬†¬†¬†self.g…
      • what is the output of this program? frem iterteels impert product a=|istIIma punt, inpuH’Please enter a pair ef numbers separated by a spare.5uch as, l and EL’}.sth{]|i|} b=listimap{int, 1np1¬£t{‘F’l-…
      • PYTHON PROGRAMMING. ¬† NB// PLEASE DO NOT SEND OR SHARE A CODE THAT HAS ALREADY BEEN SEND.¬† ¬† Statistics of Gas Prices ¬† Specifications: The data for this product is stored in the text file named G…
      • Write Python program for the following problems. Ensure that your program compiles and runs correctly. Upload the .py file. Notes: At the top of your source code (.py file) add the following comments:…
      • Construct a function with the following signature: def average_sat_score_in_ny(colleges): “”” sig: list(list(str)) -> float Returns the value of the average SAT score of all colleges in New York “”…
      • modify so that it contains a While loop that will run based on INVALID VALIDATION : COMPL X + clasroom task 8.py – C:/Users/ACER/AppData/Local/Programs/Python/PytHong-32/clas File Edit Format Run Opti…
      • Everything in the template is laid out for you to put the right things in the right place.¬†¬†Leave every comment as it is, from the # Program <program name> line to the # End Program line (you …
      • Make a function¬† countDigits that takes a single string parameter and returns the number of digits in that string. Use a string method! Ex. countDigits(“The cost is $12.68”) would return 4.¬† ¬† ?…
      • one function named get_ok_items, which will be responsible for determining the allowed items in a persons carryon and personal bags. The function should have three parameters, all of which will be set…
      • Can I please get your help fixing my error in enforcing the preconditions for the following functions? Note: We cannot use indexing or method calls. We can only use these functions: https://ecpyfac.ec…
      • num_widgets=0 while True: ¬†¬†¬†choice = input(“Would you like to buy a widget? (y/n): “) ¬†¬†¬†if choice.lower() == “y”: ¬†¬†¬†¬†¬†¬†¬†num_widgets += 1 ¬†¬†¬†else: ¬†¬†¬†¬†¬†¬†¬†break print(“You boug…
      • I want to make sure if this code is correct: The problem asks : class Phone with attributes brand and price There is an additional function calculate_total that accepts quantity and returns the total …
      • Printing question: ¬† ¬† How do I print out the original values of x in a column/list alongside the output points? ¬† ¬† ¬† import random as rd pi = math.pi sin=math.sin points=[] for i in range(1, 21…
      • Exercise: In week 4, you wrote a program to read through the text file mbox-short.txt and printed all the from email address of the file (line by line). Now, find out which weekday the email was sent …
      • In VALORANT, each player must select an agent before the start of the game. However, if some player in the team already picked the agent, another player can’t pick the same agent. While in the actual …
      • 48 Letlintllndlist2hetwolistsofilleps.Weuytlmlist1hambliÔ¨Āoflint2 iftheelements in lienappeuinnntiinthemaÔ¨āuudleyminlinlmut notnecesurilyenunmtivelyjormhifliuliuhÔ¨Ānedu [15. 1, 100] andliltÔ¨āsd…
        • DOMAIN : Automobile ‚ÄĘ CONTEXT : The purpose is to classify a given silhouette as one of three types of vehicle, using a set of features extracted from the silhouette. The vehicle may be viewed f…
      • 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 …
      • 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…
      • Using IDLE IDLE is a particular Integrated Development Environment (IDE) that is typically included in a Python installation. An IDE will enable you to use a text editor to create programs (in the cas…
      • 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 sklearn.d…
      • Please make sure to use the given examples as your test code respectively.. (1) |Output a menu of automotive services and the corresponding cost of each service. (2 ots) Ex: Davy’s auto shop services …
      • Code and print the console steps and result 0 m3 = 2953 (mod 77) = 2925+?i+22+1 (mod 77). 29?” (mod 77) E 29 292′ (mod 77) E 292 (mod 77) =71 2922 (mod 77) a 712 (mod 77) =36 2923 (mod 77) s 362 (…
      • When the program starts, it should ask the user for a bitmap number. Then it should display the bitmap followed by the bitmap number. For ever 1 bit in the bitmap number, the program should display an…
      • I need to create pivot table that displays the average balance for account holders. On the pivot table columns, the data should be split the data based on education level and on the row the data shoul…
      • Help me I get this error with my code. How can i defined ‘calculate_gains’ E ====================================================================== ERROR: test_unit_test (__main__.UnitTests) ———…
      • May I please get the correct answer. Thanks for taking the time out of your day to help me!
      • Please help with question 1 at bottom. Do not change anything but the “# YOUR CDE HERE at bottom” ¬† https://pastebin.com/XABPmhQc Must pass tests. https://pastebin.com/xVGtJcKE
      • Question 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 …
      • Provide an example where you can use inheritance, polymorphism, encapsulation and constructors.¬† Provide a written explanation on your concepts.
      • What is the url to find the available optimizer functions?
      • This is a recursive ¬†function¬†sum_odd_n¬†that computes the sum of the first n odd numbers, i.e. it returns 1 + 3 + 5 + …. + (2n – 1). You may assume that¬†n¬†is always a positive integer. solu…
      • Consider the covariance function: How to def this k in Python? Am I right to code like this? def k (X,Xdot,d,c) : ¬†¬† return (np.dot(X,Xdot.T)+c)**d BTW, The first and second inputs should be an n …
      • Identify a large company for which you would provide data analysis as a consultant. Design a Python program which addresses the need to pull specific data for a company or organization. Create a Word …
      • Could you please provide python program to convert data set into at least three graphs and create basic Dashboard. Use any open data set for the analysis and please provide link for the data set that …
      • Given the recurrence relation, T(n) = 7T(n/5) + 10n for n>1, T(1) =1, write a Python Algorithm that finds T(625)?
      • I need help with writing a module called Runes_Files.py ¬† This assignment will require you to use your Runes.py module from Assignment 4. Please make a copy of the module and modify the final program…
      • here is one question 4. Handwritten digit classification. In this exercise you will replicate the results presented during the lecture. Perform least squares classification with Handwritten digits dat…
      • I am working on a python homework using the pandas library on jupiter notebook. My professor told me to use a .xlsx file about products. This is one of the questions I need to answer: “Question 7: How…
      • A Caesar cipher is one of the simplest and most widely known encryption algorithms. In this algorithm, each letter of the plaintext is replaced by a different letter that is some fixed number of posit…
      • ex_hand =ex.iloc[:3,-3:] ¬† Brahms Wagner Liszt Abel 2 1 3 Baker 2 3 3 Charlie 5 3 2 Question 3: 5 points Calculate the Euclidean distance between Brahms and Wagner in the ex_hand DataFrame. Assign th…
      • How can I get an expected output of HTML: example: def list(my_list): input: [“cell”, “word”,”animal”] expected output: in HTML form <strong>”cell”</strong> <strong>”word”</strong…
      • Wriite a program where two or more people talk. The conditions are as follows. ¬† You can choose the topic of the conversation you want. The content of the conversation should include the ability to c…
      • I’ve written a code for this pong game. I successfully got the ball to return in the opposite direction when it bounces off a wall, but I can’t figure out how to get it to bounce off the paddle itself…
      • Please help with step 5 and beyond! ¬† Collab: https://colab.research.google.com/drive/14EquCCliq2vfDePqb_L4uIlLcJuspTcw?usp=sharing ¬† ¬†. in this project {for HW 3), you have been approached by Soph…
      • Challenge below. Where I am beneath it. Calculate tuition for students of a community college.¬†In-state students pay $60 per credit hour, and will pay for only 12 credit hours even if they register f…
      • Template for Functions (chapter 5+).py – C:\Users\priya\Downloads\Template for Functions (chapter 5+).py (3.10.0) X File Edit Format Run Options Window Help Program <program name> Description: t…
      • The only part I don’t understand is how to obtain an “obfuscated password” in Wing 101. Question Use a function that will ask the user to input his name, then a chosen password. Once the information i…
      • need to implement war card in the following way;. cards.py a. a Card class i. including self.suit and self.value attributes ii. including a _repr_() method to display card info, e.g. ’10 of Spades’ b….
      • Hello Tutor When is it the appropriate time to use “for i in range”, while loop, or range(len) when writing a function in Python? Please provide examples or any useful links to practice. Thanks,
      • Using function is the main part. Thank you This week we will work with functions. For this week’s assignment, write a program that uses a function to convert miles to kilometers. Your program should p…
      • data_dict = { ‘test1’ :{ ‘Samantha Stosur’ : 7 , ‘Astra Sharma’ : 8 }, ‘test2’ :{ ‘Astra Sharma’ : 5 , ‘Ellen Perez’ : 4 }} def australian_tennis (data_dict) : player_list = [] score_list = [] total_s…
      • I need a function called min_change_day that takes a list of 2 or more prices and computes and returns the day (i.e., the index) of the minimum single-day absolute change in price. For example, consid…
      • Fill in the blanks so that the code will export the ist data frame to a pdf file with width of 200 and height of 300, and resolution of 400. import arcpy mdoc = arcpy. mapping. MapDocument(r"C:\t…
      • . This program will store roster and rating information for a soccer team. Coaches rate players during tryouts to ensure a balanced team. (1) Prompt the user to input five pairs of numbers: A player…
      • Python Quiz Application (PQA) that tracks the user and results of each attempt to a multiple choice quiz that is graded at the end of the attempt. User are required to log into the application before …
      • Read the data from “yellow_tripdata_small_2016-01.csv” Remove any data that is outside the NYC bounding box NYC bounding box: westlimit=-74.2635; southlimit=40.4856; eastlimit=-73.7526; northlimit=40….
      • Create a list named "I" with the following values ([1, 4, 9, 10, 23]). solve 20 points the following (write both the code and results for each section) : 1. Using list slicing get the sub…
      • Write a program for flipping a coin 10,000 times and store the results in a list . After which, identify the number of streaks. (streak – a series of 5 or more heads or tails ) ¬† 2. Repeat questio…
      • Could someone help? I need to Create empty dictionary a variable named¬† song search Repeatedly prompt the user to enter either the title of a song or enter nothing if they have no more songs to enter…
      • Help to resolve this this Python dictionary¬†. status = {200: "ok", 404: "not found", 400: "bad request"} Dictionary Operations. (a) Write statements to add three new ent…
      • I homework 3 Q1, I am working with¬† I need: c . Divide each day into two periods: Day (from 9am to 8:59:59pm, both inclusive), and Night (from 9pm to 8:59:59am, both inclusive). Calculate the average…
      • Test and Compare- the dataset on the website stated below 1. Build a test dataset using test_private_answers_task_1.csv¬† * you can merge the same characteristics from the metadata tables and make tes…
      • Use a for … in loop to iterate over `list1` and check the type for each value. For each value that is a string, use the `append` method to add it to `list2`. Then print the results of `list2`. list1…
      • NEED HELP IMPLEMENTING THE FUNCTIONS IN THIS CLASS (DOCSTRING EXPLAINS REQUIREMENTS): from typing import Iterator, Iterable, Tuple, Text, Union import numpy as np from scipy.sparse import spmatrix NDA…
      • PROGRAMMING LANGUAGE: Python Question 1: Write down a Python class named Rectangle constructed by a length and width . Write the mutators and accessors of both the length and the width and a method wh…
      • i need help in coding the above functions Part B – Find the minimum Implement a function find_min(let, index) that takes a list of orderable items and an index as input. The function returns the index…
      • Considering how objects list in their own memory space and can behave almost like independent entities, think about some possible programs that you could create with this concept. (for example, a sim…
      • # GRADED ### Replace every “t” – upper and lower case – in test string with a “*”. Assign to ans1. ### YOUR ANSWER BELOW test_string = “The quick Brown Fox Jumped over the LAZY Dog JUST THAT one too m…
      • https://drive.google.com/file/d/17QIBaPGzeKu4LZyBoV_4RyE03JWXDbfO/view?usp=sharing Write Python module, solver.py, to find the roots of functions of one variable. a few more methods to this module her…
      • I have added some points to the map below, I want to name these points and show them on the map. I would be glad if you could help.You can access (‘ReportSample.xlsx’) and (‘gadm36_TUR_2.shp) data fro…
      • Python assignment –¬† Link to assignment – https://docs.google.com/document/d/1qGtqZ5BQ_MO6MC5kswl7MjdtpmR2dITWJyRi8awFuyM/edit?usp=sharing Need help
      • The objective is to predict whether or not a credit card client will default for their payment in the next month. We will be using the better of 2 classifiers namely, Random Forest and KNN Classifier,…
      • how can i make this program? 2. (10%) Define a Python function aggre_item (item_list) where item_list is a list of dictionaries of the form { ‘item’ : itemname, ‘ amount" :posint }, and the funct…
      • Question 4 Consider the following CSV file – 4 rows shown: quote | source | dob-dod | category There is no remedy but to love more. | Henry David Thoreau | 1817-1862 | romantic Work is the curse of th…
      • I Need help converting this Java code to python language. ¬† import java.util.ArrayList; import java.util.List; import java.util.Stack; ¬† class State implements Cloneable { ¬† ¬† char raj; ¬† ¬† char…
      • Task 9 Complete the function to return a dictionary using list1 as the keys and list2 as the values # Complete the function to return a dictionary using # list1 as the keys and list2 as the values def…
      • Scenario #1: ¬†A car dealership has hired your software development firm to build a new car inventory program. You first need to develop a class that represents the inventory of the dealership. What c…
      • [20 points] Create a 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…
      • Please can I get answer this lap 7 with python and don’t forgot Comments – Begin your program with a comment that includes:¬† a) your name,¬† b)program status – either “Complete” or describe any incom…
      • language: PYTHON simple program done in python IDLE
      • Convert any data set into at least three graphs and come with basic Dashboard from given link below. Use any data set for the analysis from below link. The example data set can be from any open source…
      • A Python function, called Divisible Numbers, that takes a list of numbers and a positive n whole, and returns the number of divisible items per n found in the list. In the main part of the program, as…
      • Write a Python program that prints the numbers 1 to 1000, one number per line. However , instead of printing a number that is a multiple of 2, print the word “Bulba”. And instead of printing a number …
      • Lesson 2 Hands-On40 pointsDirections Data Transformation Hands-On ¬† In this hands-on, you will be using R, Python, or a combination of both programs to analyze data on the airbnb website. This Hands-…
      • Linear regression [30 points] (a) Dataset: the auto-mpg dataset on Kaggle. (b) (10 points) Perform feature scaling (using L2 norm) over the auto data set. Use two thirds of the data for training and t…
      • Perform Standardization of¬† digits.data ¬†and store the transformed data in variable¬† digits_standardized . Hint : Use required utility from¬† sklearn.preprocessing . Once again, split¬† digits_stan…
      • Hey, How are you? please check the attachment. Thank you …. 1. (50 Points) Given a directed graph G and a pair of nodes u and v, design a Python program that determines if u is reachable from v, and…
      • Hi, so my program so far, at this link, gives into account this scenario. https://ideone.com/AFa3GJ However, this homework question #5 is asking for it to create the deposit and withdrawal functions f…
      • The code must use a while loop. ¬†I had an answer which was great but it did not have a while loop ¬† Attached is the file: ¬†Sorry, I could not attach but this is what is in the data file: ¬† Colt Mc…
      • Question 2 Next, you will design and implement a class called¬†Function¬†with the following API: __init__( self, funct, name=”” )¬†will initialize the function with the given mathematical function and…
      • 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 instance a,b,c,…
      • How do you find the top 10 rows of AWND while storing the result in a .csv? The new file will have all of the data from the previous data.csv, but only the top 10 thats listed under AWND for Pandas in…
      • step -1 write code to export the following code in¬†a csv file step 2 -Read name and PHD column form the by reading the file in which you have exported data in first step ¬†import pandas as pd names =…
      • Challenge 1 ¬† Define a function which will take two arguments, both of type string.¬† The purpose¬† of the function is to return to the caller a random number from 1 to x, …
      • *python code* help?? 350 square feet requires 1 gallon of paint. Assign gallons_paint with the amount of paint required for wall_area. Sample output for the given program: 250.0 square feet wall will …
      • Implement the following function in the PyDev module functions . py and test it from a PyDev module named to9. py: def many_search(a, v): Searches through a for the value v and returns a list of al…
      • Project: Hangman We’re going to write the game of Hangman.¬† You only have to pass in the Hangman code.¬† Create a new file hangman.py. We’re going to start by storing the state of the game in vari…
      • The results of a survey of the households in your township are available for public scrutiny. Each record contains data for one household, including a four-digit integer identification number, the ann…
      • You are going to develop an application that keeps track of a fund manager’s daily operations. To keep the process as simple as possible, we will assume that there is only a single portfolio/ investme…
      • Could you help me with what I’m missing I think i need to call or return a function? My input is 1.5 2.2 Here’s my work import re user_miles = int(input()) def miles_to_laps(user_miles): ¬†¬†miles = f…
      • Create the following graph: Graph Book Counts By Publisher and Genre This option should graph a Stack Bar Chart of Publishers and Counts per Genre. The X axis should be the Publishers and the Stacked …
      • 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…
      • A function named intersperse that will prompt the user to enter two sentences. Then it will print a combined sentence, consisting of alternating words from each sen- tence: first from the first senten…
      • URGENT PLEASE USE BASIC PYTHON LANGUAGE. AS THE CLASS IS AN INTRODUCTION TO COMPUTER SCIENCE¬† THANK YOU¬† PLEASE DO EVERY QUESTION AS THEY BELONG TO THE SAME WORKSHEET HELPING ME STUDY FOR MY UPCOMIN…
      • Print a table showing what variables would be selected using best subset selection for all predictors of the training set. Determine the optimal model using Mallows’ Cp and output the model, including…
      • . Problem 3. Imperial Units of Distance Measurement in Roman Numerals Based on the existing program, modify the functionalitjes thereby it is capable of converting between the Arabic numbers and its…
      • Look below for the attachment.¬†The goal of this assignment is to practice reading and parsing through files on the web. In order to complete this task, students will need to have an understanding of …
      • QUESTION 1.) #¬†Use¬†the¬†function¬†return¬†to¬†create¬†an¬†error def¬†createError(): ¬†¬†¬†¬†#¬†Task¬†1 ¬†¬†¬†¬†#¬†Write¬†your¬†code¬†here ¬†¬†¬†¬†dinning¬†=¬†dict¬†(name¬†=¬†“Johnny’s¬†Restaurant”,?…
      • ASCII Art is a technique to create fancy effects using simple text output. By using only print statements, program called ‘rabbit.py’ that outputs the following:¬† (\\ (\/) ( ”) (\_/) (.. ) //)¬† O(“…
      • This is the investigation that I am stuck in. We are requested to write the script to gather the following values, and to write their inputs into a ifcfg stored in the /etc/sysconfig/network-scripts d…
      • Create two separate lists, one called books and one called authors.¬† ¬† ¬†In the books list, add the following book titles: ¬† ¬† ¬† 1. War and Peace¬† ¬† ¬† ¬† 2. Huckleberry Finn¬† ¬† ¬† ¬† 3. T…
      • Hi, this my lab and i don’t know what to do at all so if you ¬†could help me tanks¬†. Name: Student ID: PART A – Sets Create a new Python project in PyCharm called Lab? Create a Python file called mai…
      • Start with the following Python code.¬†¬†¬† alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬†¬† test_dups =¬†[“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]¬† test_miss = [“zzz”,”subderm…
      • in python¬†. Question 4 – Beam Me Up, Sarthak! [5 points] Starship Interpreter deals with many teleportations at a time, and Sarth just can’t keep up anymore! With the help of you, a new crew mate onb…
      • You decide to upload your recent project to a programming community website for feedback, and one thing that community users keep pointing to is the lack of exception handling. Realizing that they ar…
      • Python program that contains a function.¬†The function should have one parameter.¬†For an input of a list of strings, the function should return a dictionary.¬†The keys of the dictionary should consis…
      • Please answer below questions: 1: How do you install a Python Module name beautifulsoup4, please write the full command with the proper syntax. (hint, for both question 1 and 2 use the P ython I ndex …
      • Question: Using python code generate a csv file with all the contents extracted from https://data.lacity.org/resource/2nrs-mtv8.json ¬† This is my code so far import requests import json from bs4 impo…
      • Data Transformation Hands-On In this hands-on, you will be using R, Python, or a combination of both programs to analyze data on the airbnb website. This Hands-On will be graded. The best way to becom…
      • Use Python¬† ¬† ¬†Implement a function that will plot a set of X and a 2D hyperplane given by (w, b), and the projections of X onto the plane. ¬† Given: w¬†=¬†np.array([1.0,¬†1.0]) b¬†=¬†0.5 X¬†=¬†np….
      • use if statement and str method. We can generalize the notion of a square number from mathematics into formal languages. More concretely, we say that a string s is a square if and only if it contains …
      • Make the code for each part separately and then submit, please.. Task B: Python expressions [10] 1. Print a heading "Section B". 2. Write code to convert the temperature 100F (100 degrees in…
      • Q1) Develop a web application which opens the csv file and display all its data/fields in HTML table format. Ôā∑ Use the first row of data in the csv file as your report headings (Table heading) and d…
      • Write a program that first reads in the name of an input file and then reads the input file using the file.readlines() method. The input file contains an unsorted list of number of seasons followed by…
      • Please give two examples of how we can use the while loop in python in real world application. Please give detailed example and the code that is used.
      • def hands_of_blue(my_list: List[int])->bool: “””Determine if a list contains pairs. This function determines whether the elements of a list are in pairs – the first two elements are the same, the n…
      • A class Cats with public member variables: Cat name and cat age are required. The following specifications are required: add init() method of the class that initializes string member variables to empt…
      • The following is the monthly Time Series plot of ‘CO2 Emission’. ¬† Note: Please use the data set mentioned in the instruction for this question. ¬† ¬† ¬†. # aps YouTube Reading Introduction to Foreca…
      • I am having difficulty with SCREEN CAPTURE # 8 though SCREEN CAPTURE # 10. can somone please help me. please help here is my project: you can download https://github.com/helpi221/Django-REST-fr…
      • Part B – Flipping Is the question that needs to be done Post At x https:// x > Skills vs x | Home X LECT 3 a1796d x IGOT A X Unit: FI x f71a4e( X Messer X d3cgwrxphzOfqu.cloudfront.net/f7/1a/f714e0…
      • Exercise 0 ¬†(2 points). In the code cell below, we’ve defined a list, N = [10, 100, 1000, 10000, 100000, 1000000, 10000000] Take each entry¬†N[i]¬†to be a problem size. Let¬†t[:len(N)]¬†be a list, wh…
      • def invert_dict (d) : ¬† ¬† ¬†inverse = dict() ¬† ¬† ¬† for key in d.keys(): ¬† ¬† ¬† ¬† ¬† ¬† ¬† value = d[key] ¬† ¬† ¬† ¬† ¬† ¬† ¬† for val in value:¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† if val not in…
      • I uploaded the example my professor put as well as the advice. Welcome to Python National Bank! Please type W for withdrawal, D for deposit, C for check balance, or F for finished :W How much would yo…
      • solve both question in python programming code. the output of the are given in box fig 4.35 and 4.36 1. Projectile Motion Write a program to provide information on the height of a ball thrown straight…
      • whats the answer and the steps to get the answer using IDLE
      • Deterministic Finite Automata Help I need help with creating a DFA that should accept binary numbers that are divisible by 4. For example, “1001” (which is 9 in base 10) is not divisible by 4 and thus…
      • Write a Python program to analyse data from a weather station that is stored in a .csv file. Your module should include a main() function and should use the idiom if __name__ == “__main__”: to check i…
      • Is there a way to write the following code without having to create the State Class:¬† import copy import time class BlockWorldAgent: def __init__(self): # If you want to do any initial processing, ad…
      • Given the following file structure: (25 marks) C:\ WINDOWS My Documents Program Files calc. exe directions . txt martin. doc landscape . jpg MS Office util . zip Drivers PowerPot . exe WinWord. exe…
      • Read the following code used to calculate the total cost of a meal with a 20% tip: ¬†¬†¬†¬†mealCost = input(“What is the meal total?”) ¬†¬†¬†¬†tip = mealCost * 0.20 ¬†¬†¬†¬†totalCost = meal + tip Ther…
      • Please use python 3 and comment the important part. Thanks. Write a recursive function named is_subsequence that takes two string parameters and returns True if the first string is a subsequence of th…
      • for def party_history(self, party: str) -> Dict[date, float]: ¬† ¬† ¬† ¬†“””Return this party’s percentage of the popular vote in each election ¬† ¬† ¬† ¬†in this jurisdiction’s history. ¬† ¬† ¬† ?…
      • . Bonus question : (5 points} The Bonus question here will touch upon SQLAIohemy! SQLAIchemy a python 53L toolkit and more importantly. an Object Relational Mapper (OHM) that provides application de…
      • Create a python file named exam_functional . py. Within this file, create a function (reduce_rec) that works basically the same way as the built-in reduce () function in Python, except that you will i…
      • Hello, I need to develop an automobile class that will be used by a dealership as a vehicle inventory program. The following attributes should be present: Private string make, model, color, int year, …
      • Design the dictionary so that it could be useful for something meaningful to you. Create at least three different items in it. Invent the dictionary yourself. Do not copy the design or items from some…
      • My code is below. I can’t seem to get the table to start correctly with Adults 1, babies 0. The next loop should be Adults 1, Babies 1. I need help being able to print out the table to match this tabl…
      • CHALLENGE ACTIVITY 4.5.3: Boolean operators: Branching using Boolean variables. Write an expression that prints ‘You must be rich!’ if the variables young and famous are both True. 376628,2015284.qx3z…
      • I need help with this project. I can’t seem to figure out where to start. ¬† 1. Library of Congress – Description Expected duration: 3-6 hours ¬† Problem ¬† You are working in the Library of Congress …
      • Facing issue to solve below code – import ¬†os import ¬†datetime def ¬† func1 (y,m,d,ms,se,da,mi) : ¬†¬†¬†¬†input_date¬†=¬† ¬†¬†¬†¬†input_date1= ¬†¬†¬†¬†t= ¬†¬†¬†¬†day¬†=¬† ¬†¬†¬†¬†year=¬† ¬†¬†¬†¬†mon…
      • No need to output the code, just answer the discuss questions(a, b, c, d, e, f, g, h) : Code 3 sum = 0 for i in range(10): ¬†¬†sum = sum + i ¬† print(“The sum of numbers is”, sum) Code 7 for i in rang…
      • Note: Draw the flowcharts for each of the tasks separately. Use the Bash shell for the completion of this work. Develop a shell scripting application that allows the user to perform some advanced math…
      • need help debugging traceroute program in python https://stackoverflow.com/questions/70319155/icmp-traceroute-debug-in-python
      • What does the return call do in a function and when does a return require a parameter?¬† ¬† def books(): >>>return books ¬† print (books())
      • Modeling Old Faithful Eruptions¬† ¬† Given a proposed distribution with probability density function (PDF) f(x) for random variable X with a set of n observations {X1,…,Xn}, the likelihood function …
      • Hello, I got a problem about deep learning. I am using Keras to do “Dogs vs. Cats” competition on Kaggle. But I meet a problem described as below. So Could you please help me out? You can go to Kaggle…
      • Lesson 1 Lab – Creating an algorithm with Flowgorithm Objectives ¬†¬†¬† ¬†¬† Use Flowgorithm to create and map an algorithm requiring three variables and an assignment statement Lab Task Checklist √ľ?…
      • # dealTables(sizes, deck) takes a list of sizes and a deck (such as # one constructed by createDeck() and shuffled by scramlble()) and # returns a new list of lists, where the length of each sublist i…
      • You will create a mock CPU scheduler. Programs will get in a queue and wait for their turn to have some time in the processor. While a program is using the CPU it call do simple things like add a func…
      • (20 pts) In a recent NIH article concerning COVID-19 rapid tests (Diagnostic accuracy of a SARS- CoV‚ÄĒZ ra id anti en test in real-life clinical settin s – PubMed nih. ov ), they evaluated 1465 patie…
      • Cosine Similarity The cosine similarity calculates the cosine of the angle between two vectors normalizing it between 0 and 1. The cosine similarity score is given by the following formula ¬† cos(őł)=…
      • Playing with Magic Words PYTHON CODE ¬† Here a word ‘S’ of length ‘n’ is said to be a magic word if it satisfies the following conditions: ¬† All letters of S are lowercase letters of the English alph…
      • Python Knowledge ¬† 1. Select all valid variable names in Python A. Winter2022 B. 2022_winter C. Snow? D. winter+snow E. _winter2022 F. winter_2022 ¬† 2. Choose whether each is a literal or variable i…
      • Connecting to an API/Pulling in the Data and Cleaning/Formatting Perform at least 5 data transformation and/or cleansing steps to your API data. For example: Replace Headers Format data into a more re…
      • I am trying to answer the following: ¬† Given a list of numbers, return a new list where each element is the¬†corresponding element of the list to the power of the list index. I have to use the follow…
      • Write an algorithm that will find the sum of the digits in each number between 1 to 350. Check if the sum is a divisor of the number. If it is, then print out “XXX : S, <– is a divisor.” ¬† …
      • There are eight cars in each team called Chevy and Ford. One car from each team races its opponent on the drag strip. Read in the racing times for the eight Chevy cars and then read in the times for t…
      • The conditional statement below uses an if statement to check if the value of the variable is greater than zero. What is the datatype of the expression num > 0? if num > 0: print ("great…
      • need Coding in python and Jupiter notebook with steps so I can understand the codes and do the homework and analysis also and learn it.¬† Problem 2: Logistic Regression and Linear Discriminant Analysi…
      • I’m Carla and i’m worker (economist). At the moment, i’m doing an online course about Python and i’d like to see this example, because i’m studying this part (average, maximum and minimum)
      • Back in the day, companies stored their records in a file very similar to this one. In fact, even up to today, some companies still store their records in a file like this. In order to store informati…
      • How to find the number of clusters in a confusion matrix?
      • How to code this in Python? You can enter in a game where you get to flip a fair coin 20 times, and you will receive $100 any time you get a “Head” after two consecutive “Tail”. If you need to pay $25…
      • Using Python3 for Data Science Please provide me the detailed coding for creating a pivot table and Graphs using Excel file I will be using Jupitor Notebook for Python 3. Please provide me the detaile…
      • Exercise o Use the function design recipe to develop a function named divisors. The function takes a positive integer n and returns a list containing all the positive divisors of n. For example, if d…
      • Only Do Problem 5 ¬†. Problem 5: (4 pts) Based on your simulations above, what can you conclude about the success of this conservation effort to save black-footed ferrets?. Black-footed ferrets Let Py…
      • How should I go about this? Design a Python project manage_course.¬†Add a Python file course.py to this project.¬†Define a class Course in this file.¬†This class has three publicly accessible instance…
      • I am stuck on how to do pseudocode for a list of months. Do i just have “Start” “List of months” and “End”? Is there no print?
      • Prompt the user to enter their month of birth, day and the birth year as a single number.¬† For Examples:¬† ‚ÄĘ June 12 on 1998 would enter 61298¬† ‚ÄĘ October 9 on 2001 would enter 100901¬† ‚ÄĘ Janua…
      • Can you help me implement these 2 python program? Part 2 we must plot the data on the second file in a graph Part 3 is based on part2 and must create as many as we want. its urgent
      • Hello, I need help solving this Lab simulation, It uses Boolean operators: Detect specific values for if-else statements and I am very new at python on so I need help solving it. It is very difficult….
      • Can anyone help me solving this problem within 30mins, please? I have exam next hour I badly need this to practice. Don’t have much time. Here is the question: Ques:¬†¬†Implement the design of the Asu…
      • Complete the two test methods for most_popular, described below. Assume this function is in a module named running . py. def most_popular (company_to_placements: Dict [str, List [int]]) -> List…
      • Inside the file readpositive.py, create a function is_positive_and_odd(n) that returns True if integer n is positive and odd (otherwise False). Then write a program using this function to repeatedly a…
      • baseball team manager case study python programming chapter 6
      • Submit the zip files to Blackboard for credit. Problem 1 a Python project fly_drone.¬†Add a Python file drone.py to this project.¬†Define a class Drone in this file.¬†This class has the followi…
      • In this project, you are going to model the median home price of various houses across U.S. Census tracts in the city of Boston. Note that we are predicting a continuous, numeric output (price) based …
      • python¬†. Review the requirements for the Vector valuetype from Exercise 5 (given in the Appendix). You are to improve on your initial code by implementing a number of Python’s so called "dund…
      • For Programming Assignment 1, we are going to code Phase 1 of an IPv4 Address Checker based on examples we have covered in class up through Module 2. (We will add more functionality in a later assignm…
      • CODE REQUIRED Provided is a buggy for loop that tries to accumulate some values out of some dictionaries. Insert a try/except so that the code passes. If the key is not there, initialize it in the dic…
      • Here is the code that needs to be uncoded: import numpy as np from Calc_state import Steam_SI as steam ¬† import sys from PyQt5.QtWidgets import QWidget, QApplication from PyQt5.QtWidgets import…
      • Using Python: Evaluate the Na√Įve Bayes model on the¬† framingham_nb_test ¬†data set (attached below) . Display the results in a contingency table. Edit the row and column names of the table to make t…
      • I have a question related to python programming with tkinter. I have the following program from tkinter import * from tkinter.messagebox import showinfo import random class Application(Frame): ¬†¬†def…
      • Answer with Python code please!!. 4. Here is a table with Cows and their favorite Ice Cream. Cows Favorite Ice Cream Clarabelle Chocolate Mint Ellie Vanilla Daisy Lime Louise Strawberry Create a funct…
      • 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…
      • Programming Assignment 4 Due October 22, 11:59 pm Write a program to ask the user their name. Present the user with a menu with five choices. ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† 1 – Additio…
      • This program outputs a downwards facing arrow composed of a rectangle and a right triangle. The arrow dimensions are defined by user specified arrow base height, arrow base width, and arrow head width…
      • Q Write a python script that can connect to the website www.centennialcollege.ca. 1) Greet with your first name and website url. 2) Find the IP address of the website using the one of the socket metho…
      • How can I generate a population growth tables for US and Russia for the years 1980 onward from the data in population.json? The program must produce tabular output and the program should list one tabl…
      • Hello! I am looking for a step-by-step explanation alongside the code. Thank you¬† ¬†. get_country ( ) Function purpose: prompt user for country name Function parameters: prompt Function return: count…
      • PYTHON CODE PRGRAMMING ONLY! DO NOT SUBMIT YOUR SOLUTION TWICE IF YOU HAVE RESPONDED TO THIS BEFORE Here is a link to a folder that has two files which will be needed in order to form a response: http…
      • 18 Which of the following are legal variable names :" ( a ) abc 1 23 ( b ) 123 abc ( C ) abc 1 23\ ( d ) 123
      • How can I program a function inversion(tab,x)? The inversions function takes two parameters: an array tab of length n containing the integers from 0 to n-1 (in any order), and an integer x between 1 a…
      • . Remove duplicates Using sets: Does not preserve order In [3]: a_list = ["Apple", "IBM", "Microsoft", "Apple", "Intel", "Microsoft" ] # R…
      • PMT: Vehicle Leases Arctic Bank leases vehicles for some of its senior employees. These vehicles come in three categories: Royalty, Luxury, and Deluxe. At the end of each year, the accountant needs to…
      • userNum =int(input()) userNumSquared = userNum +userNum print(userNumSquared, end=’ ‘) This assignment is to get an interger from input and output that interger squared ending with newline. The output…
      • No.1 Code a function called ‘combine’ #ACCEPT two inputs: # The first input is a list. #The second input is either either a list or some other type of object ### IF AND ONLY IF the second input is a…
      • Hey, I need help with my programming Assignment Please!!!! The instructions are down below Thanks in advance. Create a new python file named Assignment4 Define a main function In the main function hav…
      • Part 1: def countdown(n): ¬†¬†¬†if n <= 0: ¬†¬†¬†¬†¬†print(‘Blastoff!’) ¬†¬†¬†else: ¬†¬†¬†¬†¬†print(n) ¬†¬†¬†¬†¬†countdown(n-1) Write a new recursive function¬†countup¬†that expects a negative argu…
      • I need help with my assignment, in this assignment I must implement a counter for words in Wikipedia titles and find the top words used in these titles. Using the below template. My application takes …
      • How can I send .py and .txt filesjQuery2240640219126962511_1592453304188 PYTHON PROGRAMMING Write the missing client code program, stamps.py. Given the class Stamp (stamp.py) and the data file stamp_d…
      • 1 The scripting layer is (check all that apply) comprised mainly of pyplot. an area on which the figure is drawn. a handler of user inputs such as keyboard strokes and mouse clicks. lighter that the…
      • Hep with regex expression python Thanksgiving is coming so let’s use regex to find valid coupons. There are two versions of coupons: – The Ô¨Ārst version starts with the company name, amount of the di…
      • . Assignment Overview In this assignment, you will put everything you have learned together. Building off of assignment 2, the purpose of this assignment is to apply your programming fundamental ski…
      • how can i add this customers can rate part to this code and save their information in ratings.txt The basic data-structures for storing books and customers are implemented, tested and documented. Your…
      • MUST BE WRITTEN IN PYTHON3! PLEASE GIVE A EXAMPLE OUTPUT IF POSSIBLE. Modify the bubble and insertion sort algorithms for (situationally) better performance. Part 1 – cocktail_sort bubble_sort works w…
      • Revise ¬†the website program to reflect the following changes: Prompt the student for the number of courses being taken Use a¬† for ¬†loop to prompt the student for the price of each book based upon t…
      • My specific question: I did not include all the sample runs because this would be to long, but if needed I can do so. I am a bit confused as to how I should start this off. Do I initially use __init__…
      • I am debugging this function (I have commented everything just to test something very simple): Everything else is working perfect except ¬† print (selected_actors[i]) which gives me error : list index…
      • String Operations on DNA / RNA ¬† Information that you need for this lab is in the lecture notes. https://github.com/Univ-Wyo- Education/F21-1010/blob/main/class/lect/Lect-11/Lect-11.html.pdf Part 1 C…
      • Example 2 Here is a possible list of actions taken by the interpreter for the input program: b 6 P= q + 5 r P . On reading "q = 6": – insert element 6 into DATA. Let this be stored in list p…
      • Please use python to solve this problem. ¬†. Data Source [Please type this title in the google]: Census‚ÄĒIncome (KDD) Data Set 1¬Ľ The outcome yet; are going to predict is whether income of the respo…
      • I’m trying to get rid of/remove/delete strings of the months that do not contain the letter “r” from a file, but it is not executing correctly. Here’s my code: def main(): ¬†¬†¬†# Displays the name of…
      • Write a main program that asks the user for a player name, the number of at-bats for the player, the number of singles, the number of doubles, the number of triples, and the number of home runs.¬† …
      • How can I do this code Part 4: ESS and DESS (10 Points) One computational theory (ECS 120) textbook defines the ESS ("Encode as Single String") encoding of two strings as a single string tha…
      • I am trying to implement gradient descent that uses least squares loss as stopping condition but my weights are not converging to the right values. What am I doing wrong in my code? 62 #setting et…
      • Using the concept of sentinels, do a loop that reads strings from standard input, where the string is either “duck” or “goose”. The loop terminates when “goose” is read in. After the loop, y…
      • I have a gui keypad program below. I want to have the program read a text file so that it has something to compare against when someone used the keypad.¬† ¬† import random import tkinter as tk from tk…
      • can someone help and explain to me how to fix the indentation. I used Sublime Text 3 but couldn’t fix it. #! /usr/bin/python3 import random GOOD_VALUES¬†¬†= [1,2,3] USER_MARK¬†¬†¬†= ‘X’ MACHINE_MARK¬†…
      • ) Following is data on 10 people, information on the number of dependents on each of them and their income is given. Draw a dual-axis plot. Person No. of Dependents Income 1 1 60000 2 2 52000 3 0 50…
      • Is someone able to help me with this coding problem ASAP please! I have some code written already I am just kind of stuck on the rest. Try to keep the code simple. Please include code in functions, a …
      • Write in Payton ¬† 1. Define a new array called weapons and add 6 different weapon names in the array, ¬† ¬† ¬† with increasing levels of weapon strength. Use Fist, Knife, Club, Gun, Bomb, Nuclear bom…
      • Thera Bank Personal Loan Campaign Data Description: The file Bank.xls contains data on 5000 customers. The data include customer demographic information (age, income, etc.), the customer’s relationshi…
      • a program that takes a sequence of numbers and determines whether all the numbers are different from each other. ¬† 2.¬†¬†¬†¬†a program to do the sum of middle three digits of a 5-digit posi…
      • Question 4: A function that will prompt the user for an integer and continue to prompt them until a valid integer is given. The prompt should be passed in as an argument. The value entered by the user…
      • Write a python program for the following question using functions definition and calling in Python: ¬† ¬† ¬†. START OF PLAY The player starts with 100 points. They have ten attempts {or rounds) to rea…
      • Instructions: Read the problem below and write the code in Python. Sample inputs and outputs are provided. Note that the runtime should be not more than 10 seconds for hexadecimal digit numbers that a…
      • I need python code pleass code in pycharm and then send code and output screenshot If Time Permits 11. Sum of Three Write a program sumofthree . py which asks the user to provide a three digit number….
      • My program is almost finished. The only function that isn’t working is my learn1(). It uses supervised machine learning (SVM) to analyze the file ‘wimbledon_men’. I don’t know how to fix it. It may be…
      • Using PYTHON PROGRAMMING ¬† simulate Round Robin scheduling with a provided time slice. With a¬†Lock Variable mutual exclusion method where it is a , Single, shared “lock” variable (initially 0). When…
      • How can I write .his program in a more concise way? I would also like the user to be allowed to enter the date indefinitely, until the user enters 999 as a string. When I enter the wrong date twice in…
      • In Python write¬†an HTML parser¬† ImageLinks ¬†that prints out all the hyperlinks of the images on an HTML web page. You should implement an ImageLinks class as a subclass of the¬† HTMLParser ¬†class …
      • Hi , may I know how to find the treasure from a file like this ? where the coordinate correspond to the row and column number ? Here is my previous code : ¬† def decode_map(mapfile,ddict,outfile): ¬† …
      • Lists Python represents sequences of values using lists. The length of a list, obtained using the function len(). >>> len([[1,1+1,4-1],(5,6), “yes”, “no”]) 4 >>> ls=[[1,1+1,4-1],(5…
      • Hi, I am having trouble answering these questions for my assignment. A tutorial on private variables and using tkinter and how to solve these problems, not just the answer would be great. 2- Use tkint…
      • Suppose you want to develop a program to help a first grader practice¬†addition, subtraction, multiplication, division, exponent or reminder. The user should have option of choosing which mathematical…
      • The prime factorization function takes a single integer parameter n. The n will be an integer value 2 or more. The prime_factorization() function returns a list of the prime factors of the parameter n…
      • Module that simulates the rolling of 1 or more dice, then compares the theoretical with the real results.-The consumer must be asked how many dice will be used in the simulation. The number of dice is…
      • Complete the function module to implement all 4 encode/decode functions using files (using python 3.9.6) ¬† #ecrypt or decrypt splitstream or railfence transposition ciphers #algorithm from cryptoUtil…
      • Flowchart and python. News Translate New Tab G Google Solve the following problem using a loop. Start by the algorithm (flow chart or pseudo-code) then translate the algorithm in python code. Problem …
      • Has to be done in Python Write a program that takes a date as input and outputs the date’s season. The input is a string to represent the month and an int to represent the day. Ex: If the input is: Ap…
      • Prepared Question Your phone (likely) knows you who your most-used contacts are so they can be displayed on the speed-dial page. Here are two different ways we could implement this functionality in Py…
      • Reward 4 Shop (R4S) has employed you to develop an application to help them calculate the reward points and discounts for their customers. The rates are calculated as follows: Every dollar spent on re…
      • In Python please use the below implementation of BinarySearchTreeMap class¬†BinarySearchTreeMap: ¬†¬†¬†¬†class¬†Item: ¬†¬†¬†¬†¬†¬†¬†¬†def¬†__init__(self,¬†key,¬†value=None): ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† s…
      • Recode the column game_result into a dummy variable, win, with W = 1 and L = 0
      • Using the Python, use the data to calculate f”(1) as accurately as you can. x: 0.84 0.92 1.00 1.08 1.16 f(x): 0.431711 0.398519 0.367879 0.339596 0.313486 (x, f(x)): (0.84, 0.431711), (0.92, 0.398519…
      • This is a Python script. We need to modify the original script monitor-disk-space.py as per the given instructions. The original script is in the image attached ¬† The script used to monitor disk spac…
      • program that uses a text file to store¬† weekly payroll data for the office. The program should enable the user to enter the name , hourly pay rate , and weekly hours for a number of office employees….
      • The CASE structure is a selection structure, however not all selection structures may be represented as CASE. Give an example of a selection problem that may be solved using the CASE structure and ano…
      • In the datetime module, there is a function “datetime.datetime.today().weekday()”. This function returns the day of the week as an integer, where Monday is 0 and Sunday is 6.¬†Please write Python prog…
      • Using the table below, complete the following tasks: INVOICE Attribute Name Sample Value | Sample Value| Sample Value Sample Value Sample Value INV_NUM 211347 211347 211347 211348 211349 PROD_NUM AA-E…
      • 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 …
      • Let k be an infinite field. Let I = (y – x2, z – 23) C k[x, y, z]. (a) (4 points) Show directly (without using Buchsberger’s criterion) that {y – x2, z – 23} is a Grobner basis for I with respect t…
      • Python program that accepts a string as input. It should analyze some characteristic of that string and display the result of that analysis. The program must use at least one of the following: string …
      • Chapter 7 complete the following Programming Exercises from the chapter.¬†¬† #2¬†Lottery Number Generator #3¬†Rainfall Statistics #4¬†Number Analysis¬†program (optional 5pts¬†Extra Credit)¬† – #11 Lo …
      • Write a program that reads in three strings and sorts them lexicographioally. Do NOT user the sort function. 5 pts Enter string 1: Charlie Enter string 2: Able Enter string 3: Baker Able Baker Cha…
      • Develop a program using TKInter widgets. When run the output windowshould look like Figure 1 when the Red buttonis pressed it should look like Figure 2, when the Green buttonis pressed it should look …
      • python practice question: Make Python program that allows the user to enter a series of numbers and places the¬†numbers¬†(not string values) in a¬†list.¬†Each number entered by the user is the monthly…
      • Given Code: ¬† #One common function of online text-parsers is trying to find #known text in a block of other text. For example, from a web #site, we might want to find any phone numbers present on the…
      • make a program that calculates the total cost of per year at Central Maine Community College. Using the information found here: https://www.cmcc.edu/admissions-aid/paying-for-college/cost-of-attendanc…
      • . Q1: Here, I’m just looking for the ability to create a dataframe and assess its data’s properties. p1, 10 pts: Create a dataframe from IncomeAL.csv and print the first 5 records and the statistica…
      • Download the files in the A9¬† starterCode¬†(https://drive.google.com/drive/folders/1QbjBaFPuv36azobzxorxDdiIF2JIfpfY)¬†(Links to an external site.) folder¬†(Links to an external si and add all the fi…
      • ou 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, and woul…
      • . LIMIT = 50.0 def main () : inputFile = open ("babynames. txt", "r") boyTotal = 0.0 girlTotal = 0.0 while boyTotal < LIMIT or girlTotal < LIMIT : line = inputFile . readli…
      • Could you help giving me explanations on this R Programming coding problem ? Thank You ! 1. Suppose the weight of residents in California, New York , follows a normal distrubition with a mean weight o…
      • Section :01: Compute a python (Tic-Tac-Toe ) program which should include at least one of each of the following: ¬† ¬†a) container type (list, tuple, set, or dictionary) b) iteration type (for, while)…
      • Need help with code, getting errors, need to output to JSON file, what needs to change? from datetime import date, timedelta import sqllite3 conn=sqllite3.connect(‘customer.sqlite’) class Customer: ¬†…
      • Please complete the below: The parameter weekday is True if it is a weekday, and the parameter vacation is True if we are on vacation. We sleep in if it is not a weekday or we’re on vacation. Return T…
      • Python Basics 4 – [Definition and If statement] Objectives 1. Write and read Python programming language codes for textual and sentiment analysis. (LO2b, LO3a) 2. Identify contemporary issues in finan…
      • mport stdio import sys from interval import Interval # A data type to represent a rectangle as two (x and y) intervals. class Rectangle: ¬† ¬†# Constructs a new rectangle given the x and y intervals. …
      • Im having trouble with my loop when I enter in y (to go for another game) its loops and gives me new dice but when I put in the response of what to should be say 6 for example it gives me the same res…
      • . (10 points) Question 2 Design an MLP neural network using Keras sequential API to classify MNIST fashion dataset. A. The input is MNIST fashion database, which is part of Keras. Load the data as f…
      • https://www.coursehero.com/tutors-problems/Python-Programming/27243558-I-want-to-make-a-game-2048-with-the-requirements-in-pictures-but-I/ Long question, can it be answered?
      • Covid-19 total number of cases and total number of deaths are provided below India: total cases-215858 and total deaths- 29958 France: total cases-137779 and total deaths-25987 Spain: total cases-2214…
      • Please make a code using python!! Write a set operation class called SetSuite. It should have the following methods: ‚Äā __init__( list_of_lists ): the input should be a list of sets (represented as l…
      • (8 points) Problem 1 gives you practice creating and manipulating graphical objects. a. (5 points) Provide a program target1.py as described in Programming Exercise 2 on page 118 of the textbook. b. (…
      • 1 Week 5 Deliverables Overview : In this week, you have studied additional Python language syntax including F ile I/O, Exceptions and Object – Oriented Programming . The Lab for this week demonstrates…
      • How do you set up code for this Monkey and coconuts Three sailors have collected some coconuts, which they plan to divide in the morning. Not trusting the others, one sailor divides the coconuts into …
      • 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 codes. 1 ….
      • class base_class: ¬†¬†”’ ¬†¬†base class, will use a template for children classes; will not be used for creating objects ¬†¬†”’ ¬†¬†def __init__(self, ip_add): ¬†¬†¬†¬†self.ip_address = ip_add ¬†¬†?…
      • msleepStats For this assignment, name your Fl file msleepStats.R o For all questions you should load tidyverse. You should not need to use any other libraries. 0 Ftound all float/dbl values to two dec…
      • Question: Maple Leaves Ltd is a start-up company which makes herbs from different types of plants and its leaves. Currently the system they use to classify the trees which they import in a batch is qu…
      • This assignment is based on the work you will have completed with the video sections noted within the Module 3 Background page. Hamedani, M. (2019, February 18). Python tutorial for beginners [Video f…
      • Pseudocode or Flowchart for Code to “Get an Item” ¬† Hi, I have to create a flowchart to get an item in a game from different rooms. Is this correct? If not what else should I be adding?. START INPUT …
      • 24 LAB*: Program: Soccer team roster (Dictionaries) ¬† This program will store roster and rating information for a soccer team. Coaches rate players during tryouts to ensure a balanced team. (1) Pr…
      • EDA Exploration – This is the Dataset of Employee Attrition from Kaggle : https://www.kaggle.com/datasets/patelprashant/employee-attrition ¬† Please help to find Out Relationship between variables: – …
      • This program will store roster and rating information for a soccer team. Coaches rate players during tryouts to ensure a balanced team. (1) Prompt the user to input five pairs of numbers: A player’s j…
      • Scenario and Instructions: The purpose of this task is to create a gradebook for a cyber-subject for different students enrolled at CIT. For example, you will create a gradebook for two students. Plea…
      • IDLE Shell 3.9.7 0 X File Edit Shell Debug Options Window Help Python 3.9.7 (tags/v3. 9. 7:1016ef3, Aug 30 2021, 20:19:38) [MSC v. 1929 64 bit (AM A D64) ] on win32 Type "help", "copyri…
      • 1 . How does run() method is invoked? By Thread.start() By Thread.run() None By Thread.create() 2 . How to terminate a blocking thread? thread.stop() thread.terminate() None thread.stop() & thread…
      • Use a for loop to print all key names in the reversed alphabetical order (see output below). Output SI|QS|MN|BX|BN|
      • . Question 2 We want to combine two DataFrames A and B; both has a key column ‘city’ How many rows are there in the resultant DataFrame of the following? import pandas as pd > > > A. shape …
      • Hi I have this exact problem on my hw but it’s not working:( I get an error that says I have NaN values and I can’t figure out how to fix it. I tried to append to and I also have the NaN issue
      • If I have a bunch of numbers all four digits long with each digit in the range 0-2, ex 0111 1111 1121 0000 2222 1010 2020 and I need to find the first instance where, for three of the numbers, the dig…
      • Python program that uses a recursive function named NumFactors() to print all the factors of an integer number that is entered by the use into the main program. Required: Ôā∑ Screenshot of the pfxxxxx…
      • I am asking for help for the 5th requirement in this project. I’ve attached the code I have so far.. Write a program for a buyer for the Book People stores to use. Note: There is no data hard-coded in…
      • Could you possibly aid with this. Make sure to separate the function and main file, make sure to only use 1 return statement in the function and also , use the .format (format) method for python . tha…
      • def sort_pixels (img: Image) -> 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 …
      • I am trying to implement __add__ but I am having trouble what to write next. How can it be implemented? Realted methods are given along with __add__: ¬† from typing import Any __author__ = ‘bailey’ __…
        • Takes input as the filename in the current directory (as a string) b. Uses the two functions above – make_length_wordcount ( ) and make_word_count( ) – to construct (i) length-wordcount dictionary…
      • Download the USD/JPY 2018 historical data at https://www.myfxbook.com/en/forex- market/currencies/USDJPY-historical-data (https://www.myfxbook.com/en/forex- market/currencies/USDJPY-historical-dat…
      • Given the code below: # Main Program n1 = int(input("Enter your first positive integer: ") ) n2 = int(input("Enter your second positive integer: ") ) s = n1 + n2 Ist1 = decimalToBi…
      • Japan was hit by a huge Tsunami. Lives and properties were lost. Many were injured too.¬†A news reporter has arrived to the spot to analyse and generate report¬†on the number of people alive , dead an…
      • . Project 1 List of Problems Write a program in your favorite programming language (Python, C, C++, etc.) to implement/simulate a finite automaton that (only) recognizes/accepts the language of: Pro…
      • Write a Python program that calculates and displays the amount earned based on the user input hours worked and the rate per hour. Make sure your program asks the user his/her full name and then greet …
      • file1 = open(P, ‘r’) data = file1.read() results = re.findall(S, data) print (result) file1.close() is my code but its saying that results = re.findall(S, data) Traceback (most recent call last ): Fil…
      • How can we devise an algorithm to determine the minimum cost of performing an exhaustive search along all possible paths between two points where this cost is proportional to ground covered?
      • Teachers in most school districts are paid on a schedule that provides a salary based on their number of years of teaching experience. For example, a beginning teacher in the Lexington School District…
      • Example CODE: INT, FLOAT, ID, SEMICOLON, ASSIGNMENTOP, EOI, INVALID = 1, 2, 3, 4, 5, 6, 7 def typeToString (tp): ¬† ¬†if (tp == INT): return “Int” ¬† ¬†elif (tp == FLOAT): return “Float” ¬† ¬†elif (tp…
      • Please help with the following assignment: ¬† def flip(image,vertical=False): ¬† ¬†“”” ¬† ¬†Returns True after reflecting the image horizontally or vertically. ¬† ¬† ¬† ¬†All plug-in functions must re…
      • Bubble sort using recursion The Program Spec Add the function recursive_sort() which has as its parameters, list_to_sort (a list of tuples like the one you just made) and key.¬† key should have a defa…
      • Hello, can someone help me create a python program that matches the output below? Thanks in advance. ¬† Instructions ¬† ¬† Write a short program that has the user enter 5 animals into a list and then …
      • Complete the function¬† distance ¬†which computes and returns the distance between two data points x1,x2. distance formula: Distance(x,y)=‚ąödistance(x,y)=(x1‚ąíy1)4+(x2‚ąíy2)4+..+(xn‚ąíyn)4 The retur…
      • calculate the computational complexity of the code below. (try to use big-O) import numpy as np def normalise(data): ¬†¬†mu = np.mean(data, axis = 0) ¬†¬†sigma = np.std(data, axis = 0) ¬†¬†data = (dat…
      • Complete the following two lines (#a a code of line to complete it) ¬†for def gauss_jordan(self) elimination and def inverse . I have attached the expected output as well. Initially we created class m…
      • Python Programming Cash Register Lab ¬† Description Write a program that computes how much a customer has to pay after purchasing two items.¬† ¬† The price is calculated according to the following rul…
      • Template¬† from appointment import Appointment def main(): “”” Demonstrate use of the Appointment class. “”” appt1 = Appointment(“Physics meeting”, (9, 30), (10, 45)) appt2 = Appointment(“Brunch”, (10…
      • Hi, please help me with this. Please refer attachment for details.
      • Python: Flatten the Curve! A virus has hit COD and our class is being called on to assist in flattening the curve! The key to this will be tracking who has been tested and what their test results are …
      • Update this code so that it: After each game, presents them with a record so far including Name # of games played Win % Win streak longest streak ¬† import random #allow game to run first time #Note b…
      • 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.sensor import INPUT_1, INPUT_2, INPUT_3, …
      • Write a program to play a beautiful song with at least 10 notes. To avoid duplicate code, place the code to play a note into a function. You might name the function something like play note. This func…
      • User can not enter negative number for a) Miles to Kilometers b) Gallons to Liters c) Pounds to Kilograms d) Inches to centimeters User can not enter value above 1000 degrees for fahrenheit to celsius…
      • import re, os, unittest def read_file(filename): “”” Return a list of the lines in the file with the passed filename “”” # Open the file and get the file object source_dir = os.path.dirname(__file_…
      • Gest√£o de invent√°rio¬† O invent√°rio √© o conjunto de artigos que a loja tem em stock, dispon√≠veis para venda. No seu programa, a informa√ß√£o de invent√°rio dever√° ser guardada numa lista, design…
      • as Write a function “build_tree” that takes a list and other arguments to construct a full binary tree that consists of nodes.
      • This is what final product should show below! ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ‚ÄĒ Processing file good_data.txt …
      • Hello,¬† I have wrote this code here for weather data, but somehow standard deviation gets N/A in saved file. mean and median files are properly saved. ¬† Could someone please help me out with this? D…
      • . Complete the practices. After completing upload the .py Ô¨Āle Week 4 Practice (from the book}: In a Ô¨Āle {practice4.py], complete the following: 5-3. Alien Colors #1: Imagine an alien wasjust sho…
      • I need the python code for these steps¬† We will train a specific classifier(RandomForest) which¬†we’ve learned before¬†on this data Detecting outliers Find the informative features which are helpful?…
      • BAN 200 Group Project The goal of this project is to demonstrate your ability to analyze text data and interpret the outcome of your analysis for the best interest of the business. Deadline: Aug 13th …
      • Overview¬† Many problems in computer science and in engineering are solved on a two dimensional numerical grid using techniques that are variously called “gradient ascent” (or “descent”), greedy searc…
      • Dont mark this as a violation Assume you have just started a job as a sales person in a car dealership that sells new and used cars. Your pay consists of a base salary of $10,000 plus a commission tha…
      • Feedback? CHALLENGE ACTIVITY 6.2.1: Function call with parameter: Converting measurements. Define a function print_total_inches, with parameters num_feet and num_inches, that prints the total number o…
      • a program that provides an implementation for two functions that perform basic operations on a list as follows: 1.def average(a_list):This function computes the average value in a given list. The func…
      • I am able to convert the growth to a percentage and get it to develop a text file but I cannot figure out how to limit the new list to only 5 entries. Here is my code. #This means I do not need to def…
      • Wr a recursive function that accepts an integer argument, n . The function should display n ¬†lines of text on the screen, with the first line showing n spaces followed by an asterisk, the second line…
        • Define a relational schema for students, student advisors, and advisor departments Students have StudentID, First Name, Last Name, DOB, Telephone and a reference to their advisor Advisors have ID…
      • . Carry on Pythonista def count_carries (a, b): Two positive integers a and b can be added with the usual integer column-wise addition algorithm that we all learned as wee little children so early t…
      • Please solve this with each and every pseudocode written. the pseudocode should include : def function_name, each step of the algorithm, a note about looping or iteration, for functions any formal par…
      • Hello teacher, I wrote a small program according to the teacher’s request, I hope you can run it and take a look. Also can you teach me how to design a flow chart? Thank you Project Requirement EMLear…
      • Without importing the packages and please use comment for better understanding¬† Goldbach’s Conjecture is one of the oldest and best-known unsolved problems in number theory and all of mathematics. It…
      • # runLenPlus – exercise for fancy version of run length encoding # D. Naumann, rev 1 Nov 2020, E. Terolli, rev 27 Oct 2021 import math # we need math.log and math.ceil (the ceiling function) # GOAL: c…
      • . print (arr [ 0] ) return self . get (index) def setitem (self, index, value) -> None: Same functionality as set ( ) method above, but call These snippets of code are equivalent: arr = Static…
      • What is the output of the following code? ¬† x = 2 y = 2 if x%2==1: ¬† ¬†x = 0 elif y==1 or 3: ¬† ¬†y = 7 else: ¬† ¬†y = 2 print( x, y ) ¬† I got 2 7¬† ¬† Is this correct? Thank you.
      • Is there any way to get source code inside context manager as string?
      • Create a Python function called¬†print¬†Triangle¬†that expects one argument, a non¬†–¬†negative integer, and¬†prints¬†a right triangle, where both the height of the¬†triangle and the¬†width of the bas…
      • How can I design a program using Raptor that tests our extrasensory perception. The program will randomly pick a color from Red, Green, Blue, Orange, Yellow, and Purple,¬†and the user will be asked to…
      • Write a program that subsets the loads and subsets the stock market data in target.csv. Load the the data from target.csv as target. Create a new data frame, tgt_march, by subsetting the last 19 days …
      • 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 …
      • Discuss the input-process-output model as it relates to program development. Explain the purpose of each step and how that information is used in each step. What would be the impact on overall program…
      • How do I do these two questions?¬†. 7. merge_dicts [20] The dictionary dict1. update(dict2) method is useful to add key/value pairs from a second dictionary into the first. However, for any keys that …
      • import pandas as pd from datetime import datetime import matplotlib.pyplot as plt #pick any date after January of 2010 #let’s pretend that you had $1000 dollars to invest at that date #how much would …
      • Hello Experts, Could you please help me by solve these questions.Thanks so much
      • using c++ codes show the codes and the output result 1)it should ask the user to enter the number 2) It should ask the user to enter the base of the number which is 8 3) to enter the new base which…
      • 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…
      • import csv # Print a nice title for the user print(“People Finder v0.1”) print(“==================”) # Let the user know that we are loading the data print(“Loading data…”) contactsFile = open(‘fake…
      • Based on code below, plot on the Heatmap those frequent violators who have obtained 3 business licenses or more under the same DBA Name through out the liftime of their business. data set looks like t…
      • what is the problem here?. + Run Code In [34]: dt_train[ "mid_pro"]= (dt_train[ "AskPrice"]+ dt_train[ "BidPrice"]) /2 col=’mid_prc’ lags= range (-20, 0) shifted_colnames…
      • Hi, Would you please help me with the below Python 3 code? ¬† I was trying to solve a function named my_sqrt that akes an as a parameter, chooses a starting value for x, and returns an estimate of a’s…
      • Johnny is given the task of brute-forcing an MD5 hash value, found in a 1994 PlayStation,¬† against the one-way property (i.e., for a given hash value h, find a y such that MD5(y) = h).¬† He wasn’t to…
      • Lab 4–Favorite Foods Don’t forget to comment your code! Create a program that allows the user to input a list of favorite food items. The user should be able to input as many items as they like. The …
      • Exercises¬† Use nested if statements in the program for next 1-3 questions down below: 1) . Ask the user for a login. If the login is “apple” then tell the user it has been accepted. If not, give the …
      • For the following program: Provide a algorithm, Code the program as (grades.py) For your answer: You must have the Algorithm and the program (grades.py) completed! a) Provide a program that reads in t…
      • txt is empty text game1.txt Attackers,1,0,Eliminated Defenders,0,3,Defused Defenders,1,2,Defused game2.txt Defenders,0,3,Defused Defenders,1,2,Defused Attackers,1,0,Eliminated Defenders,2,3,Elim…
      • the program must allows the user to enter a number between 1 and 999.¬† If the number is invalid, provide an error message and allow the user to try again until he enters a valid value. Once you have …
      • Python program using classes that will keep track of people attending an international conference. Attendee class that will be used to keep track of an attendee’s information as follows: ‚ÄĘ Name ‚ÄĘ …
      • How do I add code for the last room ‘City” to be won or lost depending on all the items/contents being picked up through all the previous rooms? For example, if only five of the six items/contents are…
      • To answer these questions write python script code with examples. For example after going through our data I found some inconsistency there, would be nice if we will fix it! 1. For dates, we have 2 fo…
      • write program to create list of randomly generator number in the range of 0-99 then delete all the number divide by 3 convert the left number into singel
      • 2 Earth and Moon: Forces This lab will be available until March 1st, 11:59 PM MST The goal of this project is to simulate the trajectories of the Earth and the Moon during one year. You are given t…
      • IN PYTHON : Your program is required to read a single line of input from the user (without printing any input prompt), which is expected to be a positive integer¬† n ¬†(i.e.,¬† n ¬†will be neither zer…
      • Python: Bokeh 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 matplotlib…
      • modify the program that you wrote for exercise 6 so it handles the following exceptions:
      • Design a program that asks the user to enter the monthly sales values for six months.¬†The program should store the monthly sales values in a list using a loop and then display the following: The lowe…
      • Define a function¬† maxdic(dic)¬† which, given a dictionary as input, returns the maximum numerical value from the elements of the dictionary as output. For instance,¬† maxdic({1:[100],2:[1001],3:[123…
      • please write python program to converting from hexadecimal to decimal NOTE: For full points, you must provide a solution, not merely an answer. Use each question’s message box to explain how you arriv…
      • 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…
      • Python: 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 guessing pla…
      • Please use Python to complete the question Use the ToyotaCorolla.xlsx dataset (attached below) . The data dictionary sheet in the Excel spreadsheet provides a description of all the variables in this …
      • please explain on the code step by step base on the question: import csv from openpyxl.workbook.workbook import Workbook from openpyxl.styles import PatternFill def sum_list(l): res = 0 for x in l: re…
      • Problem To go on a number of light-years and turn in one of four ways (comparative with its present direction), the Turtle can just perform two things all at once: push ahead a whole number of light-y…
      • Write a program that prompts the user for their name and age. If they are between 18 – 24, ask the user if they prefer Facebook, MySpace, or Vine. ¬†If they between 25 – 45, ask the user if they prefe…
      • 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. Finally, write your prog…
      • Hi I am new to Data science and I am reading a book for personal growth ” Business Problems and Data Science Solutions.” ¬† The book discusses building a plan for data science growth. ¬†I am doing thi…
      • I POSTED THIS QUESTION BEFORE BUT SOMEONE ANSWERED IT WRONG. PLEASE NO PLAG ¬† Please someone help me to write this function in python Link to ¬†hobbit-family.txt¬† file ¬†——> https://gofile.io…
      • please donot use numpy. def q2_func(a_list, intervals) : where . The input a_list is a list of numbers of int type or an empty list. ‘ The input intervals is a list of lists. An example of intervals i…
      • How do I generate an array of dates that follow this pattern: Date range: Current date – X days. Example: date_range = 2020-11-03 15:32:45 – 365 So, date range is between 2020-11-03 15:32:45 and 2019-…
      • Instructions Read the problem description below. Create the Decomposition for this problem. Additionally supply a listing of inputs and outputs. Finally provide a description of the decision structure…
      • How can I design a program in Python language that uses sequential statements ( not loops, functions, if/else, a menu etc…) to convert from US measures (Miles to kilometers, pounds to kilograms, inc…
      • This python code requires function creation and modularizing code. This was my original python program: import random def display(): ¬†¬†title = “**** Multiplication ****” ¬†¬†print(“*” * len(title)) …
      • . Randomly pick a number between 1 and 6 If 1 user picked dice with 1 If 2 user picked dice with 2 and so on.
      • . Build a classifier – classify "cifar10" data by building an MLP based neural network and classify 10 classes embedded into the dataset. The goal is getting maximum possible accuracy. Abo…
      • Hello, I have been working on these two problems and I am not sure what I am doing wrong. ¬†Please help with these two.. Write nested loops to print a rectangle. Sample output for given program: 35610…
      • [Python Code] Please help, don’t use function (def). Arrays 1D, please explain me to understand. I’m rookie!
      • Example 1: Define a function that takes an argument. Call the function. Identify what code is the argument and what code is the parameter.
      • Write a program named receipt.py that gets the price and the tax rate of an item as float input users, and displays the information such as item#, price, tax rate and item price in a nice and aligned …
      • Consider a data frame¬†df¬†with columns¬†[‘A’, ‘B’, ‘C’, ‘D’]¬†and rows¬†[‘r1’, ‘r2’, ‘r3’]. What does the expression¬†df[lambda x : x.index.str.endswith(‘3’)]¬†do?
      • Can someone help me implement this? Below I have provided the question and the LR.py file. LR.py import argparse import os import os.path as osp import numpy as np import matplotlib.pyplot as plt from…
      • Each group is playing the role of an SOC analyst at a small company called Virtual Space Industries (VSI), which designs virtual reality programs for businesses. VSI has heard rumors that a competitor…
      • . 19 Dory = BlueTang( ‘Dory’ , ‘DeGeneres’) 20 print (Dory . first_name + ‘ ‘ + Dory . last_name) 21 Dory . swim () 22 Dory . forgetful () With respect to the code above, answer the following questi…
      • Use only phyton and has to work on coderunner. Time left 2:00:30 Qu stion 10 Define a function named is_valid_day ( ) which takes no parameters. The function prompts the user to enter a date and valid…
      • Write a library called lous_list.py that will contain two functions that will aid students and instructors in finding information about classes. ¬† The Data We could have you write programs that acces…
      • could you please answer the following question in PYTHON WITH 2 TEST CASES so i can understand how to do it myself. THANK YOU!!! I don’t intend to hand this in as my own I just need help to see how ot…
      • Please provide code of this question as soon as possible.
      • Program in Python to take a phylogenetic tree in Newick format as input from the user and writes the likelihood expression for that tree on the screen. Do not use builtin functions in Biopython or any…
      • mutate a list Write the function restrict (source, maximums ) that consumes two lists of integers of the same length, [source), and maximums). The function restrict mutates [source) so that for every …
      • Given string num representing a non-negative integer num, and an integer k, return the smallest possible integer after removing k digits from num. ¬† Example 1: Input: num = “1432219”, k = 3 Output: “…
      • Given a string S and a string T, find the minimum window in S which will contain all the characters in T in linear time complexity. Note that when the count of a character C in T is N, then the count …
      • Implement this method def remove_every_other(s: Stack) -> None: ¬† ¬†“””Modify s to remove every other element, starting from the top-most ¬† ¬†element. ¬† ¬†Do NOT return a new stack. Modify the o…
      • Define a function tokenize(doc, lemmatized = True, remove_stopword = True) as follows: Take three parameters: doc: an input string (e.g. a question) lemmatized: an optional boolean parameter to indica…
      • i need help with this practice question please. thank you.. The ‘Prefix of 3’ is the first 3 characters of a string, and the ‘Suffix of 3’ is the last 3 characters of a string. Given a string input, o…
      • [8+8+9=25 pts, implementation] Figure 3 illustrates transition diagram for an HMM problem about coin flipping with two hidden states (D1 and D2 corresponding to two coins) and two observations (H a…
      • How could i split this code into a main function and separate other functions so it will run properly? It already runs as is, but I want to convert it to have functions and parameters. I dont want to …
      • . State values of x that need to be used to create a complete testing coverage of the following flow chart. Clearly note the values you have chosen for each test and which output value gets displaye…
      • I would appreciate it if sir/madam could help me with understanding this question immediately. thank you in advanced !. Determine which of these graph exists I) 3 vertices, each with degree 1, 2 and 3…
      • Question: how to get my loop to stop when digits are identical? Problem: Write a program that takes in an integer in the range 20-98 as input. The output is a countdown starting from the integer, and …
      • I need to check my python program because, frankly, I’m not sure I really understand the question. I must to use this function: def is_divisible(a,b): ¬†¬†return a % b == 0 inside another function tha…
      • Hello, I am totally lost with Python and I really need all the help I can get. This is my assignment: Design a python program with a loop that asks the user to enter a series of positive numbers. The …
      • Write an address book program that stores your contacts’ names and their email addresses. The names and email addresses are originally stored in a file called phonebook.in, in the format: Harry P..d@h…
      • 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…
      • question 5 [17] : def three_classify (row) : test_with_prediction = test. with_column ("prediction", test. apply (three_classify)) labels_correct = … accuracy = . . . accuracy [ ]: ok . gr…
        • Prompt the user to input an integer between 0 and 155, a float, a character, and a string, storing each into separate variables. Then, output those four values on a single line separated by a spac…
      • code in python. Back to stability Our observations about vector Ô¨Āelds and the stability of equilibris. can be rephrased in terms of the signs of N " . If N’ is positive belowr an equilibrium …
      • Please explain the following question Suppose that each row of an n√ón array A consists of 1’s and 0’s such that, in any row of A, all the 1’s come before any 0’s in that row. Assuming A is already in…
      • Don’t copy from chegg and course hero otherwise I will give you dislike ¬†. Create a python code that transforms a GIS map to a matrix and please attach the python code
      • getData = wb.DataReader( “DGS6MO” , ‘fred’ , startDate, endDate) getData = getData[[ “DGS6MO” ]] getData.to_csv( “DGS6MO.csv” ) getData[ “Average” ] = getData[ “DGS6MO” ].mean(axis= 0 ) getData[ “Stan…
      • Build a simple two-player Connect-4 game in Python. Grid should be 6×7 with indices (should be evenly spaced out) and a sample run should be like this: ¬†¬† 0¬†1¬†¬†2¬†¬†3¬†¬†4¬†5¬†6¬†¬† 5¬† *¬†¬†*¬†?…
      • Can someone help me code these while meeting all the assertions? Thank you in advance. Each new problem is bolded. Exercise 1 def¬†exercise_1(my_list): ¬†¬†¬†¬†“”” ¬†¬†¬†¬†Assume¬†`my_list`¬†is¬†a¬†li…
      • def more_upper_than_lower(message: str) -> bool: ¬† ¬†“””Return True if and only if message contains more uppercase letters than ¬† ¬†lowercase letters. ¬† ¬†>>> more_upper_than_lower(‘I L…
      • I have the following json: { “Random.Int1” : [ 50 , 60 , 1 ], “Random.Int2” : [ 100 , 200 , 5 ], “Random.Int4” : [ 30 , 80 , 10 ], “Items” : { “tags” : [ “Random.Int5” , “Random.Int6” , “Random.Int7” …
      • In dealing with errors or exception handling, explain the use of exception handling block in Python and please Provide¬†at least one¬†example.
      • . X (3%20and%204%20(2).pdf /3 100% + Using Python programming language, create a program for adding and viewing movie review information. Outcomes: 1. Practice of core programming constructs 2. Mani…
      • Business Objective¬† An E Commerce company or DTH (you can choose either of these two domains) provider is¬† facing a lot of competition in the current market and it has become a challenge to retain t…
      • def f1 (): global x X= x+2 Print (x) X = 1 f1 () Print (x)
      • Problem 2 (a) Find the reduced row echelon form R by hand calculation for the following matrices. 2 0 4 A = 0 B = C 6 2 0 8 8 O 0 1 2 3 Now check the reduced row echelon form R found by hand calculati…
      • # q11 – DEBUG function numOdds(intList)¬† # ¬† ¬†– This function currently returns INCORRECT answers # ¬† ¬†– Find and fix the error(s) in the function below # # ¬† ¬†– the program accepts a list of a…
      • 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…
      • I would need some help with my project. Hope to get some guidance of OOP
      • `sample_dict` is a dictionary. Write code that assigns `sample_keys` to be a list of keys in `sample_dict`. sample_dict = {‘a’: 10, 20: False, True: ‘x’, ‘y’: 30}
      • For this assessment, you will be answering questions derived from the ‘ Chinook ‘ database. You should download a copy of the database(opens in new window) and load it into a Python script before atte…
      • Write a non-fruitful function called list_change_last(aList) that takes a list of strings as an argument and changes the last element to have a ‘.’ at the end, but only if it does not already end in a…
      • In python, using procedural abstraction. This is for a first year computer science course so please keep it simple. Docstring and/or an explanation of how you got the answer would be really appreciate…
      • In this problem we’ll explore sensitivity analysis as a tool to identify the inputs to a model that cause the largest changes in a particular output of interest.¬† Imagine that you’re consulting for a…
      • I need help with just the part in bold below. The other parts are there for context. I have also included my existing code for all but the part I need help with (bold lines in the code indicate the pa…
      • Write a fruitful Boolean function with at least one string parameter.¬† ex. This could be something like returning True if the string has a length that is a multiple of 3, or if the first letter is ca…
      • Question: Input: 3 & Pink Frost&Phillipps, Martin&234933 Se quel guerrier io fossi&Puccini, Giacomo&297539 Non piu andrai&Mozart&234933 M’appari tutt’amor&Flotow, F&amp…
      • Please help me with this problem using python. repeat(itr, n) Returns the first value in the given iterator that is repeated n number of times in a row. You can assume the inputs will not raise a Stop…
      • Hi! Im having issues writing a part of a python script for my statistics homework. This is the question: Step 4: Hypothesis Test for the Population Mean (II) A team averaging 110 points is likely to d…
      • Subject: parallel algorithms in C ASSIGNMENT PARALLEL PROGRAMMING ASSIGNMENT The object of the assignment: Write an OpenMP program in C programming Language that computes numbers of characters in the …
      • Python 3.4 Please see the attached files for complete description. 2015-11-22, 8:52 PM return True since a[0]+a[0]+a[0]=-1+ -1 + -1 = -3. If a=[-10,2] and x=-18, triple_sum(a, x) would return True sin…
      • Please, Answer this question in python programming and make comments in each question so I can understand it better 1) Please make a python program that does the following: –¬†¬†¬†takes as input from …
      • This is just the homework assignment. There is no help provided with the script. Is there a sample script for this assignment? You are a GIS intern in a land holdings company. The property owned by th…
      • can you guys solove part 1 and part 2. e Docs X as Python | Split string into list of x Content X G working with keyboard IgrOGBuERzHOxGMqsqRfpy7FrH4zuzFf-OPMa6jIKI/edit GYM MGmail You Tube Request ed…
      • You are given the code below and asked to calculate the correlation, once done you are asked this question: Briefly discuss whether any effect you have found is likely to be causal. Give one reason fo…
      • In regard to at rest and data in transit, what are some methods to increase the overall security? Please provide some examples.
      • —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-Which…
      • . E Project_2_Pong_Planning_Worksheet_1_.docx.pdf 1 / 3 – 67% + Pong Program Preparation Planning We’re ready to write our first game! Part of programming is breaking down a problem into smaller pie…
      • I need help with this in python. 4. Let Pv be the trigonometric polynomial of lowest order that interpolates the periodic array fj , j = 0, 1, …, N-1 at the equidistributed nodes aj = j(27/N), j = 0…
      • Without using code, and in words and ¬†describe how student_list is sorted. (I.e., what is the criteria being used to sort this list?) 2.¬† ¬† ¬† 3.¬† ¬†. Consider the following function: from o…
      • (str,str, list of str)->bool ¬†¬†Given two strings a1 and a2 representing two words, ¬†¬†the function returns True if a1 and a2 have exactlly the same letters, ¬†¬†and False otherwise This is t…
      • Question 1 1 pts Which of the following statements is not legal? [ "Hello", "World" ]. lower ( ) O "Hello, World" . lower( ) O [ "Hello", "World" ]. p…
      • This is a Jupyter Notebook assignment for Python. You will be reading in 14 csv COVID-19 files which I will provide, I also have additional files as well to help you with the code, but I will provide …
      • Hi! I’m having serious trouble with Python programming and to be completely honest, I’m terrible at it and don’t understand much of it. My assignment this week involves the following. Description I wr…
      • The price of a gallon of gas is $2.79 cash or $2.89 credit. Sara has a $20 bill. If she needs N gallons of gas, what is the minimum she will pay? (Hint: what is the maximum # of gallons she can buy…
      • a notepad file named, cnet232.txt that contains the following lines: ¬† This is cnet 232 class. Students learn the basics of python language. Python is fun and easy to learn! ¬† The text file sho…
      • How to transform continous variable to categorical value? Link to my data file: https://1drv.ms/u/s!AsRaombgB_fehSLZvPqVhjTQvFYY?e=rptVhK I want to transform E1 from continuous to categorical how may …
      • Given below are a list of positive and negative words. Also a list of comments is provided. Segregate the comments based on positive and negative sentiments. ¬†positive = [‘good’,’awesome’, ‘best’,…
      • provide the code for the following question: You are given a positive integer N. Consider the sequence S=(1,2,…,N). You should choose two elements of this sequence and swap them. A swap is nice if t…
      • Knowledge Management in Theory and Practice Second Edition Kimiz Dalkir.pdf Test bank required
      • Topic – “Postfix to Infix using Stack” I would need a stack application that can convert Postfix notation to Infix notation. In the stack application, you can use only two stacks, one for a stack that…
      • . Data Preparation [10%] Describe what you did with the data prior to the modelling process. Show histograms of the data before and after any pre-processing that you carried out. (you do not need to…
      • Dummy variables 2 import¬†matplotlib.pyplot¬†as¬†plt import¬†pandas¬†as¬†pd import¬†numpy¬†as¬†np import¬†scipy.stats import¬†os import¬†sys import¬†math import¬†csv import¬†random from¬†random¬†impor…
      • 30 LAB: Golf scores ¬† Golf scores record the number of strokes used to get the ball in the hole. The expected number of strokes varies from hole to hole and is called par (i.e. 3, 4, or 5). Each sc…
      • Please use PYTHON programming language to solve this problem. NOTE: MUST USE FILE ¬†I/O ¬†FOR BOTH INPUT AND OUTPUT. Thankyou. You can use the following pseudocode which is based on these hints. funct…
      • Would you help with this python code? Thanks. ¬† ¬† ¬†. 1. Given f(x) = x + 3 cos I a) Find the approximate critical values in the domain r E [0, 2x]. b) Find the approximate maximum and minimum value…
      • can i get help in coding this functions in python? Task You will implement some basic classes and methods to manage telephone plans. A Plan can have multiple Phone lines and include a record of multip…
      • Python Programming!!! Program 2: Drawing rectangles (25 marks) a) Write a program to draw a Sierpinski carpet on an image containing two background rectangles according to the following criteria: . Yo…
      • What is missing in this following Python statements ¬† val = [2, 4, 3] ___.sort() ¬† import, ArrayList, val, or Collections?
      • Hello, I am having trouble with python program it is not printing anything else when I type numbers here is the assignment. #Lab 10-3 Blood Drive #the main function def main(): endProgram = ‘no’ print…
      • Each of the following Python functions is¬† supposed ¬†to check whether its argument has any lowercase letters. For each function, describe¬† what it actually does ¬†when called with a string argument…
      • Code the following problem in Python/c: There are N bag of sand, each has its own weight (unit is kg). You have a container which can hold 1kg sand exactly. You try to move the sand among these bags s…
      • #!/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. ¬†¬†¬† ¬†¬†…
      • Take the code and comment it.¬† In the comments explain what the algorithm or logic is, and the variables and data structures are and their uses. ¬† def blackjack(): ¬† ¬†import random ¬† ¬†cardtype =…
      • This is python problem. This is a complex problem for me that I couldn’t do. “Create a class called Grade that contains the class name, the credits and the grade point (from 0 to 4) for the grade.” “C…
      • please do not copy from chegg and coursehero. ¬† by using python need explanation also ¬†. [2.] Use your code to compute e-0.3 H
      • Stock You have a file that has the stock prices for a week, one per line. We need to make a program that performs the following: Defines a function called “percentchange” Accepts today stock price (fl…
      • Charge Account Program to compute and print the month-end balance. (Colab) ¬† Input¬† LastName PreviousBalance Payments Charges Allen 5000.00 0.00 200.00 Davis 2150.00 150.00 0.00 Fisher 3400.00 400.0…
      • 1a) Write a function that asks the user to enter three numbers (use three separate input statements). The function should not accept any argument when it is called, but it should return the average an…
      • If you want to code an if clause, but you don’t want to perform any action, you can code A) an end statement B) a pass statement C) a break statement D) a skip statement
      • Hello! I have this python Homework due tonight that I don’t know how to do. Here is a document with the data in the csv file, as I didn’t know how to share it. Thank you very much! https://docs.google…
      • 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…
      • Please help can’t figure out will rate! import random trials = 100 total = 0 for i in range(trials): x = random.uniform(5, 10) print(x) total += x print(‘mean =’, total/trials) Note: ‘ By’lsing x = …
      • define classes and methods in python Restrictions :don’t use input() or print() anywhere. you can’t import anything. class Device: Represents an electric device that can be plugged into an Outlet to r…
      • n robots are placed along the edge of a circular area at the middle of the OAT. Each robot will move along arbitrary tracks inside the circle while leaving behind a heat signature along its trail. How…
      • please show python code and flowchart for this problem¬† Digit id: 4200. Problem: Create a solution that will test to see if a cannon ball fired from a cannon (muzzle speed and the angle up from groun…
      • i need help fixing my code. it needs to do this: this is my code:¬† ¬† def get_books_by_author(author: str, file: dict)-> list: ¬† ¬† ¬† ¬†book_dict = load_dataset(‘Google_Books_Dataset.csv’) ¬† ¬†…
      • Hello to respond “type a issue”: I promise this has nothing to do with any test or project or assignment whatsoever that I have. This question is just a practice question that our teacher challenged u…
      • The proteins in 7 tissues were measured and listed in the TAB limited text file masterlist.txt. please the write a Python script that does the following analyses and charts: 1. Extract the expression …
      • please make sure to read the questions and please make sure the code works. Thank you so much!! ¬† Do not add statements that call print, input, or open, or use an import statement. Do not use any bre…
      • what are the future recommendations to improve my student management software, code in python?
      • I am not sure how to print each input and do calculations in an array. The program should look like the one below. Statistics on football games are often displayed as the number the points each team (…
      • >>> clean_tokens = [] >>> for nextWord in tokens: … if nextWord.lower() not in stopwords.words(‘english’): … clean_tokens.append(nextWord) … >>> tokens.count(‘and’) 2 …
      • I need explanation of different ways to solve the following question Write class¬† Book ¬†to include attributes for title, author, publisher, and price.¬†¬†It also has function¬† calculate_charge ¬†th…
        • Form a¬†Date¬†class.¬† 1a) The class¬†should have 3 properties (instance¬†variables):¬† month day year 1b) The class¬†should have 2¬†action (functions) :¬† setDate()¬†¬†–¬†allows the user to enter …
      • %%capture ########################################################### ### EXECUTE THIS CELL BEFORE YOU TO TEST YOUR SOLUTIONS ### ########################################################### import imp…
      • Determine: the features, the target and the classes of this problem Use Pandas data frame to represent the dataset Train a Bayesian classifier algorithm on the provided training data, to return an …
      • I need help finishing this problem heres the template import pandas import pandas_datareader from pandas_datareader import data as web class yahoo_reader(): ¬†¬†def __init__(self): ¬†¬†¬†¬†self.provid…
      • Please help with python coding with Calculus || concept. Please provide #comments so I can study them and learn them. Thanks. The equation: let‚ÄĒ’2′: df = .5, x 1 foo‚ÄĒ[D J2? This can be solved vi…
      • I’ve implemented the following functions, but I still cannot pass the test cases. I need help figuring out what changes need to be made to pass the test cases. I have provided the code and the test ca…
      • Please guide me to design a program that creates a list called, “uniqueWordList” that contains unique words without repetition.
      • Using Fermat’s Primality Test, code a program which quickly generates an integer of several thousand digits which is probably prime.
      • Problem 1 – Your task is to analyze the dataset based on different text representation techniques to understand topic trend in 2016.¬† You are required to analyze the data with 4 text representation a…
      • Environmental Protection Agency (or EPA for short) is responsible for regulating the amount of pollutant emission from all automobiles that run on American roads. You are asked to analyze the data rel…
      • Given our definition for a Fibonacci number, implement a recursive function that calculates this in python. Supply an automated test. fib(n) = { 0 : n = 0 { 1 : n = 1 { fib(n-1) + fib(n-2) 1: 2: def r…
      • This is not a tutor’s work this is a programming problem I need help with: write in python the following program that has either one or two multi-dimensional list or four separate parallel lists for e…
      • Hi, I don’t know how to solve plz help me ! I have to use Python for each one. 1. (5%) Install the latest version of Python using the Anaconda suite and open an instance of Spyder, the DE will be use …
      • Assignment 8: Matplotlib and Seaborn ¬† Purpose Assignment 8 trains you to use some visualization and plotting libraries in Python. No data scientist’s skillset is complete without them! Matplotlib. S…
      • Create the buildHeap method that allows me to build a heap from a List.¬† For example the list [1,2,3], should build the tree ¬† #¬† ¬† ¬† ¬†3 #¬† ¬† ¬†1¬† ¬† ¬†2
      • 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…
      • Please help! in Python language.. v Exceptional Error Handling We want to add some restrictions to the User class below: username must be unique. If a user in all_users has the same username, raise an…
      • Question: You work for a small company that is looking to expand its user base and create a proper OU / Active Directory scheme in the same process. Your boss has tasked you, the system administrator …
      • py – https://mcsp.wartburg.edu/zelle/python/graphics/graphics.pdf Python Problem:. Graphics Reference (graphics.py v5) 1 Overview The package graphics . py is a simple object oriented graphic…
      • No.1 Code a function called ‘combine’ #ACCEPT two inputs: # The first input is a list. #The second input is either either a list or some other type of object ### IF AND ONLY IF the second input is a…
      • I’m trying to make a function that returns a generator that yields the items given in the input sequence in reverse order. Note that after using reverse_iter , the original sequence should be unchange…
      • I am trying to plan the logic of a program in a flowchart, a specific software called flowgorithm is needed to create the flowchart. But I am having trouble trying to implement this program in this fl…
      • Johnny is given the task of brute-forcing an MD5 hash value, found in a 1994 PlayStation, against the one-way property (i.e., for a given hash value h , find a y such that MD5( y ) = h ). He wasn’t to…
      • Humans and Zombies (The zombie game) Use Python 3. So I am trying to write two functions to fit into a bigger driver program for the game Hexapawn. Traditionally, Hexapawn is played on a 3×3 board, ho…
      • 9¬†LAB: Car value (classes) Complete the¬†Car¬†class by creating an attribute purchase_price (type int) and the method print_info() that outputs the car’s information. Ex: If the input is: 2011 1800…
      • please solve those questions for me thanks a lot!!! from sklearn.linear_model import LogisticRegression from sklearn.ensemble import RandomForestClassifier from sklearn.datasets import fetch_20newsgro…
      • I’ve been working on this for this whole week but I could not still get it right (e.g. the part which asks to return the sector name that has moved the most). If you could help that would be so much a…
      • Read the Banking_Marketing.csv file and load it into a dataframe and do the following task ¬† Group the data based on marital column and draw a plot for nr_employed using matplotlib. Group the data ba…
      • Using loops in python define a function fewest_characters_rightmost that takes a single argument, a list of strings, and returns the string that contains the fewest characters. In the case of a tie, r…
      • You are attempting to budget for gas/cleaning in the upcoming annual period. The city has 4 gas choices parted in 2 collections; you need an option from both. Underneath this will show choices as well…
      • Sorting as well as searching plays a key role in everyday applications. From a basic sort on an e-commerce website of products and prices, all the way to search a student record. With that said, come …
      • What this the answer? If the list a contains N=1,000 elements, how many operations of division are done in the following function? def dodo(a) : res = 0 for x in a: for y in a : q9d res = res + x//y r…
      • I’m using python A year in the modern Gregorian Calendar consists of 365 days. In reality, the earth takes longer to rotate around the sun. To account for the difference in time, every 4 years, a leap…
      • Hello, I am working on an assignment and I am stuck. I am trying to individually, and on separate lines print the file sizes of two items (Out of two folders I have designated) each. However, I cannot…
      • what is the value of Z? x = 6 y = 1 z = -1 while x < 10: ¬†¬†for y in range (3): ¬†¬†¬†¬†if (z % 2) == 0: ¬†¬†¬†¬†¬†¬†z += 2 ¬†¬†¬†¬†else: ¬†¬†¬†¬†¬†¬†z -= 1 ¬†¬†x += 1
      • 1 Task In a file named¬†dinojump.py, implement a simplified version of the Google Chrome “there’s no internet”dinosaur jumping game using pygame. If you are using Google Chrome, you can play it by typ…
      • Travel Tracker 1.0 Task: You are to plan and code a console-based program in Python 3, as described in the following information and sample output. This assignment will help you build skills using sel…
      • Python Programming – Bubble Pots Write a program called Bubble Pots, which will simulate a collection of bubbles bubbling within a soup pot. 1) Here are some guidelines (not necessarily in a useful or…
      • Python program that asks the user for an integer (number) greater than 1. Once the user enters an integer, it should then allow the user to choose between the following two options: If 1 is entered, a…
      • 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…
      • Premise: Adam is so good at playing arcade games that he will win at every game he plays. One fine day as he was walking on the street, he discovers an arcade store that pays real cash for every game …
      • contents = ” ¬†¬†¬†infile = ‘thefile.txt’, ‘r’) ¬†¬†¬†contents = infile.read() ¬†¬†¬†infile.close() ¬†¬†¬†print(contents) find error
      • Rewrite the program below so that it reads strings from the file and builds the list courses instead of defining all the data as part of your program itself. The file aspect should be the only thing t…
      • The program currently creates several Turtles as you have done all semester. Now change the line that creates new Turtles to t = DotTurtle() which will create a bunch of DotTurtles instead. Run your p…
      • Suggest a strategy for implementing a three-dimensional array class that uses the Grid class as a data structure. ¬† 2. Write a code segment that initializes each cell in a three-dimensional array …
      • # The patient class has a name, age, and weight. Only the name and age # are provided as arguments to the constructor. The weight is set to 150 # by default for all objects. A Patient also has an incr…
      • Problem Description: Leia and her friend Han are enjoying a nice meal at a restaurant when they realise it’s a public holiday and there’s a surcharge. She wants to find out what the cost of the meal w…
      • I did the first step and i need a python expert to help me with the second step: for the second step: 1] lets say the first “1” in your list of 100,000 random numbers occurs at location 5. That means …
      • Implement Gibbs sampling in R, Matlab, Python, or Winbugs and obtain the posterior distribution of őł (plot the density). ¬†. 3. Genetic study. A genetic study has divided n = 197 animals into four ca…
      • Without importing the packages and add comments for better understanding . Goldbach’s Conjecture is one of the oldest and best-known unsolved problems in number theory and all of mathematics. It state…
      • Open or create new .py file called¬†test_my_experiment.py¬† Add lines to¬†import¬†numpy¬†as¬†np,¬†pandas¬†as¬†pd, and your¬†my_experiment¬†module as¬†exp¬†at the top of your test file (test_my_experim…
      • Write a function leaves that returns a list of all the label values of the leaf nodes of a Tree.
      • n robots are placed along the edge of a circular area at the middle of the OAT. Each robot will move along arbitrary tracks inside the circle while leaving behind a heat signature along its trail. How…
      • it’s a Spotify bot play the problem is some thread dont play also sometimes thread open without play we need to make the bot play songs And close thread once finish then open a new thread stream close…
      • hi if I write the following, does my code works perfectly or there is a better way of doing it?: def get_keys(d,v): ¬†¬†¬† ¬†¬†keys = [] ¬†¬†¬† ¬†¬†for i in d: ¬†¬†¬†¬†if d[i] == v: ¬†¬†¬†¬†¬†¬†keys.a…
      • . RecordMap Magic . len () . get () . contains ( ) Regular . add_report ( ) . rehash ( ) ??? (Add what you need) Figure 2: Class diagram for a RecordMap. add_report (pos, temp) – updates max and min…
      • Learning Journal Unit 3 1.¬†Copy the¬†countdown¬†function from Section 5.8 of your textbook. def countdown(n): ¬†¬†¬†if n <= 0: ¬†¬†¬†¬†¬†print(‘Blastoff!’) ¬†¬†¬†else: ¬†¬†¬†¬†¬†print(n) ¬†¬†¬†¬†?…
      • . Write a program to ask the use to guess a security pass that is written in your Python code. For example the secu rity pass is "Meadowbank". The user is allow to enter three guesses only…
      • It’s year 2120 and you work as a space taxi driver. One day, you suddenly get lost and find a new small inhabited planet, which looks like a so far unknown civilization. You meet the planet prime mini…
      • Need help writing a simple python script¬†Need help writing a simple python script
      • Generate random instances of map-coloring problems as follows: scatter n points on the unit square; select a point X at random, connect X by a straight line to the nearest point Y such that X is not a…
      • The decimal number system uses 11 digits (the numbers 0-10). (5 points) ¬† True ¬† False
      • Help me re arrange this into actual running code mport random while cont==”Y” def rollDice(sides): for i in range(1,rolls): ¬†¬†roll=random.randint(1,sides) ¬†¬†sides=int(input(How many sides does the…
      • Define tick(self): Question #5 One of the "features" PicoSoft’s word-searchers have requested is to know how long each word takes to find (and when they were found!) Thus, they’ve begun impl…
      • I am working in python and can’t work out this code. Supposed to print “Ringo was born in 1940 Here is code I have: #Here’s the code for Ringo person = {‘first_name’:’Ringo’,’last_name’:’Starr’, ¬†¬†?…
      • Step counter ¬† A pedometer treats walking 1 step as walking 2.5 feet. Define a function named feet_to_steps that takes a float as a parameter, representing the number of feet walked, and returns an i…
      • Please answer these questons 5. For C locate the one subgroup of order 4. The group D has three subgroups of order 4. Select one of the three subgroups of D that has a different structure than the sub…
      • import edu.cudenver.exception.AuthorNotFoundException; import edu.cudenver.exception.PublisherNotFoundException; import edu.cudenver.library.Author; import edu.cudenver.library.Book; import edu.cudenv…
      • I am looking for help with a function that is the starting point of all of the function codes that I have below. This new code must include includes all functions that I have below. I need to be able …
      • Hello, I need help solving this Lab simulation, It uses For loop: Printing a list for loops statements and I am very new at python on so I need help solving it. It is very difficult. It is very confus…
      • COSC 1336 – Programming Fundamentals I Program 12 – Classes and Object-Oriented Programming #Pyhton Programming¬† The owners of the Annan Supermarket would like to have a program that computes the wee…
      • What is the run-time complexity of the following algorithm, in terms of n and m? def print_all_codes(n, m): ¬†¬† def print_01_codes(current, num_digits): ¬†¬†¬†¬† if num_digits == 0: ¬†¬†¬†¬†¬†¬† prin…
      • Help, please. I’m getting many errors with the python code below. What am I doing wrong? ¬† # 6-4 Milestone: Moving Between Rooms by CCook Dec 5 2021 # A dictionary for the simplified ‘Avoid the Anaco…
      • PLEASE SOLVE THE FOLLOWING PROBLEM USING PYTHON PROGRAMMING ¬† ¬†Given below are the daily milk yield (in liters) records of the first lactation of a specified cow belonging to the Tharparkar herd mai…
        • 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,…
      • Hi I am really struggling with this question on python please can you help me and show me how to work this question out I really appreciate your help, I have included a screenshot of the question so i…
      • Modify this code so that is uses the “median of 3” method to select a pivot. You must look at the first value in a list, the last value in the list, and the value that occurs in the middle of a list. …
      • 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 …
      • Define a python function ‘australian_tennis(d)’ which reads a dictionary of the¬† following form and identifies the player with the highest total score. The¬† function should return a pair (playername…
      • Project 2: Grocery List Introduction Your task for this project is to make a very simple grocery list script. This script also emphasizes the importance of using lists, dictionaries and loop types wit…
      • The kc_house_data dataset contains information on house sale prices in King County, Washington from May 2014 and May 2015. The columns include sale price and a number of variables that might affect th…
      • How do you create a function to divide or multiply two fractions in python? There is already a fraction class but I am unsure on how to divide or multiply a fraction using a function.
      • . zy Section 6.19 – IT 140: Introduction java – Varied amounts of input de X Course Hero X + V X C learn.zybooks.com/zybook/SNHUIT140v3/chapter/6/section/19 it: Apps ) mySNHU Login y! Yahoo @ Homepa…
      • Computer Science Goal Write a program (python or java or c/c++) that solves 3-coloring using the MiniSat solver Input: a graph to be 3-colored Output: corresponding boolean formula that can be fed int…
      • I need help writing a bash script that takes in an argument and uses it within a greeting. For example, if I input the argument = Joe, then when I run my bash script the output should say Well, hello …
      • copy and paste the following link in google you will get the files from which you have to solve this question¬† ¬† https://homepage.lnu.se//staff/jlnmsi/python/2021/large_texts.zip ¬† Your task here i…
      • add the following to your existing code. DO NOT re- write the whole program from scratch! a)¬†The INTERACTIVE part of the program should repeat 5 times (see sample output) b)¬†Add a message based on t…
      • Submit code to invoke the Python¬†API¬†here to do the following: https://shielded-headland-72128.herokuapp.com/api/ ¬† Submit a todo item using a HTTP POST request Fetch the response of the submitted …
      • Please answer the following question and give a code in python. Please help!!!!! ¬† ¬†. IC B BI from a list [‘A’, ‘B’, ‘C’, ‘A, ‘C’ ‘B’, ‘C’, ‘A", ‘B’] From the list above, stack(1) would return:…
      • URL: https://www.kaggle.com/saife245/english-premier-league Description 1 : This dataset (from URL above) contains detailed in-match statistics of team performances in the English Premier League (EPL)…
      • The Python code below is an example of recursion: def fa(): fb() def fb(): fa() fa() Select one: True False The elements of a Python list can be of different data types. Select one: True False Which o…
      • A program i created must authenticate a students access using their student ID and a password they already created, at every step of my program, to allow them access to specific options in my program,…
      • I have a dataset to where it shows the average wait time for customers and how longer their service took.¬† For customers whose service took 5 minutes or less, I need to perform a test to see if their…
      • hi anyone please help me from part B. for this lab we have to you need to use jupyter noteboob. please download data from the link below. thanks! https://drive.google.com/file/d/1hooklCCOOI-YRfq82wvWW…
      • Which of the following Python methods is used to perform chi-square goodness of fit tests? Select one. anova_lm from scipy.stats submodule tukeyhsd from scipy.stats submodule f_oneway from scipy.stats…
      • You will create each program in the IDLE environment and save it as a python file.¬† Use the file naming convention yourlastname _Lab6. n. py¬†where “n” is the exercise number. ¬† ¬† ¬†Problem 8 shoul…
      • How do I do this?¬†. In this project, we will implement an interactive Jeopardy! game simulator. If you don’t know what Jeopardy! is, it’s a popular trivia show where a group of contestants are given …
      • Python Question: Which statement correctly opens an existing file if you want to add lines to it? A. open(‘data.txt’, ‘a’) B. f = open(‘data.txt’, ‘append’) C. f = open(‘data.txt’, ‘a’) D. data = open…
      • How would you iterate using a “for” and “if”, “else”¬†a statement to print the following?I like apple I like pear I like grape I like orange Oh, I love cherry!
      • I cannot get this to run correctly using if Complete the if-else statement to print ‘LOL means laughing out loud’ if user_tweet contains ‘LOL’. Sample output with input: ‘I was LOL during the whole mo…
      • need help with python ¬† Consider the classification task in question 4. (question 4 is down below) Pick a feature selection method (e.g. mutual info classif). 5.a Report the top 5 ranked features. 5….
      • I need help with a program that requires the¬†main¬†function and a custom¬†value-returning function. In the main function, the code¬†should these¬†steps¬†in this sequence: use a¬†list comprehension¬†t…
      • All Problems (two files total): ant.py racetime.py ¬† In this homework on classes and objects, you will simulate a race among a bunch of Ant objects. They’ll scoot left-to-right across a 150×150 matpl…
      • I’ve been told the first step prior to being able to access media files in a computer is digitization . Sure would be nice if I had any idea what that meant though… Little help?
      • Introduction The real world provides tons of data; often our job is to do reasonable computations with that data. In this project, we’ll look at a situation where we are given data and we want to come…
      • Which one of the following operations on the Python list powerups is not supported? O result = powerups [1:6] O if vall in powerups: O result = powerups – ["Mushroom", "Racoon Suit&quot…
      • Replace the pass statement with a loop so this function will output as same as the previous countdown2 function ¬† def countdown2_loop(n): pass countdown2_loop(3) ¬† Original countdown2_loop Input: de…
      • WRITE THE EQUIVALENT PYTHON CODE FOR THE FOLLOWING JAVA CODE MAKING SURE IT FUNCTIONS THE SAME WAY. ¬† public class AlphaBetaPruning { ¬† ¬† // Initial values of Aplha and Beta ¬† ¬† static int MAX = …
      • PYTHON GAME OF PIG ***The key thing is that I want help writing this program WITHOUT the use of function definitions like¬† def roll () ¬†: … just simply use assigned variables and while loops etc. …
      • Please help with coding the Ping client in Python please?
      • Serendipity booksellers has a book club that awards points to its customers based on the number of books purchased each month. The points are awarded as follows: If a customer purchases 0 books, he or…
      • Ask user to enter a name¬† 2. Ask the user to enter five numbers “amount1”, “amount2”, “amount3”, “amount4”, “amount5”¬† 3. Calculate the sum of the numbers “amount1”, “amount2”, “amount3”, “amount…
      • I get a error when trying to Compute their Cartesian product,¬† AxB¬† of two lists .¬† Each list has no more than 10 numbers. Here is the example, if the user supplies the two input lists: A = [1,2] B…
      • Domain – Chemical Industry ¬† focus – Classify chemical ¬† Business challenge/requirement FuPont is a leading chemical company across the globe. The Company is on a CSR (Corporate Social Responsibilit…
      • Hi, Please help me with the code for the ** Question 1.1.1 ** Lab 5: Song Classification, Part 2 lyrics = Table.read_table(‘lyrics.csv’) ‚Äč training_proportion = 11/16 ‚Äč num_songs = lyrics.num_rows…
      • Problem 6.2 [25 points]¬† Purpose: Use a 2-d array in a simple science application. Use for loops to generate a 20 by 30 matrix, initialized with random values between 0 and 9. Now, write¬† separate l…
      • is there a reason why someone would develop a user-defined function in Python instead of using a built-in/pre-defined function? Are there instances where it would be more efficient?
      • below are the code written by me for calculating top 50 idf values in decreasing order and corrosponding vocab. I am stuck how to do it . from collections import Counter from tqdm import tqdm from sci…
      • How do I modify my code so the output would be true? Some other test inputs and outputs: [-17, 3, 4] True [-10, 2, -5] False ¬†. 1 abs_more_than_10 = False 2 # Do not edit the above line. Add your cod…
      • The relationship of liquid inflow rate to bottom hole flowing pressure is called the IPR (Inflow Performance Relationship). By plotting this relationship, the well’s flow potential or rate can be dete…
      • # Question 1: List and Dictionaries print(“### Question 1: List and Dictionaries”) “”” 1. Import the “random” library to generate a “list” of five unique integers between 1 and 52. 1.1. Sort five inte…
      • Solve using Python/Spyder ¬†. Cone-shaped pins are widely used to increase heat transfer with a minimum amount of mate- rial. Let us consider a simplified treatment of this pin, which we described in …
      • I want to build a class to implement ¬†the data type `Circle` that has an ¬†instance attribute named `radius` and write a function that takes the radius as ¬†an argument.¬† Moreover , by overloading l…
      • Python’s built in function named open() does what exactly? ¬†an error code where 0 means success¬† ¬†tries to open a file and returns a stream object¬† ¬†always None type returned¬† ¬†tries to open a …
      • What are the differences between syntax, semantic and runtime errors in Python?
      • Please provide five non negative numbers when prompted Enter number: 23 Enter number: 12 Enter number: 14 Enter number: 10 Enter number: 11 Average = 14.0
      • Generally speaking, filter list operations produce a different number of list elements compared to map operations. Select one: True False
      • Implement Logistic Regression with L2 regularization Using SGD: without using sklearn:- Initialize the weight_vector and intercept term to zeros (Write your code in def initialize_weights()) Create a …
      • Find the Valedictorian Assume that you are the teacher and you need to identify which student is the valedictorian in the given list of grades. The list of grades returns 10 scores of the students. Th…
      • Given three floating-point numbers x, y, and z, output x to the power of y, x to the power of (y squared), the absolute value of x, and the square root of (xy to the power of z). Ex: If the input is: …
      • Contact Manager COMMAND MENU list – Display all contacts view – View a contact add – Add a contact del – Delete a contact exit – Exit program Command: list 1. Guido van Rossum 2. Eric Idle Command: vi…
      • provide a python function such that when the master theorem is used, it should output O(n^1.6….) Moreover, using the same created function, make it such that when the master theorem is used, it shou…
      • I need help coding an application that displays the following menu: Select a Planet 1. Mercury 2. Venus¬† 3. Earth¬† 4. Mars¬† 5. Exit the program¬† Enter your selection. When the user selects a plane…
      • Hello, I am having trouble with this on Python: This is what I have so far. I had help with comments on what to do, But I am still confused on finishing it and what to add into the Order.py module. Ca…
      • range(stop) 1.) # [ ] for x = 6, use range(x) to print the numbers 1 through 6 x = 6 ¬† 2.)# [ ] using range(x) multiply the numbers 1 through 7 # 1x2x3x4x5x6x7 = 5040 ¬† 3.)# [ ] print the second hal…
      • i need help with this, its python.¬†. . check_win(board, ch): checks if the player using character ch has won the game using previously defined functions . check board full(board): checks if all the l…
      • Create the specification of an ADT (Abstract Data Type) and the respective class in Python for natural numbers, with the constants 1 and 0. For the methods consider equality, sum and product. The prog…
      • Section 6.9 of your textbook (“Debugging”) lists three possibilities to consider if a function is not working. Describe each possibility Define “precondition” and “postcondition” as part of your descr…
      • We’re going to write a program that manages the email address of our contacts. Your program must contain a class named¬† contact ¬†that has 3 attributes (instance variables): last name, first name, an…
      • Exercise 8. Consider the following code list1=[10,20,99] list2=list1 List3=list2.append(list1[-1]) List1=list1.remove(2) Print each one of the lists
      • Exercise: 1) The game of blackjack involves two players. The rules (simplified a bit) are:¬† ‚óŹ each player adds up their card values¬† ‚óŹ The player with the higher total value wins.¬† ‚óŹ If eithe…
      • 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…
      • A support vector classifier was fit using four different values of the tuning parameter ūĚź∂ (as a penalty term) in the following figures. Order the figures by ūĚź∂ in descending order.
      • How to write code in flowgorithm that calculate weekly paycheck? variables :-first and last name followed by employee id, pay rate and worked hours must be displayed . Final result should display firs…
      • Brew process monitoring and inventory management It needs to do the following: – Is the brewing equipment and process captured in the module variables and data structures – 1 mark – Are the stages o…
      • (4 points) Consider the function of two variables given by f(x,y) = x ty – 2x y + 4xy (a) Show that (0, 0) is a critical point of f(x, y). (b) Use Python to visualize the level curves fr = 0 and fy…
      • Please help. I don’t know what’s wrong. Thank you. View Tools Education 3. E Terminal fune py x test.py fune py Collapse 22 To decrypt the message, you simply shift back in the reverse direction. Or, …
      • Use Seaborn to create scatter chart for the 6-months bins for total orders for every product for the following list of Zip Codes: [60623, 60663, 60609, 60660, 60615, 60622] ( Use Python – SQL – Postgr…
      • Create a function called occurs_n_times which will take as input a list L, and a positive integer n and will return True if there is an element in L which occurs n or more times and False otherwise. I…
      • A furniture company produces 5 different products (A,B, C, D, and E). Each product requires certain amount of linear wood, glue, stain, and production hours. The detailed requirement can be found in t…
      • . LAB-1: Remove gray from RGB(5 points) Summary: Given integer values for red, green, and blue, subtract the gray from each value. Computers represent color by combining the sub-colors red, green, a…
      • 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…
      • new_set1 = { 1 , 2 , 3 , 4 } new_set2 = { ‘a’ , ‘b’ , ‘c’ , ‘d’ } new_dict={} def set_to_dict ( new_set1,new_set2 ): if len ( new_set1 )! = 0 : for i in ( new_set1 ): key =key. add (new_set1) value = …
      • Code: 1) from sympy import * x,y=symbols(‘x y’) exp=input() expr1=Derivative(expr,x) print(expr1) 2) import math # this function returns root of function calculated using newton method def newton_raph…
      • #Run the cell below before completing the problems that follow. zipCodeData = [ { “country abbreviation”: “US”, “places”: [ { “place name”: “Alpena”, “longitude”: “-83.4602”, “post code”: “49707”, “la…
      • Write a program to convert songs from the Latin note convention to the Anglo-saxon note convention.¬† Specifically, in Latin, the 7 music notes are “do”, “re”, “mi”, “fa”, “sol”, “la”, “si”, and their…
      • . In this program, we will be working with classes and operator overloading. This program should: . Have two files, modFraction.py and testFraction.py. . In modFraction.py, define a class Fraction t…
      • Please answer in Python language:if I take n move in this graph, compute the set of vertices that I can reach starting from each node If I make a move in this graph, compute the set of vertices 2 Da a…
      • (python)Write expression using Boolean operators that prints “Eligible” if user_age is greater than 17 and not equal to 25. Sample output with input: 17 Ineligible
      • 306 Lajiri, Jyoti 56.20 Sr. Network MA 2169 04/23/86 M Married US Citizen No White 11/10/2014 IT/IS Engineer Semizoglou, 53.80 Sr. Network 307 MA 1545 02/09/83 M Married US Citizen No Asian 6/30/2016 …
      • I’m having trouble with the following. I’m not use to classes, and am not sure how to go about this. I have to keep in mind the guidelines. I will be running it through a tester. What is below is only…
      • What is the infix arithmetic expression for the following arithmetic tree: (3+2)*3/(46-12)
      • you will be finalizing the development of the WhatABook program. As you work on the assignment, please make sure you review the responses you received from Module 12.2 Assignment: Peer Review – WhatAB…
      • Compulsory Task 1 Follow these steps: ‚óŹ Create a new Python file in this folder called float_manipulation.py ‚óŹ You will need to import the math module and use its built-in functions to complete th…
      • Activity #2: Taking limits to compute derivatives – To be done as a team In an earlier lab, we observed how we could have a function that is undefined at some value (such as (sin x)/x at the point x=0…
      • I am trying to solve this problem but I am not able to find a solution. The problem is written on Python. I have to find the MinHeap.¬† ¬† Code problem below # First let us complete a minheap data str…
      • Objectives: Familiarize the student with: using the break statement in loops; reflecting real-life situations in computer code. Scenario: The break statement is used to exit/terminate a loop. Design a…
      • Which of the following methods potentially mutates dictionary d? a)d.keys() b) d[k] c)d.get(k, v) d)None of these e)d.values()
      • Implement a simplified version of a crypto broker platform. Initially, there is an array of users, with each user depositing only cash – deposits[i] is the amount of cash the (i + 1) th user has depos…
      • Return a two-item tuple containing a “person to friends” dictionary ¬†¬†and a “person_to_clubs” dictionary with the data from profiles_file. ¬†¬†NOTE: Functions (including helper functions) that have …
      • import csv import numpy as np C:\Users\19563\anaconda3\lib\site-packages\numpy\__init__.py:143: UserWarning: mkl-service package failed to import, therefore Intel(R) MKL initialization ensuring its co…
        • POIS Save Answer Convert 5638 in decimal (base 10) to octal (base 8). A framework for the conversion using the subtraction method taught in class is shown below. Fill in the missing sections when as…
      • Use google_books_dataset.cvs. 5- Personal Success (The Brian Tracy Success Library) Function 8: check_category_and_title Use the function design recipe to develop a function named a check category and…
      • Hello everyone! I need help for this class Question, it’s about python lists okey but ńĪ do not understand clearly to solve this question and ńĪ have 1 hour 30 mins. Please help! Thanks in advance. Im…
      • Write program that accepts the lengths of three sides of a triangle as inputs.
      • Given the sequence of numbers 1 through 15, what would be the order of insertion of these numbers into a binary search tree that would result in a binary search tree that exhibit worst and best search…
      • Consider the following insertion sequence: 8, 6, 4, 10, 15, 7, 17, 20, 3, 14, 2, 5, 19 Build a red-black tree using 1) Bottom-up insertions, . Show each step. Put arrows in between steps and label the…
      • would you please tell me how to do their questions 4 and runs codes? The file was sent to you by the below link when you did please send me a screenshot and codes. Below have 4 file image look like. T…
      • 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…
      • I have a csv file with information about job postings. How would I display the total¬†number¬†of¬†job¬†postings¬†in¬†each¬†year? How would I print¬†the¬†year¬†that¬†had¬†most¬†jobs? And finally how wo…
      • DEVELOP OWN ALGORITHM ¬† Janna and Paul were asked to assist Yuki, a marketing student, in designing and developing a simple application for her start-up business. Yuki’s start-up is a gym, and she in…
      • Can someone tell me what’s wrong with my code? directions: Given the number n as input, print the first n odd numbers starting from 1. For example if the input is 4 The output will be: 1 3 5 7 my code…
      • def test_get_cust_id(self): conn = sqlite3.connect(‘small.db’) conn.row_factory = sqlite3.Row with patch(‘builtins.input’, side_effect = [1, 3, ”]): with io.StringIO() as buf, redirect_stdout(buf): s…
      • . def alg_moving_average ( filename ) : ""This function implements the moving average stock trading algori The CSV stock data should be loaded into your program; use that dat make de…
      • I have the following inverted dictionary and the ask as follows: read dictionary items from a file and write the inverted dictionary to a file. You will need to decide on the following: How to format …
      • proggramming presentation -design flow (pseudocode , flow chart ) -include special features (user friendly )
      • Using pd.to_datetime() in pandas Hi, I was wandering how you could select certain range using to_datetime() TO clarify, say I have table like drop_time. passenger 2/01/16 20:50. 1 2/12/16 3:20. 2 3/6/…
      • Hi my code says no module named paddle please help! # Import the pygame library and initialise the game engine import pygame from paddle import Paddle pygame.init() # Define some colors BLACK = (0,0,0…
      • Aashish ( 20 years old) and Sumit ( 19 years old) are two students in a batch. They secured 89 and 95 marks respectively.
      • import random import math def elementary_school_quiz(flag,n): ¬† ¬†¬† ”’ ¬† ¬† flag: number -> The selected topic, 0 is for log calculation, 1 is for calculation to the second power ¬† ¬† n: numbe…
      • Question 3 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 1…
      • Import three modules¬† sklearn.datasets ,¬† sklearn.cluster , and¬† sklearn.metrics . Load popular iris dataset from¬† sklearn.datasets ¬†module and assign it to variable¬† iris . Cluster¬† iris.data …
      • Payroll : Write a program that displays the weekly payroll for a company that hires both salaried and h ourly employees. The program should contain a class named Employee having two subclasses named S…
      • (30 points) Use the functions provided below (you can copy them into your hw03.py module file), to write a program to print out the image shown. Your program may call the following functions, but it m…
      • Hi can you help me with this question. I have linked in to a google drive in the comments , which contains my code. In the function generate_report when I try to print it it gives me the Error:’dict’ …
      • hi, I have this very beginner code in python. for some reason I get 0.67999999999999972 instead of 0.68. How can I manage this?thx from math import floor s=float(input(“Please enter the amount to be p…
      • Please make these 4 small Python programs Thanks in advance… Program 1 Write-a Python Program to Find is user input (Number) is Divisible by Another users input (Number) and display it. You should c…
      • This week we are to use SQL query in a Python program that will take a Google history database file and extract the Web addresses that the user visited, the number of times the page was visited and th…
      • Can someone tell me what I am doing wrong? I am supposed to output the sum of the numbers in a pre-determined list but I can’t seem to get this to work. Thank you !
      • QUESTION 16 Joey’s wedding reception had 60 members of his family, 30 members of his wife’s family and 20 friends in attendance. A group of six was selected by the DJ to participate in a dance. Leavin…
      • Compare getting inputs for the user’s drink selection via¬† choice = input(“What drink would you like? > “) vs choice = input(“What drink would you like? > “).lower()
      • A canoe trip consists of paddling across lakes, and hauling gear across portage trails between lakes.¬† In this question you will create a representation of lakes and portages in a park. You will then…
      • please show me how to do a kali part and when you did please give me a full screen short¬† ¬†. Part 4: Cracking Passwords using Hashcat on Kali – Local Microsoft System Passwords (Home) Here you are g…
      • MY assignment is to create the following criteria: Create a SELECT statement that contains only FirstName, LastName, and EmailAddress from the contacts table. Create an UPDATE statement that updates a…
      • How do I make a program like this? Allow the user to enter the name of the vendor (eg. Hillshire Farms) ¬† Allow the user to enter the price of a loaf of bread Allow the user to enter the number of sl…
      • please code in python- juypter notebook only one EFT and One Stock check the intraday volatility vs volume in python provide a summary about what you find. Anything interesing and/or worth to mention …
      • Design a Python GUI for Book view class for the following Library Information System Library Item Class Design and Testing Design a class that holds the Library Item Information, with item name, autho…
      • With the instruction below, what is the new version of the solve() function? The following is the draft of the solve() function (the draft code is in the ghost.py file). The ghost.py file is in the fo…
      • Please write a backtrack Python program which reads in an m by n binary matrix as a maze (where a 0 indicates a blocked cell and a 1 indicates an unblocked cell) with an entry cell and an exit cell, a…
      • I need help with displaying the following code using python Layout References Mailings Review View Tell me A" A Adv Po AaBbCcDdEe AaBbCcDdEe AaBbCcD( AaBbCcDdE AaBbCcDdE ADVA v Normal No Spacing …
      • Count unique words using Python’s set and dictionary¬† ¬†Use Python’s set class to count the number of unique words in each file, ¬†Use Python’s dictionary class to produce a Top 10 list of the ten…
      • Goal: Practice writing recursive functions. * You can use your editor’s debugger to trace though the recursive function calls on a call stack. ( https://eclass.srv.ualberta.ca/mod/url/view.php?id=3929…
      • Universal Bank is a relatively young bank growing rapidly in terms of overall customer acquisition. The majority of these customers are liability customers (depositors) with varying sizes of rel…
      • In Chapter 4, we developed an algorithm for converting from binary to decimal. You can generalize this algorithm to work for a representation in any base. Instead of using a power of 2, you will write…
      • What is the output of the following code snippet? x = 20¬† if x <= 20 :¬† ¬†¬†print(“1″, end=””)¬† if x <=40 :¬† ¬†¬†print(“2″, end=””)¬† if x <= 30 :¬† ¬†¬†print(“3″, end=””)
      • . You need to implement a function mirror_words ( text) that takes a string of text and return the same string but with respective ‘mirror’ words inserted after every single word in the text. A mirr…
      • [5 pts] Write a mapping feature for a calendar app: a) [1 pts] Create a dictionary that records the number of days in each month (January to December). Month Days 31 2 28* 3 31 4 30 . . . 12 31 b) …
      • Hi, I am looking at 3-3 Final Project Script one Draft- Rental Car Billing Script, to get some ideas. I so far got to the point of having the code show correctly as (B)udget, (D)aily, or (W)eekly rent…
      • I already have this solution so I am looking for another way it can be done.. 39 40 class Circle(object) : 41 42 def __init__(self, center, radius): 43 assert isinstance(center, tuple) 44 assert len(c…
      • i need help in coding this function please Assuming that the football_scores dictionary is globally defined, implement a function called calc_points(events) that computes and returns the total points …
      • This involves writing a Python program to read in the temperatures for ten consecutive days in Celsius and store them into a Python data structure such as a list or a tuple. The entire list should the…
      • Good afternoon, we need to develop a python system that, when faced with a question formulated as a string entered by keyboard, indicates that it contains the words of that question at least once. If …
      • Given is a dictionary which represents an encryption alphabet, added a code for space between words. Write a function, which takes a string, either out of letters or out of encryption code from the di…
      • class Team: ¬†¬†def __init__(self, team_name, team_wins, team_losses): ¬†¬†¬†¬†self.team_name = team_name ¬†¬†¬†¬†self.wins = team_wins ¬†¬†¬†¬†self.losses = team_losses ¬†¬†# TODO: Define get_win_per…
      • 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¬†).¬† Feedback? CHALLENGE ACTIVITY 1.18.1: Coordina…
      • Would someone help my fix my Pygame code? It isn’t running correctly, and I don’t know the issue. Also would there be a way to resize the image I’ve imported into it? I’d like the image to be smaller….
      • dont copy . import pygame, random, time, sys def main(): ¬† ¬†# initalize all pygame modules (some need intialization) ¬† ¬†pygame.init() ¬† ¬†# create a pygame display window ¬† ¬†pygame.display.set_…
      • General problem statement: Suppose that you are on a trip and buy a bunch of gifts to bring home to your family. When you arrive at the airport for your trip home, you discover that you may carry only…
      • i have a function convert a a byte sequence to state matrix how can i convert those 3 state matrix message back? python¬†. def convert (self, flag) : return [[x for x in flag [i:i + 4]] for i in range…
      • Using Python3. Implementing a trie. I have the code below so far but it’s not functional. Im trying to make a Node ADT and PrefixTree ADT. -implementing ability to return all words with a given prefix…
      • Hello dear tutors! I really need to solve this problem. Please if you know or can solve even half the problem, do it. I would really appreciation if you can help me! Wiki Link: https://en.wikipedia.or…
      • Please help with the following assignment: ————————————————————————————————————– address.txt file content is pasted here (can’t…
      • Write a script that tracks the unique words in a file and their frequencies. To do so, write a function wordFreq which takes a filename as a parameter and outputs the unique words and their frequencie…
      • Task 1: Environment Set Up import¬†pandas¬†as¬†pd import¬†seaborn¬†as¬†sns df¬†=¬†pd.read_csv(‘https://raw.githubusercontent.com/nytimes/covid-19-data/master/us-counties.csv’) ohio¬†=¬†df[(df[‘state’]…
      • currently learning functions (already liearned listing,set, and converting from one another. (simple append and split as well) only one program but its long and i need help solving it ūüôā thank you not…
      • Please make sure the program at the end is something a user can use in order to get the correct result. Also provide a UML diagram which is commented and user-friendly.. Write a program that wil…
      • I doing an assignment on Linear regression in Python and i am hoping a data scientist with knowledge in Python could help offer me some guidance.¬† I used a scatter plot to determine whether or not th…
      • Draw/Sketch a finite state machine for this. Question #4 – Finite-state machines Sketch a Ô¨Ānite state machine (F SM) that accepts an input string if and only if that input string has an odd number o…
      • write a program in Python that calculates the value of f(x) from following equations. [Marks: 50] Prompt the user to enter values for ūĚĎé0a0, ūĚĎŹ0b0, ūĚĎĀN, ūĚźŅL and ūĚĎ•x and add appropriate check…
      • Python ¬† For this, only import and use sys and numpy Create a program called reallyrandom.py that has a function that takes in three arguments and prints one integer.¬† Your random seed should be set…
      • You have been asked by your supervisor to design a Pratt steel truss that must support three 10-kip loads as shown below. The length of the truss is to be 40 ft. The height of the truss and thus the a…
      • You are managing a magazin. You have two lists. The first list contains the items sold by the magazin, it is a list of strings. The second list contains the quantities of these articles, it is a list …
      • PYTHON PROGRAMMING ¬† ¬† ¬† The objective of this project is to introduce you to several functions and features in Python for data gathering and analysis. In this assignment you are to retrieve a page…
      • USE PYTHON thank you You are a soldier who needs to tell the correct password to the guard to be let into the castle. However, the password protocol is not that simple. You need to obtain the password…
      • Exercise 9 Use the function design recipe to develop a function named sum2. The function takes a list of integers. The function returns the sum of the first two list elements. It should return 0 if th…
      • Task 3 5 Create the function oddEven which accepts any 1D numeric list in which the number of even numbers is the same as the number of odd numbers and returns a list in which the numbers are ordered …
      • class Backwardable : def __init__ ( self ,iterable) : self ._iterable = iterable def __iter__ ( self ) : class B_iter : def __init__ ( self ,iterable) : self ._all = [] self ._iterator = iter(iterable…
      • Define a function called plotTransformedData(original_df, trans_df,… ¬† Define a function called plotTransformedData(original_df, trans_df, colors, size, limits) that accepts two Pandas DataFrames (…
      • Create a Python function to display the integers from a to b, including a and b. In the main part of the Python program, ask the user to enter the value of a and the value of b and invoke the function…
      • Original program: def invert_dict(d): ¬†¬†newdict = {}¬†¬†#New blank dictionary¬†¬†¬† ¬†¬†for key, value in d.items():¬†¬†¬†#Key and values are inverted ¬†¬†¬†¬†newdict.setdefault(value, []).append(ke…
      • Coding Guidelines [ ignoring these guidelines will result in marks deductions even if your program is syntactically and logically correct] : 1- Comment your code where necessary to improve the readabi…
      • Hello, I have tried to enter a code into Python and I keep getting a ValueError. Can you tell what I am doing wrong? Here’s the code: # Get our list from the command line import sys numbers = sys.argv…
      • [Selection Exercise] Please help. Pseudo code or Flowchart
      • Chapter 5 Problems Problem 5-1: Make a set of six conditional tests with three evaluating to True and three evaluating to False. Work to differentiate your tests, testing different variable types, val…
      • You will write an application that will allow the user to calculate their Body Mass Index (BMI) as well as calculate the user’s heart rate range for varying levels of exercise intensity–also known as…
      • Write a program that allows a tax accountant to computes personal income tax Your program will ask for a filing status (0 for si ngle, 1 for married filing jointly, 2 for married filing separately) an…
      • Objectives¬† ‚ÄĘ Code a script / program that produces the required output. ‚ÄĘ Use the provided Requirements Lists to help code the script.¬† ¬† Your mission… ¬†a script to calculate a term grade p…
      • please include funtions and not just the code. I mean like use def function(). Write a program that keeps names and email addresses in a dictionary as key-value pairs. The program should display a men…
      • a raptor flowchart and python code and uploaded each of them here. —————————————————————————————————————————– // main…
      • Please help me with this python code. Follow instructions. Please do Part A and B. 1 320_Python_Midterm_A20 – Saved to my Mac Home Insert Draw Design Layout References Mailings Review View ? Tell me S…
      • what is a function in Python that takes a list of numbers and returns the cumulative sum; that is, a new list where the nth element is the sum of the first n + 1 elements from the original list.
      • Write a function besties_coverage() that computes the “coverage” of nodes within a social network that are connected via predefined relationships to a given list of individuals, i.e. the proportion of…
      • I need help editing my code by adding a function and dictionary. I’ve added pictures of what kind of function and dictionary that needs to be added and a sample running of the program. The code I have…
      • how do you make a flowchart with list of the months of the year and a flowchart with a loop to print the month and name
      • Please, provide detail write up using Trinket for the following. 1. Implement a voting test. The user enters their age and then the program prints either, “You must be 18 to vote” or “You are of votin…
      • Tutorial Questions – Intro to Python Pre-Tutorial Work: None this week. ## Problem 1 Write a statement that finds the forth character of the value stored in the variable ‘season’ and assigns it to…
      • develop with python machine learning¬† * here is the Minist dataset in this link¬† https://www.kaggle.com/datasets/oddrationale/mnist-in-csv ¬† – Load the MNIST dataset and split it into a training se…
      • Categorize the ApplicantIncome into low (0-2000), medium (2000-20000), High(20000-50000), and Rich(>50000). Plot the relationship between Loan_Status and the categories of ApplicantIncome. Categori…
      • A kmer is a stretch of DNA sequence data of length k.¬† Any sequencing read of length n can be broken up into a set of overlapping n-k+1 kmers.¬† Kmer analysis is used in bioinformatics as a tool to u…
      • To complete this assignment follow these steps: Start your Jupyter Notebooks server Open Jupyter Notebooks in a browser Download information about data positions and associated salaries for several co…
      • Please help with the following task Filter the attached/linked file and keep the following columns only: STATION, NAME/LOCATION, DATE, AWND, SNOW. Then save the filtered file and name it¬†filteredDa…
      • For a Student’s t-distribution with mean 0, standard deviation 1, and degrees of freedom 49, which of the following Python lines outputs the critical value¬† a ¬†if¬†? Note:¬† a ¬†is a constant. Selec…
      • I’m writing a code to grab this function and print out an iterated list of items. The issue I’m experiencing is with the SOYD function. I’m trying to assign the Year variable to the SumofDigits calcul…
      • . Question 10 Given the following code snippet, answer the following question: pit.bar(xs, ys , width = w, color=’r’, alpha=0.5, align="edge") What must be the value of the variable w in o…
      • Python Programming:¬† 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 exam…
      • GIVEN REF ¬† DETAILS TO FOLLOW.. To feel good about programming, one should really develop a program that is interesting enough to feel good about. Here are some recommended choices for a program to t…
      • I have the following Python Script. This is to fetch data from a JSON file. This JSON file is fetched from Sentinel using API Calls (URL) and APID-using postman. The JSON file I get has much more data…
      • Main Dataset name: NCHS_-_Leading_Causes_of_Death__United_States.csv Year 113 Cause Name Cause Name State Deaths Age-adjusted Death Rate 2012 Nephritis, nephrotic syndrome and nephrosis (N00-N07,N17-N…
      • Activity 1: Preparation For this part of the project, put together a document (e.g. Microsoft Word file) you will use to plan your program. You will turn in a PDF of this document. First, examine the …
      • Please refer to the picture for questions. what will be the frequent itemset after Pass 2 and Pass 3 using A-priori algorithm? ¬†. Question 1 Frequent Itemsets, 20/100 points. a) Table 1 shows a list …
      • When analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the data. This can be done by normalizing to values between 0 and 1, or throwing away outliers…
      • Screenshot your codes and output then upload the images.. Catch and eat any of these fruits: ( apple’, ‘orange , mango , guava ) How many fruits would you like to catch? 4 Choose a fruit to catch. Pre…
      • Write a function called begins_with(prefix, wordlist) that takes as inputs a string prefix and a list of 0 or more strings wordlist, and that uses a loop to return a list consisting of all words from …
      • I have this list: [‘a 250’, ‘b c 7489’, ‘c 9023940’, ‘a d 573’] How would I convert this into a dictionary where I can have the letters mapped to the numbers? for example I would have ‘a’ mapped to ‘2…
      • Using this link: h../@NardosTsegaw/Unit-4-Project-Starter-Code-7#main.py Create 2 filters each of which manipulate the image at the¬† pixel level . You must create the filters based on¬† user input . …
      • Develop a program that will make a loan repayment schedule Determine the loan amount Determine the loan term (in years or months) Determine the loan rate (annual %) Calculate the payment Use a For loo…
      • Need help with a beautiful soup webscrapping problem. On the Master of Science in Operations and Technology Management website (http://up.smartcatalogiq.com/en/2019-2020/bulletin/Graduate-School/Progr…
      • Your task is to complete the code in order to evaluate the following expression: The result should be assigned to¬†y. Be careful – watch the operators and keep their priorities in mind. Don’t hesitate…
      • File ” Oscars.txt ” contains the names and the genres of each film that won an Oscar for best picture of 1928 through 2013. The films are listed in the order they received the award. Please help me co…
      • The formula below used to calculate the wind chill temperature. The formula is valid for temperatures in the range between -58" F and 41" F and for wind speed greater than or equal to 2 m…
      • There are 6 test cases. The code I have written below gets the correct output for test case 1-4. However, for test case 5 and 6, I cannot get the proper output without causing issues. Please help. imp…
      • How to ¬†obtain the location of the qcow2 image file from the xml file.¬† Do not just assume it is in /var/lib/libvirt/images, or that it is named after the VM, in python scripting?
      • What is the value of num? import math num = math.floor(-14.2) A.-14 B.-14.2 C.-15 D.14.2
      • How do you make a function that prompt the user to enter two sentences. Then it will print a combined sentence, consisting of alternating words from each sen- tence: first from the first sentence, nex…
      • PYTHON AND SQLITE DATABASE IS THE TOPIC There are a wide variety of databases to choose from. Some are self-saving dictionaries, whereas others keep copies of their objects in a software as a safety n…
      • Can I please get help ? class WordVectors: ¬† ¬†def __init__(self, filename): ¬† ¬† ¬† ¬†# Complete this method ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†def similarity(self, w1, w2): ¬† ¬† ¬† ¬†# Complete this me…
      • Hello, I need python program that does the following: allows the user to play Rock, Paper, Scissors against the computer. When the program begins, you randomly choose a number from 0 to 2, which will …
      • this task, you will compose a scientific survey of the accompanying contextual analysis. Utilize the accompanying rules to finish this task: Contextual analysis Assignment Guidelines (100 Points …
      • 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…
      • https://wcpss.instructure.com/courses/685832/files/29437912 i have no idea how to code this
      • Write a class¬†Students¬†with a public dictionary called¬†scores¬†that contains a list of exam scores.¬† Provide a constructor that takes a list of names (strings) as a parameter and creates entries f…
      • when i am looking that this i get alittle lost on what ¬†i am ¬†exposed to be pulling. From the sections of code put in here. # pseudocode: For each epoch: ¬† ¬† ¬† ¬†Agent_cell = randomly select a fr…
      • Program to open a text file for writing, and then write user input to the file via a prompt until the user enters an exit keyword. Show an example of use
      • Using Python, Juyper Notebooks ¬† I have attached screenshots of the instructions and my code. I’m also going to attach a google drive link to them for easier access ¬† my code: https://drive.google.c…
      • Download the file containing all of the #SuperBowlLIII tweets (superbowltweets.json) Make a new python script called process_tweets.py to process the data Process the data within the json file based o…
      • One of the below programs that when called like this (with the underscore representing a digit from 1 to 4) generates this output: >>> mixem_(“we hold these truths”) ‘w.e. .h.o.l.d. .t.h.ese …
      • Can you help me how to write program that computes and prints the average of the numbers in a text file and also can you use of two higher-order functions to simplify the design thank you
      • Make a program that prompts the user for an even number from 2 to 100 until the number 96 is encountered. Not including the 96, calculate the maximum value. In case you know what this means: DO NOT US…
      • You want to imagine a program that studies relationships between people on a social networking site, like Twitter or Facebook. You want to store data on people that links a given username to their fri…
      • I have Python 3 code that works the way I want it to; however, I am hoping to improve the readability of the code. Is there a way to still have the code function as follows: import a file and give the…
      • This is an Introduction to Python class, and we are learning about Object-oriented programming. We have a class created called T88ble, which comes with the following code: ¬†¬† def __init__(self, rows…
      • In python 3. Assume that the variable¬†plist¬†has been defined and refers to a list. What¬†statement¬†assigns the¬†next to last¬†element of the list to¬†x. my answer: plist[-2] = x *not correct*
      • Question Have there been moments in which you felt that your language or another language “got in the way” of something you wanted to accomplish? That is, have you “bumped into a language’s boundaries…
      • Please how is this done? Please attach a picture of your source code and its proper run after compilation. Thanks
      • A leading bank wants to develop a customer segmentation to give promotional offers to its customers. They collected a sample that summarizes the activities of users during the past few months. You are…
      • This is the question, for context I have attached a google link with the full document, ¬†the 3 functions referenced are listed below ¬† ¬† This is the result of importing the functions I have listed …
      • Assist with a Python program developing a list of linear algebra operations as specified in the following functions. I need the program to implement the operations from scratch meaning the programs mu…
      • Hello! I’m trying to get a bar graph using data from a csv. I’m having trouble with bar plots and I’m trying to get the number of genres the data file has. Do I need to do something before this? Here’…
      • Need help in Python: goal of this program is understand the importance of using inheritance and polymorphism , I have to derive two classes from the Policy class, one to add specific risk factors for …
      • Data Files We provide two files for this assignment. One is a sample file where we give you the sum for your testing and the other is the actual data you need to process for the assignment. Sample dat…
      • I need to fix this function so that main () selects input from a user when executed, rather than print out a chat history, how can I change the 3 functions and the main( ) function to select a user in…
      • really stuck on this homework question and could use some help, needs to be written in python.. Question 3: (20 points) Create classes with Multiple Inheritance. A student class can have major and GPA…
      • VALORANT is a tactical shooter game where a single match contains multiple rounds between two teams. Given a match information file that contains information on each round (same file format as Ques…
      • Could you help with this question Question 2 (9 points) Select the matching Big-O notation for each of these linked Sorted List methods: peek clean _len_ _ min index identical max linear_search 1. O(1…
      • Calculate the smallest positive root of an equation of the type: a * x 4 + b * x 3 + c * x 2 + d * x + e = 0 ¬† PS: To do the data reading, use the following float(input) structure. This way your prog…
      • Git -Git hooks-Write a script in post-commit Environment-Hackerank For reference https://www.coursehero.com/file/ 88316923/Hands-on-question- Interstellar-Gittxt/. Your local repository is test Step1:…
      • Q3: Write a program that takes as input two opposite corners of a rectangle: (x1,y1) and (x2,y2). Finally, the user is prompted for the coordinates of a third point (x,y). The program should print Boo…
      • I would like to know the code solution for this programming task 2 which is a build up of programming task 1 for which i have the code solution provided below. ¬† Programming Task 1 code: ¬† def takeI…
      • How can I accomplish this?. 2. +8 (ADT) Implement your own list class myList that behaves like class list except that: . The addition (+) operator returns the sum of the lengths of the two lists (inst…
      • Make this in simple form please don’t make it to complicated also I need a explanation on how to name the file main.py and the file q5input.txt.. QUESTION 1 Create a text file with random number of wo…
      • I was told to revise because “The wording of this question may indicate that you intend to submit a tutor’s work as your own. Please revise accordingly.” This question needs to be answered for studyin…
      • why is name torch is not defined jQuery2240733006041492803_1609872726808 how can i defined it ?? Jupyter Image Classifier Project Last Checkpoint: 2 hours ago (autosaved) File Edit View Insert Cell Ke…
      • Enhance the program by allowing the user to specify the list of months they want to see. A valid query may in addition to the year number contain a list of month numbers separated by spaces. ¬† For…
      • 6¬† 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…
      • Write a program which can compute the factorial of a given numbers. The results should be printed in a comma-separated sequence on a single line. Suppose the following input is supplied to the program…
      • No for/while or list comprehensions for anything¬† besides assert statements. Use maps, filters, and/or lambda functions. ¬† Q1 PART1 Given a list of usernames of players (as strings) that want to reg…
      • I would like to get the pictures of the code and the output for the program. SPECIFICATION Description: This program uses the covid_comorbidities_USsummary.csv data to print totals and create a ba…
      • Task 4: Remove Outliers <¬ß2.2 Loops; ¬ß4.1 Tables> ¬† Implement a function remove outliers(table) that takes as input an n √ó m table of numbers. The function replaces every instance of the max…
      • Please build both a client and server application in Python that using TCP sockets is able to transfer files from the server to the client. The server will accept the following commands from the clien…
      • 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 Online!
      • Hello, On Kaggle.com , there’s one problem that I need to resolve. It’s in Python, and I’m using Jupyter notebook. I will forward you the dataset that you need to work with. dataset link :- http://www…
      • . 2. Perceptron Convergence Rule The following perceptron is being trained to recognize paperclips. The input units are feature detectors. For example, if the object presented to the perceptron is w…
      • Hello! Please can you help me with my code? I am not able to save my credentials when I log in and register I also need to log out. I need to do the following tasks: ¬†In this exercise you will update…
      • DATA SET LINK : https://drive.google.com/file/d/1MQp4vFg4LFE7qg5qBKdP_lPJ6VUMBoUX/view?usp=sharing Using the hand gestures dataset available on the Moodle page, create a hand gesture recognition app i…
      • a) Create a dictionary with following table¬† Brand Year McLaren 2013 Porsche 2013 Dodge 7102 Mercedes 2021 ¬† b) Due to human error, year for Dodge was written in reversed order. Make changes and…
      • ASSIGNMENT: MY WORK: class WordGame: ¬†¬†¬†def __init__(self,secretword): ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†self.secretword=secretword ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†self.rightguess=” ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†self.wronggues…
      • This is R-programming, not python(no option to choose R programming so i choose this instead)… Hi! all i wish to use single code or in sections that will allow me to find the mean of Column 2 or 3 w…
      • Please, how do I make my program to run several times? Or should I just copy and paste it as many times as I want? I want it to look like the expected attached output, with turtle graphics also. I cou…
      • Activity File: Digital Forensics in the Cloud In this activity, you will look at a case concerning a DoS attack that occurred at an online shopping website. You will list at least four challenges asso…
      • There are 5 errors find them please. hours = str() cleaning = int() quit = str() weekly_cleaning = int( ) days = int() hours = 0 weekly_cleaning = 0 cleaning = 0 while quit != "": days < …
      • Game Command-Line Interface (Please make a new file for this) Please make a class called Python_Kart that has a text-based interface for implementing a race. The following methods should be a part of …
      • Write own function¬† series(x) ¬†which takes a single argument¬†x¬†and returns the sum of the series. The calculation should be approximated to the first few terms till the term becomes smaller than¬†…
      • An expression using Boolean operators that prints “Special number” if special_num is -99, 0, or 44. Sample output with input: 17 Not special number
      • Hello, My name is Shayan Waqar and I need you to do my python project and I can pay you for that. Looking forward for your urgent reply. I can pay whatever fee it is. Regards
      • Python Programming. Please help me plot this limacon using the sample output as a guide.. The shape of a limacon is defined parametrically as: r = ro+ cos a x = r cos a y = r sin a When ro = 1, this c…
      • Your program works correctly if you entered the numbers with and the range. however, the program executes incorrectly,If the numbers are outside of the range ( see output below ). You do not have to m…
      • Kindly help me find out the following topology. Q5. Hosts A and B are connected to each other via switch S as shown in the figure below. S is a store-and-forward switch. The transmission rate from A t…
      • 1 BasePlayer (5%) Criteria Points P2_WIN_SCORE. TIE SCORE, P1_WIN_SCORE all real-valued (and not 1 infinity) P2_WIN_SCORE < TIE_SCORE < P1_WIN_SCORE Heuristic is real-valued on all boards 1 He…
      • What Python program would 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 str…
      • q) following are the program written by me for calculating top idf of vocab of a given corpes. but i am stuck to find it
      • Given Code: #Write a function called write_teams. write_teams will take #as input two parameters: a string and a list of 4-tuples. # #The string will represent the filename to which to write. # #Each …
      • Create a simple python program to do course registration. The user can add courses, drop courses, and list courses he is enrolled in. A set will be used to store the data. The members of the set are t…
      • Need help to write a program that gets a list of integers from input, and outputs non-negative integers in ascending order (lowest to highest). Ex: If the input is: 10 -7 4 39 -6 12 2 the output is: 2…
      • draw a ¬†line plot of sin(x) and cos(x + ŌÄ/2) for -2ŌÄ < x < 2ŌÄ where x increases at intervals of ŌÄ/4. Make the sin(x) graph red and make the cos(x+ŌÄ/2) graph green Put both lines onto the s…
      • Can you help me answer the following introduction to computation questions?
      • give an example of that website or application that uses server side programming or php ? other than fb , wikipidia , linkedin ,yahoo .
      • Please share python codes¬†. Problem 1: You are hired by one of the leading news channels CN BE who wants to analyze recent elections. This survey was conducted on 1525 voters with 9 variable…
      • Use python to write the program. Problem: Let f(x) = 2 VT and consider the integral This integral is the error function erf(2) evaluated at z = 1. That is erf (1) = I(f). Task: Do the following: 1. Wr…
      • How would I create a flowchart using the information below??. Week 3 Assignment Week 3 Assignment Instructions . Review the attachments then create a FLOWCHART and pseudo code for the problem below! U…
      • Create a multiline string¬†“”” … “””¬†and store this string in a variable called¬†answer_str. Then, write all your code¬† inside ¬†this string according to the following criteria: Create a variable …
      • Provided is buggy code, insert a try/except so that the code passes. lst = [2,4,10,42,12,0,4,7,21,4,83,8,5,6,8,234,5,6,523,42,34,0,234,1,435,465,56,7,3,43,23] lst_three = [] for num in lst: ¬†¬†¬†…
      • write a Scraper object in python.¬† It can scrape anything. It should have a .scrape method and a .data attribute.
      • Task 1 : script to calculate the squares and cubes of the numbers from 0 through 5, then print the resulting values in table format. Use a for loop and the f-string to produce the following table with…
      • We have to implement viterbi algorithm on the data of question number 4 but we have to do only question number 6. All the information is given in the question: information about profile HMM and viterb…
      • Lab 0 – Sets, Tuples, N X course hero – Search x * Log In | Course Hero X X + ware ar X lab 0 – Sets, Tuples, M X python tutor – Search x 3 Settings https://brightspace.carleton.ca/d21/le/content/9008…
      • Below is the code I have been working on. I’m looking for help on how to complete this generator that I have. Right now it prints as a list “[]”. I would love to figure out how to make this work. I’m …
      • The image on the left was drawn with grid lines. Each grid line represents a 5 pixel difference from the previous grid line. The numbers above and beside the image are shown to help you better differe…
      • I dont understand how I am suppose to automate the program by using python code. Am I suppose to use functions in a new file or use the IDLE?. 14. Take the code you created in the Python shell, and wr…
      • an application using PyQt. The user must enter the names of ten Olympic sports that¬† should be followed. These sport names must be added to a list. The application interface¬† must include at least a…
      • 103 – Python Activity 10 coding python core Implement a class called TicTacToe _init_should not take additional arguments and should be used to initialize the internal state of a game. . move should o…
      • Write a boolean function check_temperature(temperature, limit) that takes floats temperature and limit, where temperature is in degrees Celsius and limit is in Fahrenheit, and returns True if limit is…
      • this code gives output: I want to a function that arranges the output of def lin_comb_sum2(phones,list) using its last index value (from largest to smallest) and also the function should then remove t…
      • You will build a game that asks the user to guess a random number between 1-100.Your program will do the following: Ensure user input is valid (users can only guess integers) Provide a hint for each v…
      • Sequential files Group of answer choices Start with a given record number and continues until the file is closed. ¬† Start with the first record and end with and EOF. ¬† Start with the first record an…
      • For this question we will be checking the correctness of a single input by using exceptions and NOT assertions. If a check fails, you will throw an exception. You should make sure you are doing the fo…
      • The header information will look like the following using the format to populate the documentation string (__doc__) of your file: ¬† ¬† Name ¬† ¬† : ¬†M14 HW to Compare the BinaryTree and AVLTree Cl…
      • Please use python 3 and comment important part You are given a puzzle consisting of a row of squares that contain non-negative integers, with a zero in the rightmost square. You have a token that star…
      • . zy Section 5.19 – IT 140: Introduction X zyBooks Labs – To Do X > 5.6.1 function stubs statistics – SE X Course Hero x + X C & https://learn.zybooks.com/zybook/SNHUIT 140v3/chapter/5/sectio…
      • (2.5 points, each for 0.25 point) Assume the variables a = 2, D = 4, C = 6, X=0, y=2, and z=4. Circle I or F for each of the following conditions to indicate whether its value is true or false. Expre…
      • PROBLEM Weak Password ¬†Write a program to obtain¬†user details in CSV format. If the password entered by the user satisfies the following constraints, print the user details, else raise an exception …
      • Based on “latest” data from Similar Tech , how many websites have been built using Django? a) 60,000 – 70,000 b) 70,000 – 80,000 c) 80,000 – 90,000 d) 90,000 – 100,000
      • Make a class called Restaurant . The __init__() method for Restaurant should store two attributes: a restaurant_name and a cuisine_type . Make a method called describe_restaurant() that prints these t…
      • Please assist with the following – alot of the python code is already written -requesting assistance on the rest Implement the core function¬†knn_classify(k, labeled_points, new_point)¬†for KNN classi…
      • Complete the code below in Python to create a function that determines how many seconds are between two timestamps in the format (Hour:Minute:Second) ¬† Snippet of code: ¬† def ElapsedTime(H1, M1, S1,…
      • Programming Logic and Design, 9th Edition Chapter 4 Programming Exercises Review the WORKED EXAMPLES for Unit 4 programming exercise examples file in UNIT 4 module in Canvas. 2. Design pseudocode for …
      • .Resoudre des problemes en utilisant des matrices. Question 1 : (8 POINTS : 3 pts pour chaque fonction et 2 pt pour le programme principale) Creez une fonction en Python appelee ajoute, qui prend une …
      • Describe how¬† tuples ¬†can be useful with loops over¬† lists ¬†and¬† dictionaries , and give Python code examples. Write your own code examples.¬† Do not copy them from the textbook or any other sour…
      • 6.3¬†¬†¬†¬† Write python program that does the following: Prompts the user for three numbers in one request.¬† Be sure to specify the “delimiter” by which a user enters those three numbers. Divides …
      • Coding Guidelines [ ignoring these guidelines will result in marks deductions even if your program is syntactically and logically correct] : 1- Comment your code where necessary to improve the readabi…
      • I am struggling with coding this in python: When analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the data This can be done by normalizing to values…
      • Come up with a python code for creating a class named Person , which use ¬†¬† __init__ () function to assign values for name and age ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†?…
      • Download the dataset here: https://filebin.net/l6eag4x6gygl9rxa/CarPrice.csv?t=z0hdk1qd The CarPrice.csv dataset contains the details of 205 cars. Your team is asked to build a multiple regression mod…
      • Come up with a function called binom that takes two integers n and k and returns the binomial coefficient n k . The definition is n k = n! k!(n‚ąík)!
      • The order of evaluation for scopes, from first to last, is: ¬† local, enclosing, global, builtins ¬† local, global, enclosing, builtins ¬† enclosing, builtins, local, global ¬† builtins, enclosing,…
      • I need help updating my code to add a password reset form: Password update Form – This Python form allows a previously registered user to reset their password after they have successfully logged in. I…
      • . . For each question, you need to upload" your answer accordingly. . Please leave time for submitting your answers; later submissions will not be accepted!. Q4.1 Picking out the two farthest n…
      • I managed to get my code running, but is there a way to write it better? The assignment instructions are as follows: The 1040EZ is an IRS form for individuals to complete their income taxes. It is eas…
      • Problem Writ a python program that generates a random number in the range of 1 through 100, and asks the user to guess what the number is. If the user’s guess is higher than the randomly generated num…
      • Which of the following is not a common type of syntax error? A) forgetting a colon B) forgetting to close a parentheses C) invalid variable names D) improper indentation
      • I need to create writeToTextFile function.¬†It takes two parameters that consist of a file path and a string that you plan to append to the text file described in the file path parameter.¬†The functio…
      • Can you please help with the coding question in Python ? Thank you
      • Design a Dice game using python in which, ask user to enter name then automatically generates user and computers turn and shows the result At last determines the user won or loss based on the result O…
      • I need help summing two arrays together. I see a lot of python functions that can sum two arrays but I was hoping the value for numSpam and numHam were already extracted and could act as a numerical v…
      • Use PYTHON to make a step plot of the Poisson distribution of the variable x when the mean value of x is set equal to 3. Show this calculation over the range of x from 0 to 8. Overlay on the same figu…
      • I need help solving WITHOUT using for loops. It should only be while loops etc… In this problem, you should write one function named (count_characters). This function should accept three parameter v…
      • 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…
      • code a Python program in which the program should do following things: The program should read the txt file and lets say there are 3 or 4 or 5 lines of strings in the file. The program should consider…
      • I need help please 11.4 User-Defined Functions: Leap year CHALLENGE ACTIVITY 11.4.1: Leap year – functions Start A year in the modern Gregorian Calendar consists of 365 days. In reality the earth take…
      • This restaurant only accepts reservations booked online and hence does not accept walk in customers. Each row in this data corresponds to a booked reservation. The columns have the following meaning: …
      • Acquire power data from this source(url: 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 n…
      • Python3 programming. I was wondering how do you continue to ask for user input in python? I had an assignment where I needed to create a dictionary with key values and pair values to those keys. I was…
      • the model’s accuracy during development was high, the model didn’t perform well in real life, there is something wrong with the training process. what is wrong ?. import numpy as np from sklearn. mode…
      • . Step 2: Unit Testing Create a new program, test_compute_stat52.py, that contains the unit tests for the compute_stats function described above. This code should use the unlttest module as describe…
      • Why is finding patterns within strings valuable? Why isn’t it important to understand the syntax of an expression? What is meant by an “Array” and why would it be useful? What is meant when talking ab…
      • Directions Using the following guidelines, create a python program. ¬† 1. Create a Python program named payCalculator.py. This program will accept four inputs from the user (hours worked, hourly pay r…
      • python-please help asap 1 Overview In this project, we’re going to practice with objects some more. For this project, you’ll be building a Checkers class. This class will represent the Checkers bo…
      • import numpy as np import numbers import matplotlib.pyplot as plt import random ¬† class Distribution(object): ”’ A class for containing a probability distribution. The distribution is stored interna…
      • Hi, can anyone explain why I get 20 from this code? x = 3 y=5 def f(x): return x * y def g(y): x=7 return f(x – y) print(g(x))
      • 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: So what should I do? : Co…
      • You can assume that “number” consists of digits not equal to 0 ¬†¬†and that “sum_of_digits” is an integer. ¬†¬†A solution is obtained by possibly deleting some digits in “number” ¬†¬†(keeping the orde…
      • In this task, you are supposed to writ an efficient algorithm to check whether the elements of a given list of even length can be rearranged to form a palindrome (not whether the list is already a pal…
      • positive_words = [“amazing”, “appreciate”, “awesome”, “beautiful”, “best”, “brilliant”, “celebrate”, “cheer”, “cool”, “delicious”, “eager”, “enjoy”, “fortunate”, “fun”, “glad”, “good”, “happy”, “kind”…
      • KINDLY ASSIST 1. Consider a firm (player 1) that produces a unique kind of drug that is used by a consumer (player 2). This drug is regulated by the government so that the price of the drug is p = 6. …
      • Assignment 6a: numpyPurpose Using libraries is a key part of any programming language. Python is rich with libraries that help solve mundane problems or provide frameworks, so that you can solve your …
      • Q: How would I code a python program that can convert letters to its ASCII table. (The conversion table is stored in python dictionary.) Reference Image:
      • Question¬†1 What do we do to a Python statement that is immediately after an¬† if ¬†statement to indicate that the statement is to be executed only when the¬† if ¬†statement is¬† true ?
      • Here is the python exercises’s situation and use the following example to revise the code. ——————————————————————————– Exercise (1) Lab Exercises S…
      • class FileSynchronizer(threading.Thread): ¬† ¬† ¬† ¬†def __init__(self, trackerhost,trackerport,port, host=’0.0.0.0′): ¬† ¬† ¬† ¬† ¬† ¬†threading.Thread.__init__(self) ¬† ¬† ¬† ¬† ¬† ¬†#Port for ser…
      • #Completed the makeList function that takes as input a string value of names and returns each name as an individual¬†item in a list¬† def ¬† makeList (names) : print(makeList( ‘Jessica John Paul Grace…
      • class Player(object): ¬† ¬† ”’represents a hand of playing cards”’ ¬† ¬† def __init__(self, player): ¬† ¬† ¬†¬† ¬†”'(Player, str)->None ¬† ¬† ¬†¬† ¬†constructor that initializes the player name …
      • Write a program that reads a list of words. Then, the program outputs those words and their frequencies ( case insensitive ). Ex: If the input is: hey Hi Mark hi mark the output is: hey 1 Hi 2 Mark 2 …
      • Do not copy from chegg and course hero otherwise, I will give dislike and report your answer to the moderator as copied Want in python. Solve fastly Write a code for a Face Similarity Matching. Link g…
      • A bag of cookies holds 40 cookies.¬† The calorie information on the bag claims that there are 10 servings in the bag and that a serving equals 300 calories.¬† Design a python program that lets the use…
      • I attached the question and the code. can you please check what’s wrong with my code? Functions The signature of each function is provided below, do not make any changes to them otherwise the tester w…
      • Utilize the command line help documentation for both Perl and Python. Look up at least 2 libraries in each language.
      • Link to the dataset: https://www.dropbox.com/s/w446gfn6k70yhsv/Assignment%204%20Dataset.csv?dl=0 The dataset contains reviews and prices for some cell phone brands on Amazon.com.¬† There are 133,345 r…
      • We have learnt that strings are immutable objects. In the following, you are asked to complete a code to “mutate” a string. In particular, you are given a string, a position number and a character. Yo…
      • As a summary of the “rules” governing dictionary keys, we can consider the following three: Must be immutable. Must not be duplicate (i.e., duplicate keys are not allowed.) Must be a hashable type. Is…
      • sample-correlation: 9.078900286311888976e+02 2.977180642260969989e+02 1. 280385153113707929e+03 1.373615524808742521e+02 5.133270145340511590e+02 1.890955570892759852e+02 8.441121702461007317e+02 1.62…
      • AirBnB Visualisation and Price Recommender App Attempts to create the functions are awarded 2 marks each Scenario: Based on the earlier EDA, we have seen that it is not modular and does not allow the …
      • I want some help with python?? 1). I have to write the program which prompts the users to enter his first and last name. The program should be finished by greeting the user with “Hello, and the users …
      • hint(draw tables hand tracing written execution ) ¬† ¬† ¬† ¬†. 3 num list = [1, 2, 3] for letter in ‘geeksforgeeks’ : alpha list = [‘a’, ‘b’, ‘c’] if letter == ‘e’ or letter == ‘s’: continue for numbe…
      • Please explain how the the code below is run in the anaconda command line, I have a csv file that has data in it to run with this py file when I run it I keep getting an error see attached. Thanks imp…
      • May I know the answer for this? Here is a Python program. listl list2 list3 [I […content not shown…] for x in listl: if x not in list2: list3.append(x) list2.extend([x]) The content of the list li…
      • Part 1 Write a Python program that does the following.¬† Create a string that is a long series of words separated by spaces. The string is your own creative choice. It can be names, favorite foods, an…
      • a program that:¬† ¬†1. Uses files – open, read/write, delete to handle data.¬† ¬†2. Uses exception handling – try and except to catch and handle exceptions. Value, data Type, Zero Division, Syntax Err…
      • get_data: Use the data in N_seaice_extent_daily_v3.0.csvto create and return a Series object
      • Here is the designed model for 1: M(t) = 8 sin( 2ŌÄ/12 (t+ 3)) + 28. could you do 2:. Many phenomena in nature show cyclic behaviour. For example, temperatures follow a broadly cyclic pattern during a…
      • please help with python scripting. d Write a program that will ask the user to input two strings, assign the strings to variables m and n If the first or second string is less than 10 characters, the …
      • Do or make a program that input a number form user in decimal number system. This program should return the equivalent value in Binary and Octal number system using user defined functions
      • Implement a superclass Appointment and subclasses/types Onetime, Daily, and Monthly. An appointment has a description (use from the following: general, chiropractic, pediatric, heart, gastro, skin, or…
      • I need help writing a code 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. I keep getting an err…
      • This homework requires you to have a remote MySQL database setup. Please create a separate table for this assignment named¬†shoppinglist. In this table you need at least the following columns: id,¬†it…
      • Could you teach me the following in Python programming language? ¬† 18. Ask the user to enter a phone number in the following format: ‚ÄĘ ###-###-###-#### ‚ÄĘ The first three numbers are the internati…
      • please I need the code for 5- Command line NC)Number of books in category and 10-Command line Q)uit. I’m not sure what they want.¬†. Milestone 2 Lab 2 (P4): The Text-Based Interactive User Interface N…
      • TYPE IN THE MISSING INFORMATION WHERE IS SAYS “#COMPLETE HERE”. import numpy as np import os import scipy.io from scipy.integrate import odeint import matplotlib.pyplot as plt current = os.getcwd() im…
      • Can somebody help me with python error please?¬† First screenshot is code, and second is the error I am getting.¬† Thanks! code error. Sent 35 packets. Traceback (most recent call last) : File "….
      • Python Programming An¬† acrostic ¬†is a piece of writing where the first letter of each word spells out a new phrase. Your task is to do function that reads in the contents of a given file and returns…
      • def mobile(left, right): ¬† ¬†“””Construct a mobile from a left arm and a right arm.””” ¬† ¬†assert is_arm(left), “left must be a arm” ¬† ¬†assert is_arm(right), “right must be a arm” ¬† ¬†return [‘mo…
      • Question followed answer though I am confused with the heap of a binary tree. Please correct if wrong Let H be a heap storing 15 entries using the array-based representation of a complete binary tree….
      • Write a python code for a raspberry pi 3 that would enable the pi camera send screenshot of any motion detected with the motion sensor and send the screenshot to email
      • write the function¬†isOdd(n)¬†that returns¬†True¬†when¬†n¬†is odd and¬†False¬†otherwise.
      • Perform a depth-first search of the graph corresponding to the multiply by 2, divide by 3 (without remainder) game .Start at node 1 and proceed until you have visited node 7. In your search, you must …
      • Option #2: List Computations Assignment Instructions Compute their Cartesian product. AXE of two lists. Each list has no more than 10 numbers. For example. given the two input lists: A = [1,2] B = [3…
      • Ask the user for the time of day (0-23 hours) until they enter a negative. You could use a function, receive_time() , that returns a time in hours. Write main() that adds a valid time to a list, print…
      • Part 1 make a Python program that does the following.¬† make 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, anima…
      • write the necessary code in the notebook to compute and display a logarithmic presentation of the amplitude spectrum. 102 100 10-2 10-4 10-0 Log amplitude spectrum – display your name here. 10-3 10-10…
      • Question: 1.1.1:¬†A basic computer program. Start 2x speed Input (keyboard) Output (screen) x = Get next input y = Get next input z = x + y Put z to output 2 5 7 Computer program 2 5 7 x: y: z: 2 5 Ca…
      • . 8. Create a function, q7, that simulates a dice roll for 10 times, stores how many times the outcome was 3, and returns the empirical probability of number 3 (remember that empirical probability i…
      • Python problem: Consider the implementation of¬†sort¬†, below, which takes a¬†list¬†as input and returns a sorted version thereof. It calls¬†issorted, also below, to determine whether those numbers ar…
      • Function name :¬†contains_duplicate Parameter : A list of string values. Return valu e : True¬†if the list contains the same string twice or more,¬†otherwise False. Examples :¬†contains_duplicate([“hi…
      • A function that save a line chart of daily closing prices with an overlay of the daily volume as a bar chart for a single stock. Date Open High Low Close Adj Close Volume 2/7/2019 172.4 173.94 170.34 …
      • In the real world, SSH attacks originate from many different IP addresses from all over the world. Imagine that the attack attempts that appeared in auth.log came from many different IP addres…
      • 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…
      • Question: ¬† Parallel Lists Summary ¬† In this lab, you use what you have learned about parallel lists to complete a partially completed Python program. The program should either print the name and pr…
      • It is needed to make following class in python: Class name is animal: give it a set of class variables called: gender, status give it a set of class private variables: __heart, __lungs, __brain_size c…
      • In class, we discussed the abstract data structure Stack. A stack is a collection of items where items are added to and removed from the top (LIFO). Use the Node class (an object with a data field a…
      • Compute d > 25 in the range 1 < d < n such that d*e = 1 mod [thetan ) == e*d – 1 == *thetan This statement can be computed as follows: Find a d (an integer! such that e*d -1 == k(thetan) …
      • subject: related python¬† ¬† need help: can someone help me to rewrite from what I have?¬† ¬† A.2 Project Recommendations Summary¬† ¬† A.2.1 Problem Summary¬† Celebrity Deaths Analysis program complet…
      • Show how to establish a binary bypass in Python. 2.Show how to establish a binary choice in Python.
      • Use python code please. 2. (a) Implement the Barycentric Formula for evaluating the interpolating polynomial for arbi- trarily distributed nodes ro, .., I’m; you need to write a function or script tha…
      • I don’t understand these, please provide explanations with “#”comments and not just how the coding solution . 19. Write a function that takes as input a string that stores date and time (24-hour clock…
      • Hi can you help me with this question, the link is to the file for the txt file. The link to the file in the comments
      • can any one help me figure this out this is what i have so far but its not correct and i dont know how to fix it # FIXME (1): Prompt for four weights. Add all weights to a list. Output list. weight_on…
      • Purpose This assignment is the first of a mini project where you are going to demonstrate your understanding of the modules of this class. The mini project is about building a small ETL program in pyt…
        • Write a program to validate CSU subject codes. Suppose a variable subject contains the subject code (e.g., subject = ‘ITE524’). Your program should analyse that variable and print just a True or Fa…
      • Need to solve this with the given information thanks. Trendin X Ghungrx *Course X Hm 2 Arithm X C The Nu X C For The X Python X COP 15 X – Prof. O X contests/1500s22/challenges/arithmetic-modulus | Ho…
      • QUESTION 1 Version control does not allow programmers at remote locations to work on the same files at the same time.¬†(True/False) ¬†True False QUESTION 2 With version control,¬†if one programmer ove…
      • I have attached the zip file. I. Google Finance The google finance¬†webpage¬†( https://www.google.com/finance ) reports a¬† sector change summary in an HTML table at the bottom of the page. The table …
      • Which option below is wrong about lambda expression? Select one: O’ A. After f = lambda x, y: return xty is executed, we can call f(1, 2). O B. lambda x, y: xty is callable, e.g., with (lambda x, y: x…
      • Assignment Essentially, you must design a Python program that prompts a user for a year, a day of the year (an integer between 1 and either 365 or 366 to account for leap year), and output the month, …
      • 4.2: Printing output using a counter. ¬† Retype and run, note incorrect behavior. Then fix errors in the code, which should print num_stars asterisks.while num_printed != num_stars: ¬† ¬†print(‘*’)S…
      • import sys¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†# helpful for de-bugging from subprocess import call¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†# may not use import tim…
      • Make the code for each part separately and then submit, please.. Task D: Python list and loops [20] 1. Print a heading "Section D". 2. For a list fruits = [‘apple’, "banana’, ‘pear’, ‘c…
      • Could you please provide python program to convert data set into at least three graphs and come with basic Dashboard. You have to use any data set for the analysis. The example data set can be from an…
      • Chapter 7 help.¬† Need help figuring this out!¬† Thank you!
      • Problem 7 Let’s say we have several observed values for the percent change for each of the stocks in the collection below. a. Write a program that replaces the lists of values for each stock with the …
      • How can I do the formating of SQLite outcome in python the way it is required in the 3 questions?. d. [4 points] Find the most prolific actors. List 5 cast members with the highest number of movie …
      • Can you help me with this script? ¬† ¬†. import os import argparse parser = argparse . ArgumentParser ( ) parser . add_argument ( "name", help="This is your Archive Filename.") par…
      • Goal: For this assignment on Python 3.9 using IDLE, write a program that opens and reads one or more files containing English text, scans each one to accumulate a list of individual words appearing in…
      • please use python code. Problem 2: Write a function customer_loyalty (visit_tracker) where visit_tracker is a dictionary mapping the name of each person to a list of the bubble tea places they have vi…
      • In python, you will develop a function to sort the dataset and store it in a format of lists, sets, tuples, and dictionaries. The function will sort the dictionary books using specific criteria and wi…
      • Final Deliverable You will now combine all the functionalities you have developed into one single application. Explain the steps you took to combine all of the functions into one single application, a…
      • Given a list of players(strings) that shows who is the stronger player, how can I find out the strongest two players? For example, I have a list of tuples,each tuple contains two strings, which are th…
      • python program to create list of randomly generated numbers in the range 0- 99. Then delete all the numbers from the list that are divisible by 3 and convert all the left numbers into a single digit. …
      • how can i fill up this, new to programming Complete the following range_sum function which takes two numbers x and y, and returns the sum of all the numbers from x to y inclusively. def range_sum(x, y…
      • You have been given a String S consisting of uppercase and lowercase English alphabets.¬† Change all the uppercase letters to lowercase and all the lowercase letters should be converted to uppercase. …
      • Could I get some help on this. Lab 5: Markov Chain Lab If you continue to calculate pl, pz, ps, p , ps …, you will find the matrix stops changing (changes negligibly). This is called the long-run di…
      • Consider the following directory structure. A statement that imports the barn module directly using the ‘from’ technique of importing would be ___________. ASCIIArt\ Top-level package __init__.py canv…
      • 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 …
      • i’m stuck. this is what i have so far. the assignment is listed below. class Team : def __init__ (self) : # TODO: Complete Constructor # TODO: Define get_win_percentage() if __name__ == “__main__” : t…
      • In Python, the ‘+’ operator can be used with numbers and with strings. What is a property that number addition has, but string concatenation¬† does not ? Select one: a.¬†numeric addition is allowed on…
      • I need to write a program in python that either encrypts or decrypts a text using a caesar cipher. I can include more details.
      • Write a program that inputs a Student ID 5 times and determines how many Student ID’s are valid. For the purpose of this question a valid Student ID is defined as follows:
      • google docs link ¬† ¬†https://drive.google.com/file/d/1OUYoUAFjlH6UjVcTpO6RTf5y665SqB0I/view?usp=sharing ¬† Do you have a solution for this? ¬† ¬† Part 1 – Main Version Outcomes 1. The program should …
      • I need help with writing a regular expression. It is number 2a on the attached document. What I have so far is ^(?:\s*)([1-9]\d*)(?:\s*)(?:(-|:)((?:\s*)[1-9](?:\d*)(?:\s*)))$ but it is not correct. Qu…
      • when I run this on DB browser it returns the correct value but on python it returns 0.00 is there an obvious reason that I am missing. SELECT printf(’80. 02f’ , ((SELECT COUNT (id) FROM movies WHERE s…
      • 4.2¬† Compressed Sparse Row Format ¬† This format tries to compress the sparse matrix further compared to COO format. Suppose you have the following coordinate representation of a sparse matrix wher…
      • hi help here. no 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 compr…
      • Hi this is an assignment using Python for a Pseudocode Higher Lower Game. I’m having trouble completing the last portion of the assignment that I squatted off in red. My Professor gave me prompting in…
      • Question 3. Define the function coin_simulation_and_statistic , which, given a sample size and an array of model proportions (like the one you created in Q1), returns the number of heads in one simula…
      • This project is about developing a tictactoe game using graphics.py in python, for playing a human player against computer AI. Attached is a browser version of a tictactoe. It gives you an idea on how…
      • I need help with an assignment. this is the type of inputs 8 20200502 20200504 IWK 20200401 1 btage I: IaDUIBtlng Lonnrmed cases We would like to graph the number of new cases of COVlD-19 that are con…
        • The local diner is thinking of offering a special value meal for breakfast each day that consists of a coffee, eggs, and a meat. First, though, they would like to count how many people order this t…
      • We’ll start by creating some tables to store our data — we’ll first have one containing some product information. Products have: a name (TEXT) a description (TEXT) a unit cost stored in cents (INTEGE…
      • i’m trying to fix my code, but i still got this error when i run it, i got this. SyntaxError: Unexpected reserved word i’m using typescript for the code: ¬† // create enumeration type enum NewsCategor…
      • . Variable costs In [31]: unit_variable_cost_percent = 0.35 In [32]: # Create a List named unit_variable_costs using List comprehension or a for Loop # unit_variable_costs = unit_variable_cost_perce…
      • Hi all ¬† I am trying to sort a given linked list using bubble sort but there’s no output. Can anyone tell me what’s wrong with my code? ¬† class Node: ¬† ¬†def _init_(self, data): ¬† ¬† ¬† ¬†self.dat…
      • . The hel. Yet never The mariners Where they were They raised their lis 8 th period We were a ghastly crew Name/Class #: Date : 31 / 3 / 2021 Hour : 12: 37 The body of my brother’s so Stood by me, k…
      • 3.5: Read user input and print to output. CHALLENGE ACTIVITY 1.3.5: Read user input and print to output. Read three integers from user input without a prompt. Then, print the product of those intege…
      • Write a program that simulates a simple word-guessing game, similar to Hangman (without the pictures) or television’s Wheel of Fortune (without the money and prizes). The idea is that the program will…
      • . Digital Signature Algorithm (DSA) Key-Recovery from Nonce Let’s 7’86th DSA signature. – There are public parameters (p, g, y), where p and q are large primes; p ‚ÄĒ 1 is a multiple of q and g is…
      • For the given database: https://drive.google.com/file/d/1Cy2MUONZ0b7eV6ctTzRqAKqviCr6ltcg/view?usp=sharing ¬† The database contains following tables: cn, cm, ccl, oth, pas2, indiv, pres, contbyzip.¬† …
      • For the following function, identify the loop invariant, the loop exit condition, and the loop post-condition which shows the algorithm’s correctness. def is_palindrome(string): “”” Input: A string Ou…
      • Lab Testing WikipediaObjectives By the end of this exercise, the student will have demonstrated the ability to ***((wriTE–) ((a— pytest function that Creates a web driver for Chrome Loads the Wikip…
      • Procure a dataset. The dataset must have at least 500 records. 5000 records would be preferred. Minority class needs to be at least 10% of the data. ¬† 1)Clearly define a business problem that you wou…
      • . Exercise 2 (G) Write a program print_all_subdirectories . py containing a recursive function print_subdirectories (dir_path ) that prints the name of all subdirectories for a given directory and mov…
      • Please read: Modify the program of¬† Project 6 ¬†so that it checks the¬† infix ¬†string for syntax errors as it converts to¬† postfix . The error-detection and recovery strategy should be similar to t…
      • In python, you will develop a function to sort the dataset and store it in a format of lists, sets, tuples, and dictionaries. The function will sort the dictionary books using specific criteria and wi…
      • Recall that the Python function¬†randint(n, m)¬†returns a random integer between n and m, inclusive. Using the¬†randint¬†function, use one Python expression to compute: 5.1) (2 points) A random intege…
      • Use the Data Dictionary to find the names of all the columns of the 1_employees¬† table.
      • no importing doctests below ¬† In this question, you need to fix the implementation of three functions so that they no longer crash. The provided implementation will not work for certain values due to…
      • Your parents will let you go to the beach with your friends if you have written 1500 or more words for your term project. Write program that asks the user how many words they have written and then pri…
      • How do I complete the following function that returns true if a list first contains duplicate elements; it returns false if all the elements in first are unique. For example, the list [2, 3, 2, 1, 9] …
      • Compare Python and JavaScript on the following points: (i). Encouraging Secure Programming (ii). Encouraging Robust Programming (iii). Encouraging Modular Programming
      • Just looking for something general here (numbers don’t need to be verified), but the relevant variables for this problem set are as follows: -EDUC1: 1 if “less than high school”, 2 if “high school”, 3…
      • i need help for adding buzzer into my arduino codes (https://paste.ofcode.org/UgcVamBTZ3pyHAM38AMMG4) AND help me convert arduino codes to python codes
      • # Problem statement 3. a # Finds all vnodes mapped to this node and shuffles them # Implement this logic and store in local_vnode_list # Prepares to select proportional vnodes and their corresponding …
      • Expressions, Control Structures, and Containers You may consult with other students while doing this assignment, but the work you turn in should be¬† Overview There are two objectives for this assignm…
      • PLEASE HELP ME COMPLETE THESE PYTHON PROGRAMMING ACTIVITIES (USE THE CONCEPT Probability ) Activity 1: Probability There are 63 patients admitted in a hospital and of those 63 patients, 5 patients are…
      • Write a function that takes 3 integers (x,y,z) and returns a value according to the following rules: – if any of the numbers is equal to the multiplication of the other two, then returns that number. …
      • HELLO, I am using this code to generate tiff images from netCDF files, the files have the structure of their name as follows (AQUA_MODIS.20020801_20020831.L3m.MO.NSST.sst.4km.nc) they all have the sam…
      • Please help write the code based on the instructions and marking checklist below using Python on replit.com. Remember to make sure the code has descriptive comments throughout whenever needed. Make su…
      • How do I create in Python? The program will be able to: Lookup passwords for websites Add new passwords for websites (encrypting them with the caesar cypher) Store these passwords to a file on the com…
      • I am having a hard time understanding if I am following the directions which are in red (picture attached). When I create the statement for the for mean I am using the assigned_team_df since that is w…
      • R program Pls provide screenshot for answer The average waiting time for a patient at an El Paso physician’s office is just over 29 minutes, well above the national average of 21 minutes. In fact, El …
      • Do not add any import statements ¬†. # For simplicity, we’ll use "Station" in our type contracts to indicate that # we mean a list containing station data. # You can read "Station"…
      • Q1:¬†Assign¬†your¬†name¬†to¬†the¬†variable¬†`patientName`.** ¬† Code¬†cell¬†<YX1U21Ua2Y2V> #%%¬†[code] patientName¬†=¬†??? ¬† Text¬†cell¬†<ieG5_mkR2aGG> #%%¬†[markdown] **Q2:¬†Assign¬†an¬†…
      • Function 7: get_books_by_publisher Use the function design recipe to develop a function named a get_books by publisher. The function takes a string as input parameter, which is the publisher’s name, a…
      • What are the differences between Python and C++? Other than the fact that C++ is object oriented programming and Python is not.
      • https://drive.google.com/drive/folders/1UwgDbN-rq9-g6jKlXD_xjv2gUTu9wgZt?usp=sharing link for the csv # Avegrage_age = merged1[merged1[‘genre’]==’Romance’].groupby(‘title’, sort=False)[‘age’].mean().r…
      • 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) Each of the Car and Bus cl…
      • Write a function optimise2_lds (plan, start, capacity ) that takes a plan as a list of moves, an initial start location of our truck, and the (integer) capacity of our truck, and returns an integer co…
      • I need assistance on the below Python question: Many documents use a specific format for a person’s name. A program whose input is: firstName middleName lastName and whose output is: lastName, firstIn…
      • dont copy We will be implementing various functions related to the MOBA (Multiplayer Online Battle Arena) game Dota 2. Dota 2 is a hero-based game where players can choose from over 100 diverse heroes…
      • The code should print the whole value of the ket and also include it as a comment. ¬† Reference: https://cryptography.io/en/latest/hazmat/primitives/mac/cmac/. Find the last two bytes of the partial A…
      • Create an application that grades the written portion of the driver’s license exam. The exam has 20 multiple-choice questions. Here are the correct answers: B¬†2. D¬†¬†3. A¬†¬†¬†¬†4. A¬†¬†¬†¬†5. B?…
      • Make a while loop, if statements, and anything else you need, give example of a program that adds and removes elements from the list, and also has an option to print the list as it currently is and to…
      • loop to print all elements in hourly_temperature. Separate elements with a -> surrounded by spaces. Sample output for the given program: 90 -> 92 -> 94 -> 95 Note: 95 is followed by a spac…
      • . (6.2) Implement a feedforward neural network by using the Keras API in TensorFlow for a regression problem. Assume that the data set has four numerical features and one numerical target variable. …
      • please write ¬†Python program somewhat similar to http://www.py4e.com/code3/geoxml.py. The program will prompt for a URL, read the XML data from that URL using urllib and then parse and extract the co…
      • Write a program to output all¬†numbers (from 0 to 100) that are divisible by 5.¬† Write a program to ask the user to input a negative number and output the absolute value of it using¬†a function i.e. …
      • I need help writing these functions in python. I have included the text that ‘s in the file: pikachu,Abc123 charmander,Xyz123 squirtle,SquirtleSquad99 Pidgey2020,Pqr123 fearow,Pidgey2020 # function: v…
      • The table below gives the observations. By using the hierarchical clustering method answer the followings. (SOLVE WITH HAND CALCULATIONS) a. Draw the dendogram b. If the dendogram is cut from 3.7, how…
      • A python code for backpropagation is uploaded on Canvas. Please go over the code and write one page report about all the functions and classes that you see in code.
      • Exercise 2: Using the “While Loop” a program that uses a while loop to accomplish the same calculations as in Exercise 1. The program should capture your input values and assign the values to a variab…
      • Please help me with giving me the code, format etc. If there’s some extra info you need, just use something filler. I really need to see the outline. Objective 2: Determine the frequency of a value in…
      • ljiokjiokjkjkljkljljiojojoijiiojoi A 2D list checker is declared as checker = [[ ( 255, 0, 0), (255, 255, 255), (255, 0,0), (255, 255, 255), (255, 0,0) ], [ ( 255, 255, 255), (255, 0, 0), (255, 255, 2…
      • I need to make a Pig Dice game in Python¬† the program reads a list of rules from a file and displays them.¬†from a text file named rules.txt. the text file content has these rules in it. Rules: * See…
      • no chegg Use the dataset Customer_churn.csv: https://drive.google.com/file/d/1VVYGMHv8jrzSQonbBd9C90ljPtyasnbX/view?usp=sharing Please use your creativity. ¬†Do anything you want.¬† Please follow the …
      • Write a python function to print the message “Hello Autumn!” for 200 times.
      • hae We will be implementing various functions related to the MOBA (Multiplayer Online Battle Arena) game Dota 2. Dota 2 is a hero-based game where players can choose from over 100 diverse heroes to pl…
      • [Traveling Salesman Problem]: It is the last weekend of the 2004 election campaign, and candidate Tony is in New York. Before election day, Tony must visit Miami, Chicago and Dallas and return to his …
      • I need help with the following lab exercises. I need to download the following zipped file. There should be six files in the below URL. (I have to analyze all six files as if they are one single file….
      • 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…
      • python 3, I need answer for “snake(10, 20)()” part! >>> def cake (): … print(‘beets’) … def pie (): … print(‘sweets’) … return ‘cake’ … return pie >>> chocolate = cake() __…
      • Design a grade average program that will produce the numerical grade average of test scores input by a user. Your program design should contain the following: You must use an Array as your data struct…
      • Here’s the question: “Using a for loop, write the following program: all the two-digit numbers which are equal to double the product of the digits that make up the given number are displayed in a colu…
      • If I was trying to make this linline function: customStopWords=set(stopwords.words(‘english’)+list(punctuation)) uniqueVocabulary=set([word.lower() for word in word_tokenize(textStrings) if word not i…
      • Python code needed – Cluster Analysis: Dataset – https://www.kaggle.com/liyanonline/wileydataminingforbusinessanalyticsinr?select=Cereals.csv (Hints/some code provided below, only need python code to …
      • PROBLEM 10 Do the following: Create a Library instance called baileyLibrary . Iterate over paperbook_titles defined below: Create a PaperBook instance using the title and author in paperbook_titles . …
      • Write a function called vote percentage that takes as input a string, results. Thus the function has one input parameter, called results. Your function should count the number of substrings ‘yes’ i…
      • PART OF QUESTION: Please form a class named circle with operations known as get_diameter, calc_area, calc_perimeter and _str_ Do the main so that you create two objects c1 and c2, making sure that the…
      • 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…
      • Need help using PyPDF2 extract and parse from the following two PDF’s (Outlook2019.pdf and Outlook2018.pdf) the “Key Takeaway” bullet points. Here is where you can find the two pdfs Outlook2018.pdf (h…
      • We are going to find the trace of the sum of two scaled matrices. Find the trace of 2*A + 3*B and store the value into a variable trace2A3B . (Use A and B from the previous problem). ¬† For grading pu…
      • Exercise 1 (2 points). Let¬†AA¬†be an¬†m√ónm√ón¬†matrix stored in column-major format. Let¬†BB¬†be an¬†m√ónm√ón¬†matrix stored in row-major format. Based on the preceding discussion, recall that these…
      • py Prob2.py Prob3.py Prob4.py. Solutions to the problems below must be sent to Submitty for automatic scoring. A separate Ô¨Āle must submitted for each problem. Start with the Ô¨Āles available o…
      • Develop a program that determines whether an integer is divisible by 2 and by 3, divisible by 2 or by 3 (not at least one of the two), or is not divisible nor by 2 nor by 3. The estDivisible algorithm…
      • Read the Marketing_subscription_prediction_latest_edited data.csv file and load it into a dataframe and do the following task ¬† 1. Display the dimension of dataset ¬† ¬† csv file— ¬†https://easyupl…
      • In Python, you have the opportunity either to use a predefined function/method or to conduct a user-defined function/method. In this discussion, provide at least three criteria that would be used to d…
      • Which tab are the Report Parameters located? ¬†Report Data¬†Toolbox¬†Server Explorer¬†Solution Explorer¬†Properties Q2. Can a Data Source be attached to a Parameter? ¬†YES¬†NO Q3. Can a Dataset be…
      • In Python programming,. Question 12 What is the wite code to draw this shape: for i in range(3): for j in range(3): print("*) print() for i in range(3): for j in range(3): print("*", en…
      • Python code for the following using the DPPS.csv file. Task 1: For the given data file (DPPS.csv): 1) Open file and read into Panda’s data frame. 2) Identify attributes for which all quantitative scal…
      • name of doc with function Txxx_P3_sorting_fun.py function names: sort_books_title sort_books_author sort_books_publisher sort_books_ascending_rate MUST WORK IN WING.. The exact required user interface…
      • I am looking for help to write code to see if a value exists (true or false) in a column of data in a text file. For example, lets say I want to see if the letter ‘x’ is in the second column of a text…
      • Your boss emails you and has asked you to prepare some maps for an important upcoming meeting. Your boss’ colleague has provided some raster data for two different time periods. Your boss would like y…
      • Please help me solve the prompt in the attachments and the other functions in the attachments can only be used to complete the tic/tac/toe code. Here is my code: import turtle import time import rando…
      • A vending machine is an automated machine that is intended to provide users with a diverse range of products: snacks, beverages, cupcakes, newspapers, tickets, etc. A vending machine dispenses a produ…
      • For instance, if the keyword was "cat" and it occurred 120 times, and its synonym was "kitty" and it occurred 84 times, the output should be: [ ("cat", 120), ("kitty…
      • I need some help on code. I have uploaded my code and csv file on mediafire. https://www.mediafire.com/file/l4m1oef2nkacgvn/Q2_SQL.py/file https://www.mediafire.com/file/xihgomn8d2w5y5x/movie_cast.csv…
      • 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 > 0:¬† ¬† ¬† guess = input (“Enter…
      • Amortization is a method of repaying a loan through regular payments of interest and principal. The size of the loan (the original balance) is reduced by the principal part of the payment. The interes…
      • Given two lists, both containing a series of words.¬† ¬† high_tokens = [‘i’, ‘recently’, ‘read’, ‘fully’, ‘convolutional’, ‘networks’, ‘for’, ‘semantic’, ‘segmentation’, ‘by’, ‘jonathan’, ‘long’, ‘eva…
      • Write a program using list to read a sequence of values and prints them, and highlighting the largest number.¬†These are the required functions¬†a. def readValues() – to read in a series of floats b…
      • When a pair of components are modelled using separate classes in an objectoriented language, describe two techniques for modelling the data transferred between them and emphasise how each technique in…
      • why am i seeing this¬†. Intro In this lab, we will be working with time series data, and apply our programming skills with loops to create a series of filters, that remove unwanted or erroneous fea…
      • The area where the most striking evidence for the influence of language on thought has come to light is the language of space ‚ÄĒ how we describe the orientation of the world around us. Suppose you wa…
      • I want a deep understanding of what monotheist is and its relationship to Islam.
      • solve it in Python, do the IPO, flowchart or pseudocode. Assign true to the boolean variable leapYear if the integer variable year is a leap year. (A leap year is a multiple of 4, and if it is a multi…
      • Make a Person Class that: Accepts First Name, Last Name, Age, and Gender Has a method that adds all persons Make a Student Class that: Inherits the Person Class Accepts GPA Has methods that: Total Num…
      • Task 1) make a grid that is 10 colums wide and 15 colums tall in python using tkinter
      • Need help with this program I don’t understand it . with this output 11. Write another function that will print (in tabular form) all the costs the band has incurred and all the revenues the band has …
      • Can you explain how I can find the is of the event that gets changed in a snippet of HTML and JavaScript
      • This needs to be written in Python language Write an¬†if/else¬†statement that compares¬†age¬†with 65, adds 1 to¬†senior_citizens¬†if¬†age¬†is greater than or equal to¬†65, and adds 1 to¬†non_seniors¬†…
      • zyDE 2.3.1: Adding methods to a class. Add a method calculate_pay() to the Employee class, The method should return the amount to pay the employee by multiplying the employee’s wage and number of hour…
      • Python using pandas dataframes. Data Preparation Download the historical daily data of the entire 2018 for the 10 stocks universe = [‘IBM’ , ‘MSFT’ , ‘GOOG’ , ‘ AAPL’, ‘ AMZN’ , ‘FB’ , ‘NFLX’ , ‘TSLA’…
      • python question! I only offer $15 , because it is bonus question! The python code is what i get so far.¬† import wave import struct def loadstereowav(filename): w = wave.open(filename, ‘r’) nchannels,…
      • 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…
      • Define 5 centers with the random capacity. (Refer attached capacity.Json) Take input for number of patients Read capacity.json file and based on it allocate each center to the user based on center’s c…
      • How to implement the following questions to the code provided?¬† Code: https://www.filemail.com/d/lufqmwudzckttgu Required: Newest IntelliJ IDEA Community Edition with default settings ¬† Question Num…
      • . def min_index{15t: list) -> int: """Return the index of the smallest element of let. In the case of ties, return the smaller index fi.e., the index that appears first). Precondit…
      • I’m trying to pass the 3rd check to get a 100% but I don’t know what else to do to get it to pass. What i currently have written is in the pictures Thank you! Correct answer: Task i cant pass: “Progra…
      • 3-4 Discussion: ReflectionDiscussion Topic Starts Nov 6, 2021 11:59 PM Now that you have completed the first three modules, take some time to reflect on what you have learned and discuss your learning…
      • I’m working with the top script which gets one TXT file from an online source (URL is to a GitHub Repository) and converts it into a CSV file. However, I want it to get multiple TXT files from the sam…
      • Create an instance of a graph that represents the¬†Bridges of K√∂nigsberg¬†problem. Use the starter code konigsberg_graph.py attached. Refer to the attached image konigsberg.jpg (taken from¬†https : /…
      • PLEASE MAKE SURE each FUNCTION CREATED SEPERATE AND HAS A MAIN FUNCTION AS WELL. Create a Python program with two user-defined functions/modules that works in the following way: a. The main part of th…
      • There are 6 students in CSC888.¬† They just took a test recently.¬† Write a program to analyze their test scores.¬† Please do the following in the program: (a) Create a list to store their scores.¬† U…
      • Write a Python script that calculates the top prize amount in a lottery.¬† Ask the user to enter the largest possible jackpot amount as an integer (100 to 6 million). Check the input to make sure it i…
      • import random # need to import random to have use random in number # fill your information here stud_id = “”¬† stud_name = “” class base_class: ¬†¬†”’ ¬†¬†base class, will use a template for children…
      • Each year, nearly everyone with an income faces the unpleasant task of computing his or her income tax return. We start with the customer request phase. Request¬† The customer requests a program that …
      • “In this lab, you complete a partially written Python program that includes two functions that require a single parameter. The program continuously prompts the user for an integer until the user enter…
      • How do I create this code? On the right is the “question” and to the left is where the code is to be processed.
      • Write the test plan for the grey box testing and ad hoc testing?
      • Every state in the U.S. has two senators no matter its population. Write a program to calculate how much more represented in the Senate a resident of Alaska is than a resident of Texas . Make sure to …
      • PLEASE DON’T CREATE A CALCULATOR. ITS A SIMPLE MATH GAME. ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†THIS IS THE WAY THE OUTPUT SHOULD LOOK LIKE: ¬† ¬† 1. Implement a tkinter-based GUI progr…
      • Given you a fasta file of multiple protein sequences, please read it, do locally Blastp and analyze the output file to extract the information needed. ¬† link for the fasta file: http://localhost:8888…
      • when useing this code i get invalid synthraxs on Chevy_wins = Chevy_wins + 1
      • please help me with this question that should solve by python. 6. Sample size and statistical power. The following code generates two random samples of n observations each, drawn from a normal distrib…
      • Given the¬†following code, for v in range(3,¬†9,¬†2): ¬† ¬† ¬† print(v) It will print the following¬†output, 3 5 7 ¬† ¬†True or False
        • Function 1: The function ūĚĎď(ūĚĎ•) = sinūĚĎ• ūĚĎ• is not defined at the value 0, since sin(0) is 0, and thus it would be evaluating 0/0. o Show calculations for the values of f(x) for values of x…
      • how can I complete this program using only fundamental skills?(question from an elementary course) thanks! 2. in’ou are required to write a program for the user to input the character line by line u…
      • Model the given problem as a linear program and solve it using python with pulp P.S I know it’s a big question so I will post it 3 times for you to answer it so it counts as 3 questions for you IE 331…
      • Hi there, I would like help understanding how a Python program that prompts the user to input three numbers. Then the program should then output the numbers in ascending order, without using nested co…
      • IMPORT LIBRARIES: from IPython.display import Image, display #display image REGEX & DATA STRUCTURE & ALGORITHM & HELPER FUNCTION: We will apply these following techniques in this assignmen…
      • Assignment Write each of the following functions. The function header must be implemented exactly as specified. Write a main function that tests each of your functions. Specifics In the main function …
      • What will the following program print,¬†assuming that the user enters a value of ‘lots’ when prompted? ¬† try: ¬† ¬† value = input(‘Enter your score out of 50: ‘) ¬† ¬†¬†percentage = int(value) / 50 *…
      • I am looking for help formatting the last part of this Python assignment. I want to print the key and value that appear most frequently in a given constant string. I cannot hard-code this, as it must …
      • How many time(s) will the print(x, and=’ " statement be executed? for x in range (10,0, -1): if (x ]) =0: print (x, end=" ‘) Select one: 0 2 0 3 0 1 0 4
      • Create a Python program that will simulate a vending machine. The program should allow the¬† user to select an item and the quantity to purchase. The machine updates after each purchase. ¬† ¬† Use the…
      • Take a list of english words and a list of italian words — perform a character unigram on the lists. Train the model using characters, not words, as the ‘gram,’ for training. For each word in the ori…
      • Assignment tasks: For this assignment you will conduct time series analysis of the financial data. Setup your environment to access and download latest stock data. Please see instructions below for di…
      • A “sleep debt” represents the difference between a person’s desirable and actual amount of sleep. Write a program that prompts the user to enter how many hours they slept each day over a period of 5 d…
      • How can I apply loop to solve this question?Thanks Exercise 4.3 Check perfect number Write a program to read a positive integer N(N 2 2), test if N is a perfect number and output the answer with eithe…
      • Consider the real estate appreciation problem of week 3, write a Python program called¬† restate.py ¬†to compute and print the minimum number of years that would be needed for the value of a house to …
      • i am having difficulty writing a python function using a regex module to find the number at the beginning of a street address. The problem statement is summarized below. Using the¬†re¬†module, find th…
      • Please solve both coding question and mcqs Find shortest unique prefix to represent each word in the list. Example: Input: [zebra, dog, duck, dove] Output: {z, dog, du, dov} where we can see that zebr…
      • Build a function called “describe” that takes as input a list of numbers, and prints the number of elements in the list, and the mean, variance, and standard deviation. The printed quantities should b…
      • Flowchart and python using a loop. Problem 3 Write a program that asks the user to enter a seed composed of exactly six letters (no digit). The seed is then passed to a function generatePassword that …
      • Write a function good_password(personal_info_list, password), where password is a string that represents a potential password, and personal_info_list is a list of strings consisting of personal info…
      • Suppose you get hours and rate per hour from a system(below), compute the gross pay by creating a function called computepay which takes two parameters ( hours and rate). Upload the screenshot of your…
      • This is for the file, hw5.py. This question was answered by a tutor before, but that answer was incorrect. I think its because the code that my tutor gave me assumed that the columns were already mark…
      • Question: 1. If it’s not too much trouble, give the order that will achieve the accompanying undertaking: You need to see all framework units that are both stacked and dynamic. What order would it be …
      • guide on coding a stride scheduler based on text file
      • py: In this assignment, you will get practice with dictionaries by¬† implementing a simple encryption algorithm for a string. One of the most basic encryption algorithms possible is t…
      • Design and implement ‘Store automatic system’ similar to the Apple store, allowing the staff to communicate and provide an excellent customer experience. You should build a Client/ Server-side softwar…
      • Given the following sequence [2, 7, 16, 19, 24, 35, 43, 91, 72, 80].¬† A What search method would be applied when searching for a value.¬† B What is the reason for choosing this method? C What is the …
      • How many of the following binary operators are evaluated in the following expression: ** a = c = e=f = True b = d = False if a and b and c and d and e and f: print ( "True ! ") O 1.3 O 2. 1 …
      • This week’s assignment involves writing a Python program to collect all the data of a road trip and calculate each person’s share of the cost. Prompt the user for each of the following: The number of …
      • This is the first part of the problem. In more complex programs, it is good practice to get one part of a program working before moving on to the next part. A guide for doing that is below: (1) First,…
      • Database Design and Analysis The following database project will create educational attainment “demand” forecast for the state of California for years greater than 2010. The demand forecast is the exp…
      • . Filename: jeopardy . py Input file: schneider . txt Amy Schneider (she/her) had an amazing 40-game winning streak on the game show Jeopardy! recently (Laney is a big fan :). The data file has Amy’…
      • get_column labels: Generate and return a list of strings that will be used as column labels in a DataFrame that will look like:
      • Use Decision Tree Attribute Selection Method to determine the splitting criterion. ¬† Dataset Information: ¬† Coronary artery disease, also called heart disease, causes roughly 735,000 heart attacks e…
      • what is wrong with my code, from machine learning linear algebra. Look at the portion that says graded function, that is where my code is. The other attached page is for context Home X PageRank X Page…
      • This program is about dictionaries.¬†We want to use a dictionary to store frequency count of each letter in a string.¬†Write Python program to do the following: (a) Ask the user to enter a string.¬†Co…
      • 2 The Problem There are three related investigations in this assignment: Power Usage, Power Modelling and Power Simulation. You can use Python programs, Bash scripts and/or Jupyter Notebooks for the a…
      • Task A: Python 1/0 [10] 1. Print a heading "Section A". 2. Use ‘input’ function to ask user to input their name, and print a welcome message, "Welcome, <user’s name>". [10]
      • Hello please see below are homework questions I am working on for this week. The first one I have already wrote code for and it just needs to be fixed. Please show me how I would do these? Thank you f…
      • Successful and failed applications of artificial intelligence or machine learning (AI/ML). Describe one failed application of AI/ML. Please answer the following questions as completely as possible. Yo…
      • 13 LAB: Filter and sort a list ¬† Write a program that gets a list of integers from input, and outputs non-negative integers in ascending order (lowest to highest). Ex: If the input is: 10 -7 4 39 -…
      • Preliminary Task 1 : choose a stock ticker that starts with the same letter as your last name (we want to have different stock symbols for each student). For example, if your last name is Jones, you c…
      • y! suss student portal – Yahoo Search X ss https://portal.suss.edu.sg/Studen X SUSS TMA01: ICT133_JAN22_L01: STRU X + V X > C ^ canvas.suss.edu.sg/courses/45720/pages/tma01?module_item_id=485885 . …
      • This program is about dictionaries.¬†I want to use a dictionary to store frequency count of each letter in a string.¬†Help me write a Python program to do the following: (a) Ask the user to enter a st…
      • Define a class named¬†Check_Annotation¬†that decorates a function, such that when the decorated function is called, the decorator class check’s the decorated function’s annotation, using the annotatio…
      • Question 1 (1 point) After the following statement executes, what is stored in my set? (1 mark) my set = set ( ‘hello’)
      • Hi, I have trouble figure how to write this code, can you please help?. The objective of this homework set is to get you started writing Python code. First, check out the factorial program in Newman, …
      • Why do I keep getting this error, is there anything wrong with this code?. IDLE Shell 3.10.3 # This program will compute the average quiz grade for 4 students print ("Hello, this program is desig…
      • Conditionals and if-statements 1.Which expression represents X is not equal to Y? X == Y X != Y X > Y X < Y X >= Y X <= Y 2. How can the game best determine if the player has collected eno…
      • Create two variables x and y enter x = 3 and y = 3 ¬† 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]] ¬† now in this same code I can …
      • Write a function in Python that takes a list of numbers and returns the cumulative sum; that is, a new list where the nth element is the sum of the Ô¨Ārst n + 1 elements from the original list. [8…
      • Question 3. ¬† (3 points) Did you engineer any attributes (created new attributes)? If yes, explain the rationale and how the new attributes were used in the analysis? If you have excluded any attribu…
      • https://docs.python.org/3/tutorial/datastructures.html#more-on-lists What are the three most useful method list objects?
      • I NEED A PYTHON CODE FOR THIS GAME TO MOVE ROOM TO ROOM, PICK UP THE ITEMS What happens if the player enters a valid direction? Does the game move them to the correct room? When the player gets an ite…
      • The data are in the file normtemp.rda, this data is included in the DS705data package so you can access it by loading the package and typing data(normtemp). ### Question 1 Create a scatterplot with he…
      • Must work in wing please do testing if possible. Function 1: sort_books_title Use the function design recipe to develop a function named sort_books_title. The function takes a dictionary as an input p…
      • # q8 – create function writeEvenNumbers() to meet the conditions below # ¬† ¬†– accept two parameters: ¬†a file name, # ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†and an integer value # ¬† ¬† # ¬† ¬†…
      • 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…
      • Need help producing a command line menu-driven python application providing users with the ability to search and display U.S. State Capital, population and Flowers. The second part documents your test…
      • Database Design and Analysis The following database project will create educational attainment “demand” forecast for the state of California for years greater than 2010. The demand forecast is the exp…
      • Please don’t copy from chegg and course hero ¬† How would I create a code in python for the below examples, only using a while loop (can’t use a for loop)? ¬†. Example: $ python tile.py 4 tommy Error:…
      • Suppose that the volume of the lung is V litres, the amount breathed in and out is W litres, and the ambient concentration of a chemical is a (mmol / L) . Then the concentration after nth breath is gi…
      • What is the optimal value of minpoints for the data (1000, 50)? need the answere with briefly explained….
      • a python program that reads a list of items and for every item x determines the number of its occurrences (or frequency) in the list denoted by f (x).¬∂ Ex. Input list¬†ūĚźŅ=[1,0,0,1,1,0,2,2,1] ; Outp…
      • Question: Work with your neighbors in gatherings. Think about the accompanying chart and test ways N = { 1, 2, 3, 4, 5, 6, 7, 8 } N0 = { 1 } Nf = { 8 } E = { (1, 2), (2, 3) (2, 8), (3, 4), (3, 5), (4,…
      • . The file contains two Python lists, each containing 21 values. These lists contain data about year-on-year changes in two statistics. The list visits holds data about changes in visits to the UK b…
      • [20 points] Parameter Sweep on k-NN – Dataset: https://www.kaggle.com/c/digit-recognizer – Divide it randomly into 65% training and 35% test data – Build a k-NN classifier with the following hyper-…
      • How can I design a program using a loop in Raptor to enter student’s test scores in the range of 0 to 100? If I enter -1 to signal the end, the program should display the average score, highest score …
      • 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…
      • # load the necessary modules wine = # load wine.csv model = # fit a multiple regression model using the sms.ols function chlorides = float(input()) pH = float(input()) alcohol = float(input()) new =¬†…
      • Python Language!!! Please Explain the function line-by-line. It is important that literally each line must be explained. And explain how we detect if the point is below a line segment in the function?…
      • Table of constants and variables 2. Draw flowchart (use draw io online tool) or pseudocode 3. Program source code (with Visual Studiol2019)
      • i need to learn how to export the results of this script to a CVS file, after the generating to 1000 prime numbers. start_range=int(1) end_range=int(1001) sum=0 for j in range(start_range,end_range+1)…
      • Question 1: ¬† In this lab, we will be implementing various functions relating to music streaming platforms such as¬† Spotify and¬† Tidal . In¬† Spotify , we are able to create playlists with a custom…
      • Afternoon, I need a Python program that¬†computes the average test grades for a group of five students. Using a for loop, it needs to successively¬†prompt the user for the test grade for each of the f…
      • How to collect data using mouse.jar in this Project. Project:- https://github.com/prativa-97/Mouse-Dynamics
      • Writing a class: SimpleCipher Consider a string consisting of all lowercase letters plus a space, called a plaintext alphabet : “abcdefghijklmnopqrstuvwxyz ” and consider another string with exactly t…
      • Code Challenge: Loops (4) Look over all integers from 1 to 100, doing the following: . If the integer is divisible by 3 (but not by 5), write its value and Fizz . e.g., 12: Fizz . If the integer is di…
      • Rob mows lawns and offers fertilizing service. His normal rate is $40 per mowing for a normal size yard. For a yard that is over 3000 square feet he adds on 25% to this rate. For a yard smaller than 3…
      • Date Fruit Num Color 2013-11-24 Banana 22.1 Yellow 2013-11-24 Orange 8.6 Orange 2013-11-24 Apple 7.6 Green 2013-11-24 Celery 10.2 Green 2013-11-25 22.1 Red 2013-11-25 Orange 8.6 Orange using pandas ¬†…
      • what are the answers to this problem using python programming? 1-¬†¬†¬†¬†¬†Ask the user to enter the: NAME (A, B, C, D, E, F, G, H, I, J), AGE, GPA (out of 4) and the MAJOR ( CS, CET, CIS, CE). Then p…
      • .CVS File: https://docs.google.com/spreadsheets/d/1sBAK83sLOCLH1T_dsUOSLtcEsFPBXo1eqHvEz0uNsGE/edit?usp=sharing Question 1- Contour Plot of Top Perf For this problem, you will be creating a contour pl…
      • I need help with code as I working a problem in SQL. The question ask Find the best collaborators. Get the 5 cast members with the highest average scores from the good_collaborationview, and call this…
      • Decision Structure Problem For this assignment 2 things: Solve the problem with an algorithm ¬†(FIRST) Code it in Python A person is eligible to be a US senator if they are at least 30 years old and h…
      • Could you explain each question? 1. In line 1, why do you put integer = [] 2. In line 3, I need an explanation about the integer = int(input()). why do you use input() and integer = int()? 3. In lines…
      • Either by expanding the functionality of the first application, or by developing a separate application, allow a user to translate Hexadecimal back to assembly language.¬† The application should repor…
      • I am not sure what I am doing wrong, can you please help me? Please explain what I did wrong and why my code is wrong. Codio Project File Edit Find View Tools Education Help Configure.. Project Index …
      • You will write program that creates a four tone grayscale copy of the provided image. Your program¬†fourToneGrayScale(picture)¬†will take a JES picture object as input. Two pictures are attached to sh…
      • Use program that writes the following data to file books.txt .¬†Include the semicolons. Fiction;Abraham Lincoln Vampire Hunter;Grahame-Smith;Wiley;13.99 Fiction;Frankenstein;Shelley;Prescott;7.99 NonF…
      • Python function, flip , that takes a oat bias¬†as an argument, and that returns the sentence: `The flipped coin with bias <bias> has a value of heads: <boolean>’ . The value <bias>¬†…
      • please help me with this question in the attachments (2 question) Use mathdotlib to create a school appropriate word by plotting dots. Restrictions: Your word can contain no more than one of eac…
      • . hw2.py X tic-tac-toe-skeleton.py X hw1.py X N Tic Tac Toe Simulation Starter Code 3 import random 5 class TicTacToeSim: 18 # Part 1 10 def __init__(self) : 11 # Initialize the simulation 12 # Set …
      • Hi, I need help extracting salesdata_2010 through salesdata_2017 in a directory path sales_directory. ¬†Please see instructions and some created codes below. ¬† My code below is not working. ¬† Thanks…
      • MUST BE WRITTEN IN PYTHON! Thank you!!. Module 8 Homework – Global Temperatures The World Meteorological Organization (WMO) has hired you to code a data structure that stores record temperatures acros…
      • Rewrite the code so it uses a function with the attr method instead of an each event method to set the ids. //add ids to the new tags $(“article a”).each (function(index) { var id = “heading” + (index…
      • EMAIL SLICER PROJECT (PYTHON) ANSWER BELOW QUESTION OF EMAIL SLICER Which topics (e.g., search, MDPs Markov Decision Process, etc.) might be able to address those challenges (at a high-level, since we…
      • For exercise04 I am trying to understand the code and what exactly is going on. Meaning, I see that there are list being assigned to temperatures but I am unsure as to what is actually happening. I am…
      • Please refer to the attachment below ¬†. Write a selectionSortDescend function to use selection sort to sort a list in descending order. This function must use the selection sort algorithm. You are no…
      • 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…
      • https://docs.google.com/document/d/1LGNt75Kcqg8nnQuQXdk2bSgqR2YXuNrg/edit?usp=sharing&ouid=106524239217228088148&rtpof=true&sd=true ¬† this is a python question thank for your support ūüôā
      • Please help. Consider the following block of code: class ParentClass(object): ¬†¬† ¬† def get_val(self): ¬†¬†¬†¬†¬†¬†¬†return 42 class SubClass(ParentClass): ¬†¬†¬† def get_val(self): What is t…
      • Stress-strain relationships are important in several engineering disciplines. In very rough terms, the strain of an object tells how much it has deformed, and the stress on an object tells how much fo…
      • How do I get this loop to not to be infinite?. Answer: (penalty regime: 0 %) 1 x= int(input("Enter a number: ")) y = int(input("Enter another number: ")) 3 4 – while x <= y: pri…
      • Write a program that outputs the following fight song. Your program is required to have a function named `sing_fight_song`. When the `sing_fight_song` function is called it should “sing” the song belo…
      • Packet crafting with using Scapy and Python script. Please make sure to write all three packets in one python script. 1. Build a packet that: is an IPv4 TCP packet Spoof ruby.cirt.vt.edu as the source…
      • Python: Colouring Book ¬† Hanving spent the last couple of hours grading assignments, I decide it’s time for a break. I take out my favourite colourig book, turn to a random page I haven’t coloured in…
      • How to write the following python program?. Exercise 5.4 Palindrome Write a program to read a positive integer number n. Use while-loop(s) to solve this exercise. If n is a palindrome, print "YES…
      • WI-00-SNOW file is in: drive.google.com/file/d/1RuNqC6ifzUL1Huo4uwmI0TtBSrhxYcOM/view?usp=sharing Pie Chart Plotter For this homework you need to write a program that will read a CSV file a plot a pie…
      • Use Python IDLE, select file menu then new file command to edit and debug your program. Write a complete Python program that 1) Read a four digit decimal integer from the keyboard with proper prompt t…
      • Together we will build a program to read in some hours from an excel spread sheet.¬† Using a rate provided by user input, we will determine the amount paid based on the hours and the rate.¬† We will t…
      • Build a regession model to predict the change in price of the stock overtime. It can either be linear regression or non-linear regression. You can download the dataset from here: https://github.com/un…
      • You can download the zip file from the link which is given bellow by simply copying and pasting into google. ¬† https://homepage.lnu.se//staff/jlnmsi/python/2021/queue_skeleton.zip ¬† ¬†. In this exer…
      • Using Python, Juyper Notebook ¬† The instructions ¬† ¬† ¬†. Digital Real Estate (2022): Be X M Week 8 | Homework 8: Line: X PRE HW 08 Instructions.pdf * *Course Hero X PDE HW 07 Instructions.pdf X My …
      • Hey, can you please help me with the question below, please? ¬† numberconvertor.py Using Python, create a program that will act as a number convertor. This program will convert an input decimal intege…
      • HELLO HELP import pandas as pd import statsmodels.api as sm import numpy as np fb_like = pd.read_csv(‘http://fengmai.net/download/data/bia652/dataset_Facebook.csv’, sep=”;”) # remove unneeded variable…
      • Can some one help me with a python code for SELECTION sort, which should take the data from a data set of 10000 numbers from an csv file. It should also display the execution time . Here is the link f…
      • Many studies have been conducted to describe the relationship between the trade activity(volume) and the price change. Ask (Sell) and Bid (Buy) orders on the border book might signal the direction of …
      • Can someone please help me figure this out. analytical and further examples of complex functions. Please any help is appreciated. a) Evaluating a polynomial limit analytically You should have learned …
      • jupyter Module One Discussion Last Checkpoint: 09/1 1/2019 (autosaved) File Edit View Insert Cell Kernel Widgets Help Not Trusted | Python 3 0 B + x 4 6 + + HRun C H Markdown v Step 1: Preparing the d…
      • Python: 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 guessing pla…
      • It includes either a list, a tuple, a set, or a dictionary. [5 MARKS] 20. It includes either a list, a tuple, a set, or a dictionary. [5 MARKS] 21. It includes a user-defined function. [15 MARKS] …
      • So I’m trying to compile a code that takes a random int from a user And asks which math operator it wants ( + , – or *) Let’s say the input is 5 User picks * printed sideways like this 5 * 1 = 5 5 * 2…
      • Write pseudocode for a Python program that 1) defines a list to store the choice of +, -, *, and /, 2) defines functions to support the calculations, and 3) calls them in response to user inputs. Test…
      • trying to formulate a main() for my list of functions. below is my listed code and what i need the output to look like. need before 11:40pm eastern main() In this function, you should ‚ÄĘ call get_inp…
      • Python program that prompts the user to enter an integer and reports whether the input was even or odd.The program¬† must use a while loop ¬†and it should continue to execute until the user enters zer…
      • question 3 please. 02 – Calculator (1 point each) Reference the variable names provided below( int_1 , int_z , float_1 , float_2 )to carry out the following calculations: . Set ans_1 as the result of …
      • I am trying to take the listAnswers (answer key) and compare it to lstResults (the student’s responses) and returning the list of incorrect responses from lstResults with a count of either correct or …
      • Using a Counter-Controlled while Loop in C++ ¬† ¬† //¬†Multiply.cpp¬†–¬†This¬†program¬†prints¬†the¬†numbers¬†0¬†through¬†10¬†along //¬†with¬†these¬†values¬†multiplied¬†by¬†2¬†and¬†by¬†10. //¬†Input:¬†…
      • What is the value of the following Python expression: 4 + 2 * 5 // 3 + 2 a.9 b.6.66666666666 c.9.33333333333 d.12 e.6
      • I’m trying this same question but when my first line is number_1 = int(input(10)) followed by the rest of whats shown in the example, it only prints the first line.
      • Please use python 3 to slove those problems the testing: extractQs(“SA6.ipynb”) import filecmp filecmp.cmp(‘SA6_True_Result.ipynb’, ‘Qs_4_SA6.ipynb’) extractQs(“T2.ipynb”, “\n\n———————–…
      • Write code that uses a for loop and the range function to compute the sum of the integers from 250 and 300, inclusive. Assign the result to a variable named sum ¬† 2 .Write code that uses a for loo…
      • python question help Q6a: Slicing The concept of slicing can be combined with conditionals. For example, you can return all rows of a particular value. Using value_counts ( ) above on the fruity_choco…
      • This is Microcontroller #include <stdio.h> #include <stdint.h> /// Call this once at the end of each loop. void check(int32_t i32_a1, int32_t i32_b1, int32_t i32_c1, int16_t i16_d1, uint8_…
      • I am trying to set this up and feel so confused where to start with this: ¬† looking for answer and logic ¬† Question ¬† ¬† Scenario AppInvest is a mobile application that helps people save money and …
      • This question is about¬† Block¬†2 Part¬†5 . This question requires you to calculate values using Python functions. There are two approaches you can use:¬† add suitable code to the provided file, then …
      • Question 3: 10 points For this question, the proportion ūĚúôūĚĎĖ(ūĚĎė)Ōēi(k) that a point ūĚĎĖi belongs to cluster ūĚĎėk is defined by the ūĚúôŌē function for GMM: ¬† ūĚúôūĚĎĖ(ūĚĎė)=ūĚúčūĚĎėūĚĎĀ(ūĚĎ•?…
      • Finally, assign min_of_birth_years to the minimum of the first, sixteenth, and last birth years listed in president_birth_years. (4 Points) [ ]:
      • would you please tell me what is that two questions and what is that two questions codes ,when you done please sent me a cods and screen short , thank you help me.¬†. Question 1: Answer the following …
      • Your assignment is to write a program that asks the user for a temperature and then shows the wind chill values for various wind speeds at that temperature. Your program should compute and display the…
      • the below recommender systems related questions using the provided ratings dataset (see ratings_data.csv). ¬†. (b) Provide a python function that implements SVD and returns a given number of recommend…
      • I am not doing something correct I posted the ques and what I wrote and what the mistakes are please help and sorry that they are in a lot of pics. Lo <— ElementaryOS (Snapshot 5) [Running] – Ora…
      • My name is Cosmina Ghimboasa For this program you will be writing a program that will use if-else or if-elif-else¬†statements. Read-It-All bookstore has a book sales club where customers can earn rewa…
      • Your menu might be similar to this. However, yours must use sub-menus. Ex. If you complete both of the guessing game Problem Statements 4 and 5, when the user selects 5 that in turn should display a m…
      • The integrity of a program output is only as good as the integrity of its input. For this reason, the program should display input that is invalid and prompt the user to enter valid data.
      • A program that populates a list of 8 car manufacturers. You can have the user populate the list or have it predefined.(your choice) If you used a predefined list, then ask the user to add a car manufa…
      • Modify the program¬†so that it checks the¬† infix ¬†string for syntax errors as it converts to¬† postfix . The error-detection and recovery strategy should be similar to the one used in the case study…
      • PYTHON CODE PLEASE ¬† Define the Artist module in Artist.py with a constructor to initialize an artist’s information. The constructor should by default initialize the artist’s name to “None” and the y…
      • Describe how¬† catching exceptions ¬†can help with¬† file errors . Invent three Python examples that actually generate file errors on your computer and catch the errors with¬†try: except:¬†blocks. Inc…
      • A company asks you to write a program for them, which decides whether they should re-order their products or not. The program should receive users’ inputs (inventory status for different products) and…
      • NOTE: There is a task 1 & 2 previously, with restrictions, if needed please tell me in the comments. ¬† Task 3 – Defining Your Sorting Algorithms Instructions In this task, you should define two s…
      • 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…
      • Question 2 options: ¬† str ¬† int ¬† list ¬† float ¬† bool ¬† dict Question 3¬† (1 point) ¬† Saved What does the expression¬†age // 4 evaluate to?
      • What (if any) are the same feature requirements that might be found in server software/OS environments?
      • txt ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†¬† 4 Thin Mints, 22.50 Peanut Butter, 18.75 Smores, 9.25 Shortbread, 13.00 ¬† Jill.txt 4 Thin Mints, 27.50 Peanut Butter, 5.50 Smor…
      • help me pls # Write a program to randomly generate a list with 5 numbers, which are divisible by 5 # and 7 , between 1 and 1000 inclusive.
      • Python script to solve 3×3 Raven’s Progressive Matrices test
      • I am having an issue with this question as well. I have the same errors the prior student described and am confused on how to fix it.
      • Issue code check, the question is as follows ¬† The code written like this¬† player = {} for i in range (5): ¬† ¬† jrsy_no = int ( input (“Enter player ” + str (i + 1) + “‘s jersey number:\n”)) ¬† ¬† …
      • Non-Mutually Exclusive Events ¬† Probability and Statistics ¬† ¬† Step¬†1¬†of¬†3 ¬† Installation Let’s get the installations done, prior to creating tasks. Run the command given below. pip install –u…
      • Assistance creating attacks repy for reference monitor Attack Case Explanation Attack Case 1 : It checks if valid data write to a file is successful i.e. checks if the accuracy of the system is not co…
      • give the user the options to Re-run with new inputs or Quit. python¬† Write a program that takes 2 integers say ūĚĎé, ūĚĎŹ as inputs. The program shall calculate the quotient of the inputs (i. e. ūĚĎé…
      • what are the errors in this program: uses jupyter and python 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, MOT…
      • Please use python codes: ¬†. Plot the following equation: y = x . cos(x) + In(x + 0.1) over the range: 0 <x< N A : import numpy as np import matplotlib. pyplot as plt
      • Problem: The people of ancient land of Pacific Baza had a simple mathematical system that knew only natural numbers and addition. The genius Bazan scholar, Gringo el Possum, built a computer from wood…
      • Kindly check Part A and need step vise solution for PART B. Part {A} Binary and Decimal numbers Background I’Scenario Binary and decimal are two methods to represent numbers. Binary number with base 2…
      • I need assistance with the below question in Python: Artist class in Artist.py with a constructor to initialize an artist’s information. The constructor should by default initialize the artist’s name …
      • Before you can help me with this, please make sure you have the right software: https://www.anaconda.com/distribution/. You also need the following file: https://www.dropbox.com/s/c9ajvj0zd2b5j8p/MIS5…
      • Create a function that takes in two strings as parameters and determines which string is longer
      • When using python language what is data visualization. Explain what is “Building a Basic GUI “. Using python language give an example of GUI Application.
      • how do i go about this. Please use python and for loops. Thanks. 6. Implement the following function in the PyDev module functions. py and test it from a PyDev module named to6. py: def draw_triangle(…
      • Use the turtle graphics library to write programs that reproduce each of the designs shown in the Figures below. Create the figures in separate windows. Try to reproduce the figures as accurately as p…
      • 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…
      • using spyder programming to answer the question.. DAT129: Homework 1 Joe is a carpenter, whose main source of income is putting vinyl floors, as well as molding around the floor. When a customer wants…
      • How can I implement Exception function to validate a maze? Hi, I need to solve my assignment which is super difficult for me to solve. also, I would need to do a lot more but second I want to find N w…
      • Would raster or vector be a better format for storing land ownership parcels? Give at least¬† three reasons for your choice
      • Create a game program called dice match. There is only one player and the idea of the game is to get the highest score possible, based on the combination of values of 5 dice. Each hand of 5 dice is sc…
      • python pandas This is dataset¬† https://github.com/chendaniely/pandas_for_everyone/blob/master/data/country_timeseries.csv first question Transform the variable Cases_Guinea to its Zscore and save it …
      • Please solve the following problems in python 1.Develop a python program to simulate traffic lights. This needs to implement one sequence of blinking LEDs as follows: RED ON¬†‚Äč‚Äč‚Äč‚Äčindicating st…
      • Hi, ¬† Just looking to get some guidance with a menu I’m putting together for a game. It has a few set inputs that I plan to build up once it’s complete but for now I’m having a few issues getting the…
      • I need help creating this PA WITHOUT using for loops and instead while loops etc.. just no for loops Center-aligned bars (cab.py) Should accept a string of digits as input. However, the way that the p…
      • In this question, we will develope a function encrypt(text, primer, offset) to encrypt text. The function requires the following user input: a string text to be encrypted; a positive integer primer ; …
      • Project 1: Book Recommendations CS 1410 Background When buying things online you have probably noticed that you are often presented with other items that “you might also like” or that “other customers…
      • I am having an issue with this assignment: The rules for Python names are: A variable name must start with a letter or the underscore character. A variable name cannot start with a number. A variable …
      • Can you provide some help with the function below: if¬†__name__¬†==¬†“__main__”: ¬†¬†¬†¬†graph¬†=¬†Graph() ¬†¬†¬†¬†graph.add_node(id=’2975′,¬†name=’Laurence¬†Fishburne’) ¬†¬†¬†¬†tmdb_api_utils¬†=¬†TMD…
      • Python Language Question 8 (1 point) Which of the following produces input? O arithmetic operators Ostdio.writeIn( ) O # O sys.argv[ ] O import Question y (1 point) Operators are evaluated in a Python…
      • Create a class called ZipList that’s a subclass of the Python built-in list class. ¬†ZipList only contains tuple pairs in which the first element is a U.S. zip code and the second element a locality.?…
      • . Find Ticket Function Name: findTicket() Parameters: ticketDictionary ( dict ) Returns: cheapestTicket ( tuple ) Description: You and your Georgia Tech friends decided to see the Winter Olympic Gam…
      • Please Solve in python I just need python answer please provide me correct code otherwise i will report you ¬†. Q # Lexical Analyzer implementation a) To recognize keywords(32 keywords of C++ Language…
      • Hello, Can you please tell me what code goes here? This is what i have so far for this section: encryptedPassword = passwordEncrypt(unencryptedPassword,encryptionKey) newwebsitepassword = [website, en…
      • it is said that, they is a logical error in this code. how ever after trying to look at the code and type in a few phrases, I still get the same outputs. can some one review this for me and explain if…
      • Which of the following encode the following command in terms of the machine language described in the language description table linked below
      • Write a program that reads a floating-point number and prints “zero” if the number is zero.¬†Otherwise, print “positive” or “negative”. ¬†Add “small” if the absolute value of the number is…
      • link: https://www.kaggle.com/wordsforthewise/lending-club
      • LACILAG Use the function design recipe to develop a function named count_evens. The function takes a list of integers, which may be empty. The function returns the number of even integers in the list…
      • I need help with this assignment. I will provide the .txt documents within the comments since I can’t upload them here We will also then calculate the correlation coefficient, and indication of how &q…
      • Part 4 (25 points) Calculate the moving average. For this part, we will let the user enter an integer k, then, for each year in our data file we will calculate the average of the k years before, the y…
        • Create a function called assess_portfolio() that takes as input an asset allocation of a cryptocurrency asset portfolio and computes important statistics about the portfolio. You are given the …
      • Question 1.¬† On the students.hi.gmu.edu server, lists contents of /bin folder in a file. Count the number of lines in the resulting file. Include a screenshot that shows the operations/commends ran o…
      • I’ve written the following program per instructions detailed above. My professor wants that we use readline instead of readlines and I’m having trouble getting the file to read all file contents. The …
      • please answer in python and the question is having complete information as provided (the same question have solution in c++ and java)….. Your task for this assignment is to investigate some of the p…
      • 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.¬† number,comments 1,”A 117-year-old wom…
      • Stock Trading Using Deep Q-Learning ¬† DESCRIPTION Need to 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…
      • count_consonants is supposed to take a string as input and count the number of each consonant in the input_string (input parameter), storing the output in a dictionary where the key is the consonant a…
      • Use python What are the 25 most common words on a website(just show the method how to insert the website and search the words) for example the CDM in DePaul website ? Write python code to answer this …
      • Find the country_id of your own country by executing a suitable SELECT…FROM countries….Then retrieve your find_area_pop procedure from question 2C. Modify the code to use yourcountry_id as a defau…
      • Write a program to assign a color (red, green, blue, yellow) to each of the subregions in the square below so that no two neighboring regions are colored the same.¬†Solve it in Python.
      • Write an expression that prints ‘You must be rich!’ if the variables young and famous are both True. Sample output with inputs: ‘True’ ‘True’You must be rich!
      • import sys def spelling_test(s, l): #fill this out¬† def spelling_test_helper(s, l): #fill this out¬† ¬† def main(): ¬† ¬†s = input() ¬† ¬†lines = sys.stdin.readlines() ¬† ¬†print(spelling_test(…
      • I dont know what to do 2.19 LAB*: Program: Cooking measurement converter Output each Ô¨āoating-point value with two digits after the decimal point, which can be achieved as follows: print( ‘ ( : . 2f}…
      • The file contains information for 4 Students. All values are separated by a comma. The first value is the student id. The remaining values are the student scores. Your program should split the student…
      • Python: Employee and Production Worker Classes Write an Employee class that keeps data attributes for the following pieces of information: Employee name Employee number Next, write a class named Produ…
      • Using python Please help me write a type of program that asks the user for the name of a file. The program should display the contents of the file with each line preceded with the word “line” and a li…
      • https://scikit-learn.org/stable/modules/generated/sklearn.mixture.GaussianMixture.html#sklearn.mixture.GaussianMixture.bic It’s year 2120 and you work as a space taxi driver. One day, you suddenly get…
      • Please use python language thanks Task 1 The material chosen for the body panels of an automobile will be subjected to cyclic loading (alternating positive and negative forces or stresses) during use….
      • Prob¬†3:¬†Object Oriented¬†Programming ¬† Review¬†the¬†given¬†class¬†diagram¬†and¬†corresponding¬†Python¬†implementation¬†( oo_sample.py ). ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†?…
      • In regards to Python Programming. Add to the code below: 4 random web images, one table (4 rows and 3 columns), and a form that allows user to enter at submit data for two textfields, one textarea, an…
      • Need tocreate Pyton program that ask for N and displays “Hallo” N times
      • implement a human vs. human version of Notakto. Notakto is a tic-tac-toe variant. It is played across three 3 x 3 boards: Board A, board B and board C. When you start the game you should output the bo…
      • What is the value of Z? When : x = 9, y = -1 x = 9 y = -1 while x < 15: ¬†¬†for y in range(3): ¬†¬†¬†¬†z += y ¬†¬†x += 1
      • Use Python programming for the following exercise: Please use Manhattan distance for distance calculation!!! ¬† Distance calculator: A robot moves in a plane starting from the original point (0,0). Th…
      • I tried several times but I keep getting invalid syntax. Could you please explain step by step..? Topics: print, while loop, basic I/O, conditional structure Problem Statement: Welcome to Salad Bar In…
      • For the following program: a) algorithm (pseudocode) called stadiumAlgorithm.txt b) Code the program as stadium.py. c) Upload your pseudocode and your source code (stadium.py) to BCOnline. Stadium Sea…
      • Can I get help with #2 and #3 of the attached manual? (MIPS Assembly Language). Not sure what section to put this under, sorry. Write a MIPS assembly language program to do the tolomi’tg. Do not use…
      • I need help solving the following python problems, this is what i have so far. # —————————————————————- # Author: # Date: # # This program creates a class reg…
      • Create a program that draws a smiley face from import ¬†graphics
      • show what happens when a variable defined outside the function has the same name as the local variable inside a function. Explain what happens to the value of each variable as the program runs.
      • How to write the function of the sentence score for text… ¬† How to write the function of the sentence score for text summarization with Ngram? (In python Jupyter) ¬† use NLTK to get N-grams and Fre…
      • I have code here that prompts the user for the height and weight of 6 individuals, calculates their BMI, then displays how many people fall into the categories of Normal Weight, Underweight, and Overw…
      • A child is required to use a booster seat in a car until the child is 9 years old, unless the child reaches the height of 59 inches or more before age 9. Which expression can be used to decide if a ch…
      • Can you please show me the example each of the following (three possibilities to consider if a function is not working): There is something wrong with the arguments the function is getting; a precondi…
      • py Writing a program that uses a¬† custom function¬†named as you wish ¬†and the main function. In main, prompt the user for a¬† first name ¬†and an¬† integer less than 10 ¬†and then execute…
      • Form a program that asks the user to enter a sentence, and then writes that sentence in reverse to a file named reverse.txt. Your solution must do the following (1) accept the sentence as a string inp…
      • Regex, Regular expressions, Python How do I search a job description text file for part of a sentence and return the entire line using regex in python? The goal is to turn it into an array of words th…
      • With respect to visualizing “network” data: Compare Network visualization (gephi network type) and Hive plot visualization
      • Need help with capstone project aly6140. Have to provide information about a dataset which has around 10k records and with 12 useable features.
      • I did the script and got this error(1). After I asked a question I was told to edit configurations and put arg1 arg2 arg3 in the parameters and got another error. (2) ¬† (1) (2)
      • A fraction can be reduced to an equivalent fraction with a smaller numerator and a smaller denominator, this is called simplifying or reducing a fraction. Write the function greatest_common_divisor th…
      • Please assist with python 2 programming File: testgrayscale . py Tests a function for converting a color image to grayscale. from images import Image def grayscale (image) : "" "Convert…
      • Can someone write me a python program that will do the following? Can you please focus on adding If, Elif, and Else. Also, for or while loop.¬† Thank you. ¬† Your first challenge consists of creating …
      • A python program that defines a function called my_greatest. The function must print an appropriate message (in any language). However, the program must prompt the user for three numbers. All three nu…
      • I need this question answered. Error received when using following code that states, “The function ‘read_input’ should return a sub-list with value at postion 4 of type ‘float’.” ¬† This is the follow…
      • import math x1 = 1.0 y1 = 2.0 x2 = 1.0 y2 = 5.0 point_dist = 0.0 dist = math.sqrt((y2 – y1)**2 + (x2 – x1)) print(‘Points distance:’, point_dist) How do I fix the 7th line in this script to get the ou…
      • Python Please. Learning Objectives – Write multiple functions – Write a loop that allows the user to select different options – Verify the validity of the user input – Practice writing code needed for…
      • Create a user-defined function that, given an arbitrary 2-d array as input, returns its¬† perimeter sum , which is defined as the sum of all the elements along its perimeter.¬† You must name your func…
      • Need python code of the following: 1. name = “Anna” age = 21 Given the code above, put down one python statement that uses variables to print: Anna is 21 years of age =========================== 2. va…
      • Task 2: help make a script called ‘ sets.py ‘ Create these two sets: 1st set – apple, banana, cereal, onion, gum, orange, water, chicken, cake, oatmeal 2nd set – battery, gum, pencil, pickle, water, a…
      • I need a sample of flowchart for 8 bit adder calculation in in python.
      • A farmer has a Fox(F), a goat (G) , a sack full of corn(C) and a rowboat. The farmer is standing in the east bank of the river, his house is in west bank of the river. He is planning to take Fox, Goat…
      • Sets Fill in the blanks to create a set, add the letter "z" to it, and print its length. nums "a", "b", "c", "d" nums . ("2") print( len ( n…
      • Hi, i need help to make flow charts for these two problems Problem 1: flowchart program to solve a simple payroll calculation. Calculate¬†the amount of pay,¬†given¬†hours worked, and hourly rate. (The…
      • Q1: Write a function to do the following. It will accept a string of words from the user. The program should then create a dictionary where the key is a letter in the alphabet and the value is a list…
      • Given the following Python ADT PriorityQueue. class PriorityQueueUnsorted: ¬†class _Item: ¬† ¬†def __init__(self, k, v): ¬† ¬† ¬†self._key = k ¬† ¬† ¬†self._value = v ¬†def __init__(self): ¬† ¬†self._…
      • Need help to finish this section of an Apriori Implementation in python with the outputs based on the described inputs.¬† ¬† ¬† ¬† ¬† def generate_frequent_itemsets(dataset, support, items, n=1, frequ…
      • 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 < 60 F
      • A spherical reactor of radius R composed of 50 w/o enriched uranium metal with density 18.6 g/em is surrounded by a reflector material of thickness 20 cm composed of natural uranium metal having densi…
      • A module is simply a file that contains Python code. When you break a program into modules, each You need import these two module module should contain functions that perform related tasks. For exampl…
      • 19 LAB: Exact change – functions ¬† Write a program with total change amount as an integer input that outputs the change using the fewest coins, one coin type per line. The coin types are dollars, q…
      • Write a python script called manners that will ask the user for the magic word. ¬†It will keep asking them the magic word until they say ‘please’. Once they finally enter ‘please’, the script will tel…
        • Guided Practice Using Lists Colleges offer entire courses covering data structures. Python offers a number of very convenient data structures that are suitable for many different uses. This guided…
      • create a flowchart using flowgorithm¬† At one college, the tuition for a full-time student is (Test Data) $8,000 per¬† semester. It has been announced that the tuition will increase by 3 percent¬† eac…
      • The following python code needs to be edited according to the instructions below. ¬† Change the function name from firstORF(sequence, frame) to firstORF(sequence, start_position), where unlike frame, …
      • video demo Movie_Dictionary ¬† Stack trace. Birthday Dictionary Prompt Python 3.8.0 Shell D X Recycle Bin Dashlane File Edit Shell Debug Options Window Help Python 3.8.0 (tags/v3. 8 . 0 : fa919fd, Oct…
      • We have a website that allows 3 kinds of users. a. Users b. Admins c. Partners Usernames for those 3 test roles are on a text file. Assume that we don’t need passwords to get in to this website. U…
      • What are the differences in the if-else and if statements? Why does it make a difference in programming to understand the order of “And”, “or”, and “not” statements, and how does nesting decision stat…
      • Can you show me how to make a program that asks a user to input a number and then determine what numbers in the list(for example: [0,1,2,3,4,5,6,7,8,9,10]) are greater than the number entered by the u…
      • A company provides network encryption for secure data transfer. The data string is encrypted prior to transmission and gets decrypted at the receiving end. But due to some technical error, the encrypt…
      • Explore Exarn_Data (csv is provided) and address the following five questions: a. Read the csv file into a Pandas DataFrarne.¬† b. Explore, clean and transforrn the dataset if necessary. Handle missin…
      • I need help understanding what goes where the question marks are. I also need help explainng the red boxes and what are their functions.. Program listing with one line of code missing: =def # Declare …
      • Write a Python function to implement a simple encryption technique. ¬† In this encryption, each letter in the plaintext is replaced by a letter some fixed number of positions down the alphabet. For ex…
      • Create program using hasing searching, for #1 give me the code and explain how it works, for #2 question give me the diagram and explain how you get the diagram its alr completed question Listed below…
      • I have been given the task of using tkinter to creature a user interface that will calculate the area and perimeter of a rectangle based on user input for length and width. I have been provided a demo…
      • Hello,¬† I have made an attempt to translate this code from Python 2 to Python 3 to run this simulation and add additional features using a open-source package software. However, I still encounter an …
      • Create a program using linkedlist, recursive algorithm, insertion, sort, bubblesort you can create 2 programs for me using this 5 i say please help me i need this before tomorrow Description Positive …
      • Can you help me by explaining to me why this answer is correct? Please explain them to me separately by each problem question. Problem 5.1 Problem 5.3
      • Dont mark this as a violation Assume you have just started a job as a sales person in a car dealership that sells new and used cars. Your pay consists of a base salary of $10,000 plus a commission tha…
      • Go to the link: OSINT Tools – OSINT Techniques Then to: Website value calculator and web information (websiteoutlook.com) Review the list of data that can be provided by this service. Assume that you …
      • Question: The second requirement is that¬†s¬†contains at least three items separated by commas. How would we assert that? Another way to say this precondition is that¬†s¬†must contain at least two com…
      • Can you help me with this python question by giving me a code? It is the same question, one ask me to give a recursive code without using abstract function, and another one is to use abstract function…
      • . 1. What is a loop and what are they used for? (2 pts) 2. Could you still program without loops and what would the ramification be? (2 pts) 3. What is the difference between a "for" and a…
      • There are 2.54 cm in one inch. Write a program to enter the length of a door in inches and output its length in centimetres. Use a constant for the conversion factor. Be sure prompt for the input and …
      • I need help, I have the worksheet that the question asks for. Code + Text ann Got your spreadsheet in place? Great! Now let’s think about getting ready to pull data from a database too. First, we need…
      • 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…
      • Note: Explanation lines should be added for the codes you have prepared in each question. In order to test your programs in the PDF extension file you send, the parts where the codes are written shoul…
      • programming assignment Convert a given string to all uppercase if it contains at least 2 uppercase characters. (Hint: use tsunami) and macro} Sample Oumt Enter a string: The Lazy Dog THE LAZY DOG Ente…
      • write a program to compute: f(n)=f(n-1)+100 when n>0 and f(0)=1 with a given n input by console (n>0). In python
      • I know my code isn’t right, I have a lot of trouble with Booleans. Can you please help me understand what I did wrong and what they are asking? I have a really hard time understanding what they want m…
      • The following function is supposed to print¬†‘prime’¬†if the given input number x is a prime number and print¬†‘not prime’¬†otherwise. A prime number is an integer that can only be divided by itself a…
      • Question ¬†Write function in python that inputs a dataframe and identify which columns have date in them. Using these date columns make new columns which are difference between these columns taking 2 …
      • 13¬†LAB: Exact change Write a program with total change amount as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarters, Dimes,…
      • Hi, can anyone help me with coding this pseudocode. I am taking Python class next semester. I found this code on a random website. thank You. PYTHON PROGRAMMING THIS IS THE IPO AND THE CODE SHOULD DIS…
      • how do i use visual studio code and python 3 to make bar graph like this? Write a Python program using the SimpleGraphics library (available-9993949 draw a histogram or a bar chart based on users’ s…
      • W rite a program that asks the user to enter a number and then print a message based on whether the number entered is a positive number, a negative number or equal to zero. A¬†professor gives 100-poin…
      • Instead of dragon theme, it should be undead theme. ¬†Follow directions below except DO NOT USE THE DRAGON THEME EXAMPLE, use your own game with your own theme and number of rooms / direction…
      • In Python, how do I calculate the floating point divisions per second on a PC? I’m a beginner in Python and I have no clue how to do this in Python. I have everything completed in my assignment, excep…
      • . 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 N…
      • Question 1 ¬†Set¬†prof_names¬†to a table with two columns. The first column should be called “Org.Major.Budget.Unit” and have the name of every department once, and the second column should be called …
      • Show the output that would be generated by each of the following program fragments: text = “University of Wisconsin-Milwaukee” print (text.count(“e”)) text = “University of Wisconsin-Milwaukee” print(…
      • I don’t know how to do this. Please show me how to do this because I’m just lost Ask the user for a sentence.oUsing a for each loop, look at every letter in the sentence in order to count how many tim…
      • PLEASE READ SCREENSHOTS AND CODE # Capital, population and Flowers import sys from matplotlib import pyplot as plt from PIL import Image import requests from io import BytesIO import numpy as np # def…
      • Programming Assignment 4 Getting started Complete the reading and practice assignments posted on the course schedule. Review class handouts and examples. This assignment is designed to emphasize work…
      • Urgent help needed! Let’s start by loading the Fama-French three-factor data. In [3]: ff = Table. read_table( https://www.dropbox.com/s/pngwanglhlcevft/F-F_Research_Data_Factors. CSV?raw=1′ ) out [ 3]…
      • Python code that executes the following is required: l) I need to use a Python class, named get_numbers, so number sequences can be leveraged in all the department’s projects 2) The basic idea is to…
      • Please include some precise comments cause I will use it as a script for the video that I will make. and also the driver program so that I can compile the code thank you!¬† ¬† ¬† SAMPLE OUTPUT: ¬† ¬† …
      • I am not able to upload it as csv files on coursehero while posting the question, it only allows png, that’s why I had to post the same information as png in the uploaded images above. Please, kindly …
      • Colab2A_LSH_withtoydata is : Sparse Implementation of LSH (the one we studied in ICS574) Locality Sensitive Hashing (LSH) can be implemented for both sparse and dense vectors. In this notebook we will…
      • Code: Need to find a path with an optimal sum. Function: def solve(grid) ¬†. On the planet Xeebo, where there is no gravity and physically-questionable hyperspace portals are commonplace, children pla…
      • Python: write function arithmetic() that takes a list of integers as input and returns True if they form an arithmetic sequence. (A sequence of integers is an arithmetic sequence if the difference bet…
      • I am having difficulty with these last setups for using numpy. See image for question 3 and 4 and the given array b below. —–Problem 3 and 4 with given array b—— Given the array b = np.arange(-…
      • Password modifier Many user-created passwords are simple and easy to guess. program that takes a simple password and makes it stronger by replacing characters using the key below, and by appending “q*…
      • Given a string “Germany will win the AFCON 2020”. i. Find the number of occurrences of the letter ‘i’ in the string¬† ii. Find the length of the string¬† iii. Capitalize the whole string, assign into …
      • Data Analytics Assignment: Text analytics for AirBnB ¬† You have recently got a fantastic job opportunity to be part of AirBnB data analytics team. As a key member of the team, you’ll be responsible f…
      • Data set link: https://raw.githubusercontent.com/mgt412/course_notebooks/master/Datasets/Nordic_DataSet.csv Institute for Management & Innovation UNIVERSITY OF TORONTO MISSISSAUGA Large Data Assig…
      • # CNN layer complete the code ¬† You only need to implement the function kernel_op(). This funtion takes one kernel and its bias as input, output the processed x. This function should be able to handl…
      • Please create a python¬†module named¬†homework.py¬†and implement the functions¬†outlined below.¬†Below you will find an explanation for each function¬†you need to implement. When you are done please u…
      • can u plz share jupiter notebook code along with screenshots
      • You will test a function called credit_card_validator that is passed a sequence of digits as a string that represents as credit card number. This function will return True ) if it is a valid credit ca…
      • Write a Python program that takes a text file as input and returns the number of words of a given text file. Note: Some words can be separated by a comma with no space. ¬† Sample file: ¬† words.txt: W…
      • Due: Jan 04, 2022 1. The size of a tree T rooted at r is defined to be the total number of nodes in T, including r. Given a rooted tree T of size n, please devise an O(n) algorithm to compute the size…
      • Hi, this is for Mad Lib – Loops challenge. Im stumped, and wondered if you could help. This challenge requires the use of a loop, and needs to work with other examples. I am attempting a loop program …
      • meatPrice = 4.00 meatTax = 0.03 * meatPrice milkPrice = 2.00 milkTax = 0.03 * milkPrice print(meatTax + meatPrice¬†milkTax + meatPrice) how to change code to equal 6.18
      • The coursehero can not let me upload file. Can I send it through email?. Part 2 – COVID-19 Quarantine States The NY State COVID-19 Travel Advisory at https://coronavirus . health.ny . gov/covid-19-tra…
      • Objective The objective of this lab is to calculate the¬†Levenshtein distance between two files. Also compute the insertions, deletions and substitutions. Tool Python Lab Tasks Part (a) ¬†¬†¬†¬†¬†¬†¬†…
      • PYTHON code, please help me with this. ¬†. 1. Write a Python program to find those numbers which are divisible by 7 and multiple of 5, between 1500 and 2700 (both included). 2. Write a Python program …
      • Merge We’ve provided you with an implementation of the function merge. merge takes 2 sorted lists lst1 and lst2, and returns a new list that contains all the elements in the two lists in sorted order….
      • Question: Can you help me fix the error in my Python script? This is the original problem: This script should not contain any function definitions. It should just contain a sequence of Python statemen…
      • . *1 1.13 (Locate the largest element) Write the following function that returns the location of the largest element in a two-dimensional list: def locateLargest(a) : The return value is a one-dimen…
      • Please refer to the attachment to answer this question. This question was created from unit10_homework <a href=”https://www.coursehero.com/file/23882497/unit10-homework/?dqqid=106645″>https://www.cour
      • 1 In [3]: import numpy as np import pandas as pd data = pd.read_csv( ‘/home/user/Data/all_stocks_5yr.csv’ ) data = data[[ ‘date’ , ‘open’ , ‘high’ , ‘low’ , ‘close’ , ‘volume’ , ‘Name’ ]] data.sort_va…
      • Using jupyter notebook or python do the following: Generate means write the code and plot it, so please do not provide some explanation without simulation results Part 3 – Assume we have a random Pois…
      • Purpose need to demonstrating your understanding and use of python classes and inheritance and polymorphism, as covered in module 6. Assignment Background Use of inheritance for set of related classes…
      • A python program for the insertion sort, bubble sort, selection sort and shell sort algorithms.
      • Define a function add_border_to_image(…) that receives one parameter: a picture with the format of either .jpg or .png and the function should return a NEW PICTURE containing the original picture an…
      • Please can you help with Python Code to create a bill(invoice) in a grocery store?
      • . This question is about Block 1 Section 4.4 (Analyse multiple cases). The magnitude of earthquakes is often measured using the numeric Richter scale, which can be described as follows in a simplifi…
      • How to take the test functions for this code? Write tests statments we have to write it in another file. The link for the information of the problems¬† ¬† ¬† https://courses.cs.washington.edu/courses/…
      • 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 that w…
      • 6.1: Function stubs: Statistics. ¬† Define stubs for the functions get_user_num() and compute_avg(). Each stub should print “FIXME: Finish function_name()” followed by a newline, and should return -…
      • Midterm: Recommender System for Movies (Note: This midterm assignment will have hidden test cases) In this project, you will implement a recommender system for your classmates, professor and TAs based…
      • 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…
      • Write a short python code in Jupyter Notebook using the &quot;tips&quot; dataset. Add a tip_rate column (the tip rate is calculated by dividing the tip by the total_bill) to the DataFrame and produce …
      • How to create a function : ternary_partition(lst) that partitions an unsorted list into three sections: smaller than pivot, equal to pivot, larger than pivot. Input : an unsorted list containing one o…
      • Which of the following function gets the length of the string? A¬†– isupper() B¬†– join(seq) C¬†– len(string) D¬†– ljust(width[, fillchar])
      • List three possibilities to consider if a function is not working. 6.9 Debugging. If a function is not working, there are three possibilities to consider: There is something wrong with the arguments t…
      • Please use PyCharm for both questions! 1. Write a function that accepts a string “This is American University and I am a student here” and prints out the upper case and lower case alphabets as two sep…
      • Complete this file to do the following: Get sha256 hashes of all files within the “Good” and “Bad” folders Automate inserting the filenames, hashes, and their status (good vs. bad) into the database o…
      • [M4 CSQ1] Draw a flowchart and construct a python program to accept a list of N numbers. The job is to determine if there exists an element in the list such that the sum of the elements on its left is…
      • Is this statement true? When outliers are important then it is important not to change the current minimum and maximum for normalization. ¬† 2. The loss function for linear regression is the square…
      • Problem 3.1 Shipments of Household Appliances: Line Graphs.¬∂ The file ApplianceShipments.csv contains the series of quarterly shipments (in millions of dollars) of US household appliances between 198…
      • how do I get the program to do this print (input(“please enter your name or 0 to exit))
      • I need help with revising my first project and putting in a steptracker but I dont understand this at all and need help with this trying to solve the problem. Below is what it is asking and further be…
      • starter code:¬† ¬† import numpy as np ¬† a. def avo_mean(prev_mean, n, weight): ¬† ¬†… ¬† c.¬† list1c = … list2c = … d. list1d = … list2d = … ¬† e. def avo_extreme_mean(prev_extreme_mean, pr…
      • rite a python v3 function named fix_fips() which returns ‘0’ appended to a FIPS value if it has four characters, and returns a FIPS value. when defining the function, make sure you convert an argument…
      • # Student No: # Hangman Game # ———————————– # Helper code # You don’t need to understand this helper code, # but you will have to know how to use the functions # (so be sure to …
      • Part 1: Using your own words, describe what abstraction is for you in OO programming. You should state at least one example to illustrate your point(s). You will need to describe at least 2 kinds of a…
      • Count maximal layers def count_maximal_layers(points): The point (x1, y1) on the plane is said to dominate another point (x2, y2) if it lies to the right and above from it, that is, x1 &gt; x2 and y1 …
      • Tax laws are incredibly complicated. In order to help cope, you will write program to do some of the heavy lifting. Your program should accept as input the amount of income made by the user in the pas…
      • Q) Complete the for statement head in the function below such that the function correctly computes a compressed version of the input list of numbers. More specifically, each two consecutive numbers of…
      • 48 19 20 21 22 23 24 25 261 27 28 29 30 815 325 83 245 395 36 371 820 350 40 415 420 45 5 85 5 47 Moving to another question will save this response. Question 24 of 48 Question 24 Given the following …
      • Write a function which returns the inch equivalent of its centimeter argument. An example call is: inches = Inch Equivalent(10.5); Multiply centimeters by 0.394 to calculate inches.¬† ¬†. File Edit Vi…
      • Create Project Proposal For Email Slicer (Python Mini Project) Define the input-output behavior of the system and the scope of the project. What is your evaluation metric for success? Collect some pre…
      • This is my learn journal 7 code players={“First-player”:[“Marcelo”,”Left-back”,12], “Second-player”:[“Casemiro”,”Defensive-MidField”,14],”Third-player”:[“kroos”,”Central-MidField”,8],}¬† def invert_di…
      • NOTE: CANT USE MIN, MAX, or SUM ONLY LOOPS; WHILE LOOPS The link is with using sum; what can i change to take out sum Create a function called allButMax that expects no arguments. Instead, this functi…
      • how to write a pseudocode for a payroll rate-8.34 hours-13 how to write a pseudocode for mpg trip. miles-500 gas-30
      • Client and Server programs using TCP socket programming in Python The socket will ¬†bind it to a specific address and port, connect to another application, and send and receive HTTP packets. Do not us…
      • Can you give PHYTON or MATLAB code for the question ?
      • # Welcome user to game print( ‘Welcome to the K-9 Cop Text Based Adventure Game!’ ) def intro () : print( ‘Collect 6 items to win the game or get chased by Kilo the K-9 Cop!’ ) print( ‘Move commands a…
      • previous problem: “”” ¬†¬†list_node.py ¬†¬†Contains a simple ListNode class, which simply has ‘val’ and ‘next’ fields. “”” class ListNode: ¬†¬†“”” Models a single node in a singly-linked list.¬†Has no…
      • Write a Python program that uses NumPy to calculate and print average of each assignment group. Hints Read file &quot;scores.npy&quot;. Homework assignment group consists of 6 homework assignments. Ca…
      • Please help me write Python Code for the following instructions: Objective The purpose of this assignment is to implement a reliable File Transfer Protocol (FTP) service over UDP. Project 2 Guide Prob…
      • Please read this carefully from starting please do that only asked and also please check what they denied to use SAMPLE OUTPUT ‚ÄĒ PART 1] Sample output 1: welcome to the PSP Password Generator 111 &q…
      • Project Part 1 The project for DS710 is structured to be completed in three parts. This is the first part, in which you will write some reusable code which will help you in Parts Two and Three. Purpos…
      • QUESTION: I get a value error when I try to do pow(e, -1, phi_n) because the 2nd argument can’t be negative when the 3rd argument is specified. What’s another method to circumvent this while still get…
      • Wrte a grunt file to validate js files using jshint, uglify the js files, minify html files, start the webserver and watch the¬†webserver.¬† Validate js files with jshint. Uglify the js files, place t…
      • Use the foodprices.xlsx dataset (data: ¬†average price in cents per pound by cities: year 1973) and do the following: ¬† ¬† ¬† ¬†1.1 Get a PCA model and identify the first 2 principal components.¬†…
      • Question 1 This question requires the use of a .csv file (excel sheet) which you can get it from me, if u send me a mail at courseherohelper94 @gmail.com (courseherohelper94 at gmail.com) I can’t uplo…
      • Part I. Please give the expected output from the given code samples.¬† If the code will result in an error (which some may) please correct the error so it will properly run and then give the output .?…
      • integers file link is given below ¬†you can copy and paste that link you will get the integer list ¬† ¬† https://homepage.lnu.se//staff/jlnmsi/python/2021/10000_integers.zip ¬†. In this exercise you s…
      • An instructor gives six quizzes during the semester quiz grades 0 through 10, and drops the lowest grade. How is a program written to find the average of the remaining five grades. The program should …
      • Don’t want answer copied from any other website(eg: chegg).¬† ¬† ¬† ¬†. . Buster the Troll wants to go Visit his friend, the troll king, in Troll Kingdom. He wants to bring some precious stones for hi…
      • The energy company in Program 1 now uses different rates for residential and business customers.¬†Residential customers pay $0.12 per kWh for the first 500 kWh.¬†After the first 500 kWh, the rate is $…
      • Please fill in the writeup below, replacing XXX with your answers ¬† ¬† ¬† ¬† # Bugs and issues XXX ¬† ¬† ¬† # Please give one similarity and one difference between lists and tuples. XXX ¬† ¬† ¬† # Wh…
      • Part 1 Write a Python program that does the following.¬† Create a string that is a long series of words separated by spaces. The string is your own creative choice. It can be names, favorite foods, an…
      • Have you used top-down design principles before? If so, in what context. Write about at least one example of top-down design and how it makes a project manageable for a team.
      • 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…
      • Write the higher-order function guess_that_price(price), which takes a number price and returns a function. The function takes a list of numbers guesses and returns the largest guess that is less than…
      • I want to plot treemap from column 2010 – 2019. With https://www.kaggle.com/mathurinache/popularprogramminglanguage with the use of Squarify Library and plotly Library.
      • Please help can’t figure out will rate! 1.15 Exercise: Suppose integer variables a,b,c ,d,e have values a: 1, b: 1, 0:3, d=4, e=5. Consider the following three expressions: ( (3 &lt;= b) and (c+d &gt;…
      • PYTHON PYTHON PYTHONPYTHON PYTHON PYTHON PYTHON PYTHON PYTHON PYTHON PYTHON PYTHON PYTHON PYTHON PYTHON PYTHON PYTHON PYTHON PYTHON PYTHON PYTHON PYTHON PYTHON¬† ¬† ¬† ¬† ¬† ¬† ¬†. 25%) You are given …
      • #Program to calculate statistics from student test scores. midterm_scores = [99.5, 78.25, 76, 58.5, 100, 87.5, 91, 68, 100] final_scores = [55, 62, 100, 98.75, 80, 76.5, 85.25] #Combine the scores int…
      • Making a HTTP GET request can be done using several python libraries including: httplib urllib requests Search for the 50 Harry Potter e-books (search may return fewer). Create a data frame from the r…
      • Bonus question (10 points) Python program which adds up columns and rows of given table as shown in the specified figure. Example test case (the four lines below “Input cell value” are inp…
      • Computer Science i have a python code that is full of indentation errors if anyone can correct it please output: students_info.txt: python functions: def id_index(student,stu_id): for i in range(0,len…
      • write a python program. . Write a Python program that prompts the user to enter 2 numbers of his/her choice. Then your program should call a function that Multiplies each number by 2. Then, adds the t…
      • I need to enhance my Undirected Graph code below by adding the edges information that connects the existing vertices. We cannot use Python’s LinkedDirectedGraph library. Here are the methods I need to…
      • computer program that determines whether or not two Latin squares are orthogonal.
      • Write an if-else statement for the following: If user_tickets is equal to 6, execute award_points = 1. Else, execute award_points = user_tickets. Ex: If user_tickets is 3, then award_points = 3.
      • Python Questions: Describe the methods and constructors used create date, time, and datetime objects. Distinguish between aware and na√Įve time objects. How do they apply to date, time, and datetime o…
      • The problem Write the function¬†show_value()¬†that takes two arguments:¬† a potential key and¬† a dictionary name.¬† If the potential key is in the dictionary, the function should return the value for…
      • please do it in python. Problem 2 Write a function magic (L) that takes as argument a list L . The list L is a list with n elements, each of which is itself a list with n integer elements. (You can as…
      • Overview Study the Fabric API run(), sudo(), local(), and put() and utilize them to create four new Fabric tasks called: addUser(username) findUser(username) listUser() listSysUser() The addUser(usern…
      • DESCRIPTION: Implement a hash function for integers using the simple remainder method. Implement a hash function for integers using the mid-square method (use 2 middle digits, pad with leading 0, if n…
      • Using python Read the following program requirements: A retail company must file a monthly sales tax report listing the total sales for the month and the amount of state and county sales tax collected…
      • Today is had a python quiz. Im little worried if i got the wrong answer. I wrote iut the question and results i got. The question may have differnt numbers, wording but sam format. Please go ov…
      • Develop a program that lets the user enter the total rainfall for the years 2010 to 2019 into a¬† list . The program should calculate and display the total rainfall for the 10 years, the average (not …
      • 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…
      • Please help answer the questions below, thank you. ¬† What is a function of a loop? Give two examples of specific types of loops and explain how they work. ¬† How is an array used in coding?
      • I don’t know what is table a and b. it just saying that a.playerid, I have no idea what is table a. import pandas import numpy as np import altair as alt import datadotworld as dw #Get BYU-I players a…
      • Python code help Please provide code and description too 1.¬†¬†¬†Given two strings, x and y, return the result of putting them together in the order xyyz, e.g. “Welcome” and “ToCanada” returns”Welcome…
      • 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…
      • py code:¬† import os import sys # this enables printing colors on Windows somehow os.system(“”) # code to reset the terminal color RESET_CHAR = “\u001b[0m” # color codes for the terminal COL…
      • what is an interface what is a constrictor discuss in the precedence when there are global variable and a local variable in the program ith the same name ¬† discuss on the difference between the funct…
      • # Complete the following function to return a random number # between 5 and 8 exclusive import random def getRandom(): # expected output: You should only get 5s, 6s, and 7s for i in range(10): print(g…
      • The following script extracts the text from the https://norvig.com/big.txt file, stores them in a string object, then assigns this string to a variable called data using the requests third-party libra…
      • Hi I need to Write some Python code to create a variable named¬† rankings , which is a list of dictionaries
      • -python a class called rectangle has been defined. it has integer attributes for width and height sthe following appear in the program that imports from the rectangle r1 = rectangle(100,200) print(r1)…
      • I need help writing a program to create two types of utility bills: water bill and electricity bill.¬†Both types of bills have customer’s name and address.¬†They calculate charge differently.¬† (a) I …
      • Write a program that asks the user to enter a distance in kilometers,then converts that distance to miles. The conversion formula is as follows. Miles=kilometers x 0.6214
      • Question 2: Write a program in which you ask user to enter a string in a loop. if user enters ‘Exit’ or if the entered string is symmetrical then you print a “good by” message and finish the execution…
      • Decision Tree Q1 25.0/25.0 points (graded) X1 X2 x3 y 1 1 +1 1 0 -1 1 -1 0 0 +1 Consider the above sample dataset. &quot;x1&quot;, &quot;x2&quot;, &quot;x3&quot; represent features, whereas &quot;y&qu…
      • Reads all words from the file whose name is provided in filename, and returns a list containing all the words in that file. Returns an empty list if the file does not exist
      • I am having trouble getting started with this script. I know how to set up arcpy, my workspace, and variables, but get lost after that Table Of Contents Q X 8 Layers M Gas_Lines final M Future_Develop…
      • Case Study Domain – E-Commerce focus -Optimization Business challenge/requirement GoodsKart‚ÄĒlargest ecommerce company of Indonesia with revenue of $2B+ acquired another ecommerce company FairDeal. F…
      • Why the robot won’t go leftÔľü ¬† ¬† ¬† if currentStateForTask2 == “Go north”: ¬† ¬† ¬† ¬† if northIsWall(): ¬† ¬† ¬† ¬† ¬† ¬† currentStateForTask2 == “Go east” ¬† ¬† ¬† ¬† ¬† ¬† return “EAST” ¬† ¬† ?…
      • Write Pytho function that takes in 2 lists and checks whether they have the same elements in the same order.¬†If the elements are all the same, the function should return the string “same”.¬†If any of…
      • Hello, I need help solving this Lab simulation, It uses Reverse sort of list for Lists and Dictionary statements and I am very new at python on so I need help solving it. It is very difficult. It is v…
      • Write python code please: A file named Harry.txt contains many sentences, Write code to find out : a). How many lines (not sentences, but lines) begin with “Harry”? b). How many lines contain the word…
      • Code the function greedy_predicator without using numpy/pandas Please include explanation of the code &amp; the computational complexity To see the description of the function: Scroll down the informa…
      • match_ends # Given a list of strings, return the count of the number of # strings where the string length is 2 or more and the first # and last chars of the string are the same. # Note: python does…
      • Without IF Statement **READ TO THE BOTTOM* ¬† ¬† ¬† ¬†. Figure 8: Example 3 Hints: This wrap around and carry can occur for minutes too (causing a carry into degrees). The wrap around can also happen …
      • Template ¬† “””Perform credit card calculations.””” from argparse import ArgumentParser import sys # replace this comment with your implementation of get_min_payment(), # interest_charged(), remaining…
      • Please see attached image for question. must be answered in python.
      • Assessment Details The Federation University Australia Robot Wars are about to commence! The competitors are busy training and now it’s time to prepare to sell spectator tickets. Your task is to desig…
      • Need help with this python code. I need the exact output of what the question is asking for. Also this is a website called hacker rank where test cases are required to have met. Thank you.
      • Consider the following code segment: def mutate ( self, newType) : self._type – newType self. mutations – self. mutations + 1 What is the name of the local variable in it: mutate O_mutations new Type …
      • Hi can you help me with this. How would you convert this psudoe code in to actual code. btw I’m using python.
      • Part I: Conditional Probabilities The dataset below shows whether a decision will be made for having an outdoor picnic given different weather conditions. For example, the first line states that if th…
      • List of even integers ¬†. In this challenge, you are required to implement a function that: 1. is named even. 2. takes 2 integer arguments, start and n. 3. returns a list of n smallest even integers g…
      • Please help write code for python, will be using Jupyter Notebook. Finding the birthday month Make a program that: -Asks users’ birthdate in MM/DD/YYYY format and return the month of the users’ birthd…
      • Assessment item 2: – Forest Drawing Value: ¬†15% Due Date: ¬†03-May-2020 Return Date: ¬†25-May-2020 Submission method options: ¬†Alternative submission method TASK back to top In this assignment you w…
      • File = Bankdata.csv URL : https://docs.google.com/spreadsheets/d/1Qn4pdGrhzLjoXy1F871BalEz57rqdsB8OvLd4AbhCbA/edit#gid=1783727779 ¬†Data Preprocessing Q. Explore the dataset to identify the features a…
      • Execute the following programs¬† ¬†Modify 2 and 3 to read names and age from the keyboard 1. class Display: #class name x = 5 #class member show = Display() #create object show print(show.x) #access…
      • Space Explorer (Dictionaries and Sets) Scenario: This is the link for my question : https://nt.dev/s/9b0fe73e06ae?p=b7147c33d1ebc956 All the instructions in the link. You work in a government departme…
      • I tried this code for my first attempt, however, it doesn’t print the correct True or False response: def Sq_magic(inp): size = len(inp[0]) lst = [] for c in range(size): lst.append(sum(r[c] for r in …
      • . e Myhorne X I m [lQJWhati X I a ServerErr: X o Practicals X o Updatede X I u PracticalÔ¨ā x I u Homeworl X I u CourseHe X 3 discount; X + V ‚ÄĒ X (- -) C i github.com/CP140’lfPracticals/’treel…
      • def larger_than_average(input_list): ¬† “””Finds all numbers in input_list greater than the running average ¬† Arguments: ¬† ¬†input_list (list): list of numbers ¬† ¬† Returns: ¬† ¬†A list of all the …
      • 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:…
      • The following programming problem can be solved by a program that performs three basic tasks (Input Data, Process Data, Output Results) along with selection and repetition coding techniques. Problem S…
      • I need help understanding a article from Forbes magazine on data science. ¬†The link to the article is: ¬† https://www.forbes.com/sites/brentdykes/2016/02/09/a-history-lesson-on-the-dangers-of-letting…
      • Given a list of strings, return a new list where each string is concatenated with itself, so ‘cat’ because ‘catcat’. Except omit any strings that contain a lowercase ‘x’.
      • I keep getting this question wrong and I’m not sure what I’m doing is wrong. Assume the availability of a function is_prime. Assume a variable n has been associated with positive integer. Write the st…
      • Write and test a function that accepts a 2d list of numbers, and returns¬† the average, number of rows, and number of columns… ‚ÄĘ For instance sum_2d([[1,2],[2,3]]) should return (2,2,2) ‚ÄĘ NOTE: …
      • ) Convert +38 and ‚ąí24 to 8-bit 2’s complement form and add them. Convert your result back to decimal and confirm that your answer is correct. 4% ¬† 2) What is the advantage of 2’s complement over 1’…
      • I am writing a script in perl to search a FASTA file for protein sequence. I would like to convert the perl script to python script. Can someone help me convert perl language to python language? I wou…
      • how to add a calculation to get combined annual salary for shift supervisor. can you please help me? here is what i have (class Employee: ¬† ¬†def __init__(self, name, id_number): ¬† ¬† ¬† ¬†self.__na…
      • need help with completing code for python example below: ¬∑¬†¬†¬†¬†¬†¬†See below for the input/output data to use and how your output should look. Note the formatting and decimal places in the output …
      • Python Question 3 3. {10 pts.) Write a function menu(name) that takes as input the user’s Ô¨Ārst name, displays the user’s name and the menu options: 1: Deposit 2: Withdraw 3: Check Balance 4: Rev…
      • what is the answer? language is python The following three functions all attempt to implement the algorithm linear search, but with a twist: instead of identifying whether or not the target occurs in …
      • A sleep dept represents the difference between a person’s¬† desirable and actual amount of sleep. write a program that prompts the user to enter how many hours they slept each day over a period of 7 d…
      • In physics, an object that is in motion is said to have kinetic energy. The following formula can be used to determine a moving object’s kinetic energy: KE=1/2mv2 The variables in the formula are as f…
      • Need some explanation for this homework Write pseudocode for a Python program that makes 100 dice rolls with a single 6-sided die and displays the number of times each side appeared. Turn in the two m…
      • A protected member of a class may be directly accessed by Select one: a. Methods of the same class b. Methods of a subclass c. Methods in the same package d. All of these Question 2 A subclass class c…
      • Start with the following Python code.¬†¬†¬† alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬†¬† test_dups =¬†[“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]¬† test_miss = [“zzz”,”subderm…
      • Part:01: Compute a python (Tic-Tac-Toe ) program which should include at least one of each of the following: ¬† ¬†a) container type (list, tuple, set, or dictionary) b) iteration type (for, while) c) …
      • Here is the Assignment. I’ve been struggling trying to get this python program to run with three tuples. I’ve been able to get the program to run with one tuple, and a for loop; but I’m having difficu…
      • shirt = { “brand”:”Gucci”, “size”:”Large”, “price”: 200.00 } how do you¬†print¬†the above dictionary?
      • double_hero = “” supe = ‘superman’ bat = ‘batman’ for letter in bat: if letter not in supe: break else : double_hero.append(letter) continue print(double_hero) a) the empty string b) b c) bt d) aman e…
      • Fill in the blank to make the while loop iterate one million times. i = 1 while ________: # loop body statements go here i = i + 1
      • Solve computational problems using structured programming. Do NOT use global variables. (a) The text file, sales.txt contains product sales data, as shown here: ¬† ¬† ¬† pencil 2 ¬† ¬† ¬†lead 2 ¬† ¬† …
      • Write only the relevant code segment for a grading system with an¬†¬† if … elif …else…¬† construct and using appropriate relational operators. A student’s grade is worked out with the following …
      • I need help creating a second turtle. questions 3 &amp;4 #imports modules import random import turtle def isInScreen(win,turt): ¬† ¬†leftBound = -win.window_width() / 2 ¬† ¬†rightBound = win.window…
      • Hi there, I need this question to be answered in python please! I want to ask a user how many dice they want to roll (1-5) And then I want to ask a user how many times they want to roll the dice (1+) …
      • Complete the function to print the first X number of characters in the given string # Complete the function to print the first X number of characters in the given string def printFirst(mystring, x): #…
      • def get_certification(takeoff,student): ¬† ¬†“”” ¬† ¬†Returns the certification classification for this student at the time of takeoff. ¬† ¬† ¬† ¬†The certification is represented by an int, and must …
      • Write a method dynArrayAddAtl…) that adds an element at a particular index in the dynamic array. It does not overwrite a value, but rather adds a new value. Your method must be able to handle reallo…
      • The Reference Monitor Should: Create two copies of the same file (filename.a and filename.b) One is a valid backup to read from, and the other is written to When an app calls ABopenfile(), the method …
      • hello , MY program showing indentation error , could you please verify my code and let m,e know where i am wrong . import pandas as pd import numpy as np import datetime ¬†¬†¬† def transform(df):¬†¬†?…
      • I’m having trouble defining this function. I know I have to use the string methods, which are allowed, in order to filter the string and get rid of spaces, whilst also checking for ( ), |, x, and digi…
      • 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 a program to define a variable to store a dictionary with the following data (hard code the data = define the content of the dictionary directly in your code, do not read it as input): Reaga…
      • Class Musician Private String _name Private Integer _rating Private String _song Public Module Musician(String name, Integer rating, String song) Set _name = name Set _rating = rating Set _song = song…
      • Predict the output that will be shown when this program executes: def mystery (values) : values . append(10) values = return values values = [7, 8, 9] mystery(values) print(len(values))
      • 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 target amount and a l…
      • Many studies have been conducted to describe the relationship between the trade activity(volume) and the price change. Ask (Sell) and Bid (Buy) orders on the border book might signal the direction of …
      • What are the best programming projects that suits in 1st year civil engineering? Please give me at least 5. ūüôā¬† E.g.¬† ¬†. Example Project: length computation (with conversion )of… …distance betw…
      • 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…
      • py code import numpy as np from scipy.interpolate import griddata class steam(): ¬† ¬†¬† “”” ¬† ¬† The steam class is used to find thermodynamic properties of steam along an isobar. ¬† ¬† The Gi…
      • Hi, I need to finish the following hw in Python. Really need the answers as soon as possible. ¬† 1. Download the Titanic Dataset from here: https://www.kaggle.com/brendan45774/test-file¬† 2. Import th…
      • Please help for this problem class history_dict ( dict ): ¬†¬† def __init__ ( self ,n) : ¬†¬†¬†¬†pass ¬†¬†¬† ¬†¬† # Prewritten: ensure your attributes in __init__ are _counts and _history ¬†¬† def see…
      • need a python script : python v.2.7 The python script must count the number of distinct odd integers in the input file below: 49 609 881 181 731 539 249 817 267 749 657 737 505 393 985 3 305 595 71 31…
      • Need help with this python code. Differentiation Consider the following expression for y: y(x) = arcsin (x8 ) Vx. Solve for dx2 symbolically. Store your result in a variable secondder , which should b…
      • 2. Write a program that takes inputs from user until a 0 is entered and then counts the total number of positive numbers entered. (e.g. 10, -5, -3, 21, -4, 0 should result total number of positive…
      • 4 Find EMPLOYEENUMBER, EDUCATIONFIELD, JOBROLE for all the employees whose AGE is greater than equal to 55 and ATTRITION is YES (10 points) &gt; subset(data, Age &gt;- 55 &amp; Attrition — ‘Yes’, sel…
      • Computer Science Python We will use the UDP example for this assignment (Setting up UDP on ESP8266). This example is one of many way to broadcast messages and for assignment there are not “requests” j…
      • 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 strin…
      • Please read the Storm Location dataset (posted on Canvas) in a Pandas DataFrame and output files in csv format in the same directory as your file with the same YearMonth in a file and sorted by Event_…
      • find the area triangle formed by the given three points. (0,0), (2,5), and (5,2) in calculus. by using integral
      • The colors red, blue, and yellow are known as the primary colors because they cannot be made by mixing other colors. When you mix two primary colors, you get a secondary color: When you mix red and bl…
      • def average_consumption(filename. sector: , energy=&quot;”): Description: Compute the average consumption in a sector for a speciÔ¨Āc type of energy. Think of this as computing the average of every…
      • Buon Appetito! In this homework you’ll write a parser which is capable of taking in a CSV (Comma Separated Value) file of a restaurant menu and print the names of the items that make up the most expen…
      • Define a function called¬† max_in_list ¬†that returns the maximum value from a list of integers. If the list is empty, your function should return False. my_list = [1,15,73,3,6,10,24] print(max_in_lis…
      • Please provide the Python code for the following question: ¬† Starting code is given below for main.py file: ¬† ===========================main.py================================== def main(): ¬† ¬†pr…
      • HELP PLEASE Here is the general syntax for a decorator that accepts no arguments: def decorator(decorated_function:callable): ¬† ¬†def wrapper_function(*args, **kwargs): ¬† ¬† ¬† ¬†#this is where we m…
      • I have a dataset named ‘SomeNumbers.csv’. I need to : Describe the data: state the size and shape of the dataset and the nature of the numbers enclosed. Plot a normalised histogram of the data. These …
      • TASKS ¬† 1.) ¬†Write and test a program that computes the area of a circle. This program should request a number representing a radius as input from the user. It should use the formula 3.14 * radius *…
      • QUESTION 1 Please develop a program to ask the user to enter how many students took the exam. Then the program will prompt the user to enter the grade each student got. Your program will then find and…
      • Question 1: I 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 read fro…
      • i need in this flowgorithm. w AutoSave Off CIS 106 Session 2 Problem Statements – Basic If – Compatibility Mode . Search (Alt+Q) jazzy m File Home Insert Draw Design Layout References Mailings Review …
      • Tax laws are incredibly complicated. In order to help cope, you will write program to do some of the heavy lifting. Your program should accept as input the amount of income made by the user in the pas…
      • #create the function named exampleSix,that will have three input parameters array, number, string #remove an element from input array under the index indicated by second input parameter #replace secon…
      • Use zip() and a list comprehension to return a list of the same length where each value is the two strings from L1 and L2 concatenated together with connector between them. Look at the example output …
      • Need the answer immediately 3. Oman Arab wants to calculate the amount required to purchase new computers for their staffs. Write a python program to solve the above problem using fruitful function wi…
      • North-East Paths In a special town where pedestrians are only allowed to move northwards or eastwards, each of the following examples shows the total number of unique NE-paths, ne(x, y), to get fr…
      • Study the Fabric API run(), sudo(), local(), and put() and utilize them to create four new Fabric tasks called: addUser(username) findUser(username) listUser() listSysUser() The addUser(username) task…
      • 60% of your code can be perfectly parallelized and executed on different machines (i.e. f = 0.4). a) how much speedup do you expect with 6 machines? b) how much speedup do you expect with the infinite…
      • Dice class. Use the random module to generate random numbers using randint(). Make a class named Die with one attribute called sides which has a default value of 6. Write a method called roll_die()…
      • Moving further, Brinda works on the next topic and for better understanding, she writes a code that searches the details of her colleagues either through contact number or by address. Let’s get along …
      • Write a function decipher(s) that takes as input an arbitrary string s that has already been enciphered by having its characters “rotated” by some amount (possibly 0). decipher should return, to the b…
      • Write Python function named¬† bar ¬†that takes two arguments: The first argument will always be a dictionary that has numbers as values. The second argument is named¬† x , and it defaults to 1. The fu…
      • i’m having problems with syntax errors in my code and my tabular table is jumbled could someone help me resolve my errors here’s the code hexdec = input(‘Enter a hexadecimal number:’) if hexdec == ‘4’…
      • 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 …
      • Writing a program using basic python tools. Explanation or docstring would really be appreciated, This is for a first year computer science course so keep it simple please. Thank you ! Output For the …
      • In the list here : https://paste.ofcode.org/8azP7bYgRvJGmQsPAnvzj4 The first element of each tuple inside the list is a node that points to another node. I am trying to find out the number of links go…
      • Write a Python program that uses a while loop to prompt the user to enter a series of integers until the user enters “Exit” to end the loop. The program should output the smallest, largest, count, and…
      • The Fibonacci numbers are the numbers in the following integer sequence. For example, 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, … In mathematical terms, the sequence ūĚźĻūĚĎõ of Fibonacci number…
      • In what scenarios would we need to use an infinite loop? detailed explanation thanks python programming
      • I need another set of eyes on this program. ¬†The prompt says: Program that first reads in the name of an input file and then reads the input file using the file.readlines() method. The input file con…
      • Write python code to: 1. Create 2D-array (identified by variable name `X`) with dimensions of 8×6 using randomly generated numbers in the range (-10,10).¬† 2. Using the created array `X` above, cre…
      • Implement a program called genes.py that does the following: a. Reads a DNA sequence t as command-line argument b. Reads strings (one by one) representing genes from standard input until EOF (use the …
      • 6 Moon’s orbit O This lab will be available until March 1st, 11:59 PM MST This section has been set as optional by your instructor. This zyLab is not required for the Final Project/Exam. It is prov…
      • Attached i have my script and an error message i am getting, i was wondering if anyone knows how to fix it, in my script i have “san = ” and when i try to do lab check script it gives me an error, i …
      • programming Expected output: 0. I’m Paul (0) . 0. I’m Paul (0) . 1. I’m Simon (0) . 1. I’m Simon (5) . 2. I’m Art (0). 2. I’m Art (6) . 3. I’m Garfunkel (7) . 3. I’m Garfunkel (34) . from thing import…
      • Given the following menu driven program below, add a while loop that will ask the user for their next choice, but if the user enters “3” as a choice the program will end.¬† Note currently on a user ch…
      • Add (and test) several functions to a4.py that should produce the correct results as described in this specification. The crimes_in_ottawa.csv , a4.py , a4_results.txt are below the question. a4.py: i…
      • I’m in an IT140 class for introduction to scripting and we supposed to write a game to move between rooms. I have the below but none of my commands move between the rooms like I want. Can you help? ¬†…
      • Find a code in python for the data in the link : https://drive.google.com/file/d/1MuyGf89srOt56r-itLa61qhKCzWHkDGr/view?usp=sharing First 10 lines of the data : The data set is “adultincome.proc.csv”….
      • Please provide explanations to your answers below Write the missing code so that executing the code below prints True. L1 = [4, 0, 2] L2 = [‘abcd’ , ‘ef’ ] result = True for i in range ( len (L1) ) : …
        • Explain the intrinsic value of “data” and how organisations can make use of that value. (12 marks) b) Outline and discuss the concept of “data modelling”. What features characterise a good data mod…
      • Assume that a file named grades.txt. It has a series of records, each with two fields – a name, followed by a score (an integer between 1 and 100). how to display the name and score of the record with…
      • Please I need help to complete step 6. I am team thunder. ¬† ¬†. Step 6: Descriptive Statistics: Relative Skill of Your Team The management of your team wants you to run descriptive statistics on the …
      • http://prntscr.com/laz7vx How do you generate a deck of cards that has 4 suits and 13 ranks, I used import random to start with but creating the function body is what I’m struggling with. The first nu…
      • Inside file palindrome.py, create a function is_palindrome(s) that returns True only if the string s is a palindrome. A string is a palindrome if it contains the same sequence of letters when read bac…
      • A number, a, is a power of b if it is divisible by b and a/b is a power of b. Write a function called is_power that takes parameters a and b and returns True if a is a power of b. Note: you will have …
      • I have a question on how to resolve a Python problem, where I need to declare statements that declare the following variables: firstName ¬†of type string and¬† studyHours¬† of type float. ¬† Then I ne…
      • Your task 5: Write a function evaluate(string) in Evaluation.py file which evaluates infix arithmetic expression string. It evaluates an infix expression string and return the value of the expressi…
      • I need help with this code: rom statistics import mean ¬† import matplotlib ¬† matplotlib.use(‘Agg’) ¬† import matplotlib.pyplot as plt ¬† from collections import deque ¬† import os ¬† import csv ¬† i…
      • Question 10. a)¬† Write a generator function called¬† gen_powers ( x, n ) that generates the first¬† n ¬†powers of¬† x , beginning with 1¬†(x0, by definition). So,¬† gen_powers (x, 10) should generate…
      • . a) This program will be exploring a list containing information about scores in a game. The list will be organized such that the first element is a string stating a p…
      • Theory : Solve the Naive Bayes exercises given below. Reformulate NB to emphasize title words. ¬† Implementation : You will implement and experiment with various feature engineering techniques in the …
      • Your good friend, Johnny, who also lives in Manchester, is turning 18 in a few months. To celebrate the occassion you would like to give Johnny a birthday card that has been signed by all of his frien…
      • I got the error here but I cannot fix it, so could you please help me to fix my error? Thank you so much in advance! FYI, the error says: TypeError: Singleton array array(0, dtype=int64) cannot be con…
      • My script runs great, but it doesn’t print! I am struggling with this printing numenclature, please help. ”’ The task is broken down into three sections. Section 1 – User Input Section 2 – loop throu…
      • create python program has three buttons, when i click the button will turn on video from youtube , three buttons means three videos. ¬† use tkinter
      • Could you aid with this. Please make sure to use 2-D lists, make sure there is only 1 return statement in the function, seperate the function and the main file and use .format (format for python). Tha…
      • I need the code below to calculate Distance Traveled through Speed &amp; Time Driving Versus Miles Per Gallon. I am unable to get the formula to work correctly. First code will be the example, and the…
      • I want to get help with my assignment, please help me. And here is the instruction for my assignment. And here is the file of “game_test.csv”, “games.csv”, “game_train.csv”, and “example_submission.cs…
      • IN PYTHON Write a function contains_at() that accepts two sequences (e.g., lists, strings, etc), s and q, and an integer p. Informally, your function should return True if, s contains all of the eleme…
      • What is the flowchart of following code? 52 string = input(&quot;Enter the string : &quot;) 53 sub_string = input(&quot;Enter the sub_string : &quot;) 54 print (&quot;string : &quot;, string, &quot;\n…
      • . Socket Programming Assignment 1: Web Server In this lab, you will learn the basics of socket programming for TCP connections in Python: how to create a socket, bind it to a specific address and po…
      • please help me with this question (question 1) Functions file: fourdef.py Restrictions: -this function file cannot use: sort, sorted, max, sum -you may have no code in this file that is outside of a f…
      • Dataset: https://drive.google.com/file/d/10Mtkt6CmPl4bE7WJhjQdlObhQb9n_aTZ/view?usp=sharing ¬† Jupyter Notebook: https://drive.google.com/file/d/13mEiQUNCH4ETHyLvHQb50kk1q2F5HHB1/view?usp=sharing ¬† S…
      • 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…
      • You are a network engineer at a telecom company and your client has several offices all across India. Your client wants to connect all his offices with each other by leasing phone lines from your comp…
      • sales = input( ‘Please Enter Total Sale: ‘ ) print ( ‘Total Sales: ${}’ .format(sales)) profit = round(0.19 * float (sales), 2) print ( ‘Profit Amount: ${}’ .format(profit)) Hello, I try to run this c…
      • Winning Strategy: If the number of coins is a multiple of 4 (e.g., 20), second player (e.g., Player 2) can win the game if winning strategy is applied correctly. If the number of coins is NOT a multip…
      • https://docs.google.com/document/d/1GAML9tYDOjRNgavUtxI0I9jz_duwVIbj/edit?usp=sharing&amp;amp;ouid=116741883514647925557&amp;amp;rtpof=true&amp;amp;sd=true
      • String replace (Python) – time estimate 20mn Write a function replace latest slice () which takes a string query, and changes all occurrences of latest slice: :&lt;table&gt; to (SELECT * FROM &lt;…
      • The project is in github. Here’s the link:¬† https://github.com/arjangcore/DigitRecognizer ¬†¬† 1) On the server side, keep track of how may training set we have given to the system so far for each …
      • Escribir Write an e-mail to your parents telling them what activities four of your friends enjoy, and where these activities occur. ¬† It’s for elementary Spanish class
      • create a function named¬† processFiles¬† that takes a list of strings named listOfFileNames¬† as a parameter. The function should print the total number of words in all of the files in¬† listOfFileNam…
      • 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…
      • I have tried to solve to codes below, but I cannot seem to get a proper answer with python. Can someone help?
      • So I’m kinda stuck here : Kinda new to functions We are supposed to edit this demo function : def print_example(first, last): for index in range(4): print(first, end = “”) print(last) return None¬† to…
      • Task 2 Create a python file called Yourname_task2.py for this task.( ensure to include your details at the top of the file) Person: Create a class called Person. The __init__ () method for Person clas…
      • https://drive.google.com/file/d/1KbzotCLg3nmAXCUr31Ba7_4LpsbNyicg/view?usp=sharing ¬† Question Using the dataset from google shiare linked ( mosquitos_data.csv ) in the folder, write Python code to: C…
      • COMP120 – Software Engineering FundamentalsTerm ProjectGuidelines (Due 12thweek)Week 12 Lab class is the due for Group presentation which is 15% worth of your final mark.Group size: 3 members in a tea…
      • When using python language explain what does “Software Development Life Cycle Models and Methodologies” mean and why is this important when building a program in python. If possible give a good exampl…
      • Hello everyone! ¬† ¬† ¬† ¬†i need to fix the code in the &lt;script&gt; tag so so that when the inputs are focused, a red frame is added. Event handling should happen on the formElement. ¬† ¬† ¬† in H…
      • I need help with this python program that involves palindromes. All the details are going to ¬†be provided below. Now I am going to be providing the the text files that are used to test this program: …
      • How can I produce a list of values from a specific row in a csv file along with their frequencies using python juypter?
      • Type the program’s output number = 9 print(f’Binary: {number:b}, Decimal: 9′)
      • Write the program that prompts the user to enter an integer for todays day of the week. Also prompt the user to enter the number of days¬† after today for a future day and display the future day of th…
      • # Q2) def compute_stats(): “”” Write a function¬† compute_stats , such that¬† given¬†a string of grades¬†as an input parameter, it calls the function get_new_grades (defined in the previous question) …
      • The Task: The full file can be found on Kaggle : https://www.kaggle.com/AnalyzeBoston/crimes-in-boston Your job is to code a Python 3 program that uses the provided file and answers the following ques…
      • Q4c Define an instance method for the Product class. Method name price_in_str Method type This is an instance method Parameter(s)/ When the method is called, no argument is required. argument(s), not …
      • in python 3 please, Write function max_magnitude() with two integer input parameters that returns the largest magnitude value. Use the function in a program that takes two integer inputs, and outputs …
      • I need to describe how tuples can be useful with loops over lists and dictionaries, and give Python code examples. Create code examples.¬† descriptions and examples should include the following: the z…
      • def get_elevation_maps(maps_file: TextIO) -&gt; list[list[list[int]]]: ¬† ¬†“”” ¬† ¬†Given an open csv file &lt;maps_file&gt;, read the file according to the ¬† ¬†specification and return all the elev…
      • could you help me???could you help me???could you help me???could you help me???could you help me??? 3 questions Define a function named volume_ ideal gas . It consumes 3 arguments pressure , num_ mol…
      • PYTHON ONLY PLEASE. THANK YOU! ūüėÄ Please add comments and explanations below. I appreciate your help.¬† ¬† 1. Modify the Guess My Number game ( code below ) by reusing the function ask_number().¬† ¬† …
      • attached photos are the question and framework provided.
      • . COMP 216 – Networking for Software Developers In this Assignment we will build a simple graphical application that is responsive and that uses basic widgets and demonstrates event handlin…
      • Write the function called¬†fact¬†that recursively calculates the factorial value of its parameter, which is an integer value.
      • Suppose I have a panda df named (rec_df) like the one below. Please help me with the function at where. ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†event_day¬†¬†¬†¬†¬†¬†¬†firm action Date¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†?…
      • Implement a number guessing game where a player will get up to seven chances to guess a mystery number in the range of 1 through 100. At the beginning of the game, the program will generate a random n…
      • Hello,¬† I have made an attempt to translate this code from Python 2 to Python 3 to run this simulation and add additional features using a open-source package software. However, I still encounter an …
      • Need help with a Data Manipulation project. Project description below: The data being used is the FOIA data gathered from the city of Ann Arbor on parking tickets. The repository is made up of a set o…
      • # I am allowed to use the math library and the sqrt() function #NO TRIPPLE NESTED FOR LOOP is ALLOWED. Can use 2 at most. Hint: use sets # I need to write the function contains PythagoreanTriple(a) th…
      • which model should i choose and why?? D Question 35 5 pts A popular cosmetics brand wants to launch a new line of lipsticks and is interested in identifying factors associated with the sales of a lips…
      • python code that prints 15 most common words on any selected website?…please packages such as beautisoup should not be used, html parser should simply be extended. thank you
      • I need help in the last two parts(2-3) look at the file¬† using python 3¬† using the following commands¬† Do not use break in the codes CMSC 201 Spring 2016 Homework 6 – Nested Loops, While Loops, a…
      • Writ a Python Program that encrypt and decrypt a text file (example.txt which contains only “Hello World Omar” text) using the RSA algorithm given in class with the illustration of the signature step …
      • # feel free to use this cell for &quot;scratchwork&quot; (e.g. data exploration). # Place your actual solution in the cell below # your solution
      • Start with the following Python code.¬†¬† = “”¬†¬† test_dups = [“zzz”,”dog”,”bookkeeper”,””,””]¬† test_miss = [“zzz”,””,”the quick brown fox jumps over the lazy dog”]¬† # From Section 11.2 of:¬† # Dow…
      • Option #1: Integrating MySQL Table Data with a Python Script This week’s Critical Thinking assignment required a Python script be created to update the &quot;world_x&quot; database population. The ob…
      • HELLO HELP THIS PROBLEM For this programming assignment, we are going to investigate how much “work” different sorting routines do, based on the input size and order of the data. We will record the wo…
      • Need help with the code listed in the screenshot. Need to ask the user the teattype they prefer, and how the color is assigned to their choice. For example, if the user selects “Herbal” the fil color …
      • Using a dictionary with string keys and integer values, implement a simple database for tracking different¬† items and their quantities in inventory. That is, for a dictionary dict, dict[‘apples’] == …
      • I need to write a python program but I am stuck (a) Generate 5 random integers in the range of 5 to 40, inclusive. Store the random integers in a list. Name it list1. Display list1. (b) Generate 5 ran…
      • Digital Ribsome .i Didnt find the soloution of it ?. #%%% Project Option 1: Digital Ribosome III Explain and justify your choice of test cases in this documentation comment. You may wish to define mul…
      • I NEED THE CODE IN PYTHON for my answer!!!!!!¬† ¬† Design an OOP System for an Elevator. Your design that you submit should at least 3 classes / entities that you would define. Tips: 1- Think of high-…
      • Need answers for this question. Sherlock and Watson are playing a game named Maximize the Score
      • Please Do not use any library (regular expressions) to solve this problem. Assignment 6 Question 5 (20 points) A website requires the users to input username and password to register. Write a program …
      • I need help making an avoider game for python: Download the starter code from this shared folder¬†(Links to an external site.) . ¬† ¬†https://drive.google.com/drive/folders/1D8nWBhH85parnbZTg2LNLCBFJW…
      • Summary: Watch the following interview for Python: ¬† ¬† Play Video Python interview with a Google engineer: Coin Change ITS A YOUTUBE VIDEO ON ¬†INTERVIEWING.IO CHANNEL. AFTER WATCHING THIS VIDEO ANS…
      • . Question 1 Use your understanding of the building blocks of computers and programs to answer this question. You are given the following code segments: (a) 1 a, b = 16, 5 2 C =0 3 while True: 4 if …
      • help with simple python coding, please! I need help writing a code as described below. please write it or break down the parts and how to write those individually. I’m very stumped and could use any a…
      • #Design and code a structured into a Python program !!!!!!!!!!!!!!!!!!!!!!!!! # Making a Call from twilio.rest import Client account = “ACXXXXXXXXXXXXXXXXX” token = “YYYYYYYYYYYYYYYYYY” client = Clien…
      • I’m supposed to find the first k (senior) customers who have churned and return only the customerIDs of the first k customers(ordered by their IDS).¬† ¬† Using: .json stored in Firebase database with …
      • Could someone assist me with this activity? read an existing .csv file, and display a bar chart or histogram of the name of the player and the number of tries for each game.
      • Project 1: Book Recommendations CS 1410 Background When buying things online you have probably noticed that you are often presented with other items that “you might also like” or that “other customers…
      • # Michael Syjud’s Text Adventure Game # Define the global variable for storing current position, inventory and available moves in a position CURRENT_POSITION = “Home” ITEMS_ON_HAND = set() ¬†# invento…
      • Cubic numbers are whole numbers which have the distinction of being equal to the sum of cubes of their numbers. For example, 153 is a cube number because we have: 153 = 1¬≥ + 5¬≥ + 3¬≥: Write a Python…
      • can you please please help me I need it soon. can you help me to add some steps(which are below after the code) in the below Twitter scraper code. # Python Script to Extract tweets of a # particular H…
      • how can i add my datasheet here so that you can help me with python code?
      • Write a function¬†isRed()that accepts a string parameter and looks for the presence of the word ‘red’ in the string. If it is found, return boolean¬†Trueotherwise¬†False. Finally output the result of …
      • Dictionary = [‘abate’, ‘abbey’, ‘abet’, ‘abhor’, ‘abide’, ‘able’, ‘ably’, ‘abort’, ‘about’, ‘above’, ‘abuse’, ‘abyss’, ‘ac’, ‘ace’, ‘ache’, ‘achy’, ‘acid’, ‘acne’, ‘acorn’, ‘acre’, ‘acrid’, ‘act’, ‘ac…
      • In python. Convert for loop into while loop, and convert if else statements into while or for loop: ¬† def list(): ¬† ¬† ”’ List all the terms (no definitions) that are in the dictionary. ¬† ¬† Once …
      • Exercise 1: Letter transposition One technique used in data encryption is transposition. A simple example is to rearrange characters using a key of indexes, like: Transposition Key 5,3,4,2,0,1 Input a…
      • I need help with filling in the y_pred and some variables in second pic. ¬† There are links that can be helpful to write the code. The file for notebook is also in zip file. ¬† https://drive.google.co…
      • Part 1: Let’s start by creating some tables to store our data — we’ll first have one containing some product information. Products have: a name (TEXT) a description (TEXT) a unit cost stored in cents…
      • You have been hired to help write the software for an automatic change dispenser, the kind you see attached to a cash register that automatically dispenses the right coins depending on the amount of c…
      • Exercise #8 Create a Line class using the class skeleton below. Fill in the code needed for each function. (Hint: coor1, coor2 are tuples) class Line: ¬† ¬† def __init__(self, coor1, coor2): ¬† ¬† ¬† …
      • Please help me with this python code on activity 2 and 3. ¬† Link for the CSV file: https://drive.google.com/file/d/12ZWhzAK9EtwKMK3EhuGRVsmSNEGXH6mU/view?usp=sharing. Activity #2: Calculating and wri…
      • Any help you can provide is appreciated. The second image is the instructions and gives an example of how it should look. I am confused about all of it, but I am most confused about how to have a user…
      • Select one of the project ideas below and develop a Python application that meets the requirements described below: Project ideas : ¬† ¬† Expense tracker: the user should be able to enter expenses per…
      • The following program calculates some information regarding final and midterm scores. Try enhancing the program by calculating the average midterm and final scores. ¬† ¬† #Program to calculate statist…
      • 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…
      • Every time I close the turtle window without waiting for the program to finish running, it gives me a traceback error. Only time it doesn’t give a traceback error is when it finishes running and I clo…
      • I need a code that multiplies two 30 digit numbers not using multiplication or math functions or libraries in python. Multiply two Boidigit numbers not using simple multiplication or math functions or…
      • With all respects, kindly help with this code.¬† ¬† The output of your function should be a list of tuples, in which the first element of the tuple is the word that was searched for (either the keywor…
      • Lab Instructions: Description: Krannert Specialty Motors is a unique auto dealer that sells both brand new and “lovingly driven” high-end automobiles.¬† In addition to car sales, KSM has been experime…
      • I am trying to use Pylint with my program and I am getting alot of errors. can someone help me with these errors? my code: import pandas as pd import numpy as np import matplotlib.pyplot as plt def lo…
      • Create a new crontab installation to execute the script in step 1. (20 points) Reference¬† Job Monitoring Use “crontab -r” to reset your crontab file. Edit your crontab file. ¬† I prefer that you use …
      • 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 characte…
      • Load the AMZN.csv data as a Pandas DataFrame. The file contains the stock price values for Amazon over the last year. Numbers 2-5 needs be a single line of code.¬† 1. Extract the year from the Date co…
      • What command reads just 5 characters from a text file? Group of answer choices stuff = text_file.read(5) stuff = read.textfile(5) stuff = text_file.seek(5) stuff = text_file.readline(5) How can you de…
      • 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…
      • Using the website below download the file shown below the URL: ¬† https://catalog.data.gov/dataset/united-states-covid-19-cases-and-deaths-by-state-over-time ¬† United_States_COVID-19_Cases_and_Deaths…
      • I am stuck, Help. Write a while loop that prints from 1 to user_num, increasing by 1 each time. Sample output with input: 4 1 1 =] 3 user_num = int(input()) # Assume positive user_num = i 7 while i &l…
      • A Graph is a non-linear data structure consisting of vertices (nodes) and edges (links) connecting the vertices. In this question, you are expected to create a Graph class with a set of respective fun…
      • Hi, can you help me work on this? Person: Use a dictionary to store information about a person you know. Store their first name, last name, age, and the city in which they live. You should have keys s…
      • [[‘7000’, ‘Ft. York / Capreol Crt.’, ‘43.639832’, ‘-79.395954′, ’31’, ’20’, ’11’, ‘True’, ‘True’],¬† [‘7001’, ‘Lower Jarvis St / The Esplanade’, ‘43.647992’, ‘-79.370907′, ’15’, ‘5’, ’10’, ‘True’, ‘Tr…
      • hi i have to make a pig dice game in python. i have most of the code already done but am having trouble with how to get the game to exit when hitting x. here is the code I’ve got so far. #imports a ra…
      • : The government now requires that DNSs should now maintain a secret blacklist of IPAs that must not be returned, even if the domain name exists Without changing your DNS class from problem 1, define …
      • Python 3 Description In this programming assignment, you are required to implement the k-means algorithm and apply it to a real-life data set. ¬† Input The provided input file (“places.txt”) consists …
      • need a python script : python v.2.7 The python script must count the number of distinct odd integers in the input file below: input file {95, 859, 667, 219, 559, 651, 265, 407, 131, 841, 459, 593, 829…
      • get_keys: This function takes a string as input and returns an list of integers. The elements of the list correspond to the position (counting from 0) of each character in the string as a letter of th…
      • I am working on CIS123 2.6 and I can not get the program I wrote to work correctly. ¬† The code I used is the following: ¬† import random as r import os ¬† def CreateAPhrase(): ¬† ¬† ¬† ¬† noun = (“pu…
      • Use the code below as your main in all problems. All problems require the three functions, submit, summary, reset. Add a display option to the main, and include a display function as well. ¬† quit =¬†…
      • [bank.csv file url : https://modu-eatsuda.tistory.com/19] ¬† 1. Read the bank.csv file and assign it to the bank_df data frame. 2. Check the number of null values ‚Äč‚Äčin the data. 3. Plot the distri…
      • 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…
      • I’ve implemented the following functions, but I still cannot pass the test cases. I need help figuring out what changes need to be made to pass the test cases. I have provided the code and the test ca…
      • Ask the user to enter a name or ‘q’ to quit 2.¬†¬†¬†¬†While the user has not entered ‘q’ ask the user to enter an amount “account balance” 3.¬†¬†¬†¬†Ask the user to enter a number “amount” 4…
      • Let’s assume, there are eight different pokemons: Vaporeon, Jolteon, Flareon, Espeon, Umbreon, Leafeon, Glaceon, and Sylveon. As input, you will be given length of a pokemon and some letters of that p…
      • question: find a code to correlate Bank Prime Loan Rate¬†(DPRIME)¬† from FRED and Consumer Price Index for All Urban Consumers: All Items in U.S. City Average¬†(CPIAUCSL) for the last 10 years using p…
      • Which of the following statements does not represent a valid characteristic of use case diagram? 8 Select one: of 18 O a. A use case diagram must include a boundary b. A use case diagram must contain …
      • In your bin directory, create the file tarchiver.py, and populate with our standard beginning: #!/usr/bin/env python3 # tarchiver.py # Purpose: Creates a tar archive of a directory # # USAGE: ./tarchi…
      • In the output there is a space between the colon : and Enter. Like: Jordyn, Enter ‘boy’,’girl’, or ‘both’: Enter(wrong)¬†has a space – ¬†there should be no space between the ‘both’:Enter(right) accord…
      • # Make a Python function that will take in any number of orders of food from # ¬†Food deliveries The function will print each order in only one row. can someone fix my code and explain how it works de…
      • Create a pandas times series, s, with n random integers between 0 and n, for n days starting from 1 / 1 / 2010 plot the cumulative sum on a chart. The data range should be an index.
      • I need to write a code to populate an html file with basic file information using Python 3.9.6. ¬†I have two python files (one that asks the user to input their budget information and another that ana…
      • Can I get the code of the problem below? I am adding instruction that I was provided to help the instructors for better understanding. I would also need a brief document describing the kind of poem yo…
      • I need help with the following question. Thank you! ¬†. What is the difference between a class and an object in Python? a. There is no difference between a class and an object b. Classes are ma…
      • I am working with this dataset in Python. Could anyone help me understand the question “Select the measure and dimension variables from your dataframe, apply the summarize_data() and modify as needed …
      • Write Python code using data “IMDB_data” to¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† Load CSV in python by skipping second row.¬†¬†¬†¬†¬†¬†¬† ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† …
      • Please help with this function: recursion method def selectM (x, k) : &quot;Returns: the kth smallest value in x selected using a middle splitter, using RECURSION. If x is even-length, define &quot;mi…
      • Write one python program. The program needs to handle data from files (open, read/write, delete to handle data). It uses exception handling – try and except to catch and handle exceptions.
      • Contents Introduction Assignment Overview Part I Specification – Writing a Python Module (List Manipulation) N Practical Requirements (Part I) A Stages (Part I) Stage 1 – Setting Up . . Stage 2 – Impl…
      • Consider the following code: int function(int a, int b) { ¬† ¬†int result = 1; ¬† ¬†if (a + b &gt; 0 ) ¬† ¬†{ ¬† ¬† ¬† ¬†return -1; ¬† ¬†} ¬† ¬†if( a &lt; 0 ) ¬†return 0; ¬† ¬† ¬† return result; } Ple…
      • how to create code to display a photograph with a purple or sunset filter
      • What is printed by the following statements? name = ‘Barnacle Bill the Sailor’ print(name[len(name)-1])
      • I asked this question previously and was told to enter flavorList= sorted.(flavorList,key=str.lower) but that did not work. Here is the full code for a better view. Really need assistance with this.
      • Write a function¬†sublist_of_sum(lst, x), that returns the first sublist of¬†lst¬†that sums exactly to¬†x. Otherwise, it should return None if no such sublist exists. Function header:¬† sublist_of_sum…
      • This is Python, Thank You! Write a function called¬†addNumbers(start,¬†end,¬†divByN)¬†which¬† returns ¬†the sum of all numbers between¬†start¬†and¬†end¬†(inclusive of¬†start¬†and¬†end) that are di…
      • Write code in python ¬† Implement Stack and test your code with five (5) instances of a URL class (with three data members and related methods).
      • You’ll need to use linear algebra to implement this algorithm, but for now let’s write a function that finds the transpose of a matrix, an integral part of the formula for using this algorithm.¬† The …
      • What will be the errors when the following program runs? assessments= [2,3,10,5,5,25,15,35] total=0 for item in assessments: ¬†¬†¬†total=total+assessments print(“Average mark=”,total/assessments)
      • a)¬†¬†¬†¬†¬†Study the “dataframe” below and answer the questions that follow. ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†Column1¬†¬†¬†¬†¬†¬†¬†¬†Column2¬†¬†¬†¬†¬†¬†¬†¬†Column3¬†¬†¬†¬†¬†¬†¬†¬†Column4¬†¬†¬†¬†¬†¬†¬†¬†Column5?…
      • nstructions: Write Python programs to solve the problems below and execute your programs using the Jupyter Notebook.¬† ¬† Question 1: Scraping single\multiple items from a page (6 points) Using the Be…
      • You may have received mail where Canada Post has stamped a kind of barcode on the envelope. The barcode is meant to represent the postal code of your mailing address. Such barcodes are used by machine…
      • How do I fix this so it shows all three strings reversed in the output? if input is Hello there Hey quit string = input() string2 = input() string3 = input() for i in string: ¬†¬†string = i + string f…
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!