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.

  • 20 Question 15 Making the perfect doughnut Custom made doughnuts are all the rage. Create a program in Python that allows the user to build the perfect doughnut. Th program needs to ask the user what …
  • Question 2: Movie Reviews¬† Sentiment Analysis is a problem within the field of Artificial Intelligence which seeks to¬† determine the general attitude of a writer given some text they have written. F…
  • une fonction Python appel√©e verifValid(grille, rang, col, num) qui prends une matrice 9 x 9 qui repr√©sente un jeu de sudoku, et v√©rifie si on peut ajouter la valeur num en position de index rang (p…
  • All coding is on python . Answer this as soon as possible
  • Give an implementation of special method __str__ for a Range class (representing a range of integers) that contains integer instance variables, __start and __end, so that the value of Range objects ar…
  • PYTHON PROGAMMING ¬† class HashTable: ¬† ¬†def __init__(self): ¬† ¬† ¬† ¬†”’ ¬† ¬† ¬† ¬†Constructor sets the default number of slots to 11. ¬† ¬† ¬† ¬†”’ ¬† ¬† ¬† ¬†self.size = 11 ¬† ¬† ¬† ¬†self.sl…
  • I have a question on using python to code for counting characters. ¬†The prompt asks to write ¬†program whose input is a string which contains a character and a phrase, and whose output indicates the …
  • Step 6 please! ¬† Collab: https://colab.research.google.com/drive/14EquCCliq2vfDePqb_L4uIlLcJuspTcw?usp=sharing ¬† ¬†. Q9 True or False The model (in Step 5) correctly recommends denial of promotion f…
  • The number 1961 reads the same upside-down as right-side up. Print out all the numbers between 1 and 100000 that read the same up side-down as right-side up.
  • 21) (25 points)¬† Lucy’s Lemonade has grown and now wants to do their payroll on the computer. Lucy says the system should handle a maximum of 10 employees.¬† Lucy has created a simple text file with …
  • . A String is determined to be fair if it satisfies any of the 3 conditions : Every letter in the string is a capital, like "USC" (or) Every letter is not uppercase , like "assignment…
  • 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…
  • The management also wants to you to calculate a 95% confidence interval for the average relative skill of all teams in the years 1996-1998. Calculate this confidence interval. Use Step 8 to help you w…
  • Write definitions of functions for: toNumbers(strList) str is a list of strings, each which represents a number. Modify each entry in the list by converting it into a number. hint use :int() ¬†2- A…
  • 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…
  • I need this answered in Python coding, please and thank you.. zyBooks My library > CSYS 1203: Introduction to Computer Programming home > 6.19: LAB: Output values in a list below a user defined …
  • Using pygame use 4-5 unique shapes to create a face. Each shape should have a unique color.¬† Shapes can include: pygame.draw.circle() pygame.draw.rect() pygame.draw.line() pygame.draw.ellipse() pygam…
  • Consider the loop from Section 8.3 of your textbook. prefixes = ‘JKLMNOPQ’ suffix = ‘ack’ for letter in prefixes: ¬†¬†¬†print(letter + suffix) Put this code into a Python script and run it. Notice …
  • def elfOrOrc(str1): Takes a name. If there are more vowels than consonants or an equal amount of vowels and consonants, return elf; if there are more consonants than vowels, return orc. In the main fu…
  • Develop a python program to maintain club members, sort on roll numbers in ascending order. Write function Ternary_Search to search whether particular student is member of club or not. Ternary search …
  • Can you help with the develop a game on Python? See instructions below. Thank You. 8. Create a function to present the on-screen game board as follows: 1 2 3 7 9 10 Naval Battle (Part 1) A | . I – BI …
  • write answer. myLL = [ [1, 2, 3] , [3, 4, 5], [4, 5, 6], [6, 7,8]] Write a Python program with a nested for loop to handle the given 2D list myLL above: O Use a nested for loop (an outer and an inner …
  • This code takes a random list of 1000 integers between 0 and 10000 and keeps them if they are divisible by 10. “`python listofnumbers = np.random.randint(0, 10001, 1000) # creates a list of 100 rando…
  • Part II – Finding the average score (15 Points) Write a program to calculate the average scores of the students. Your program should read input from a file Each line of the file contains the username …
  • i cant figure out a code that satisfies the rubric.. Part 3 (5 points) The molar mass of an element is the weight in grams for each mole (a mole 6.02214179×1023 atoms of that element…
  • In this question, you are asked to train two dierent Bayesian classiers to predict whether or not a patient has diabetes, based on certain diagnostic measurements in- cluded in the dataset. The datase…
  • Question-Based on Privacy and Security in Online Social Media. Jupyter Notebooks / Google Colab is strongly recommended for doing this Question and showing analysis, graphs, and code. Link for Parler …
  • For this lab you will have to plan, create and implement a user interface using Python with Tkinter. The user interface is a window that will accept either a temperature as either Celsius or Fahrenhei…
  • I did not score many mars in the following questions, please share and explain the answers, the marking points are attached. kindly read the function specification carefully and note that we are ONLY …
  • 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?…
  • need your help with this Flowgorithm ¬† Design a program that asks the user for a series of names (in no particular order). After the final person’s name has been entered, the program should display t…
  • I need tips on these methods “Swap Method, GPA Sort by Bubble Sort,Age Sort by Insertion Sort, ID Sort by Selection Sort, Searching”. the code will be written in “” “class Person(object): ¬†¬†def __in…
  • I need part 3, I already have part 2. Part 2 Answer: #Part 2 import turtle my_screen = turtle.Screen() my_screen.colormode(255) screen_size_multiplier = .9 screen_width,screen_height=my_screen.screens…
  • second picture is question and first one is hint. please use numpy solveit and without forloop. 3.4 Check for hot cells Once we have computed the mean temperatures in the cells and store them in temp_…
  • 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 …
  • Domain – Banking Marketing focus – Optimization Business challenge/requirement Bank of Portugal runs marketing campaign to offer loans to clients. Loan is offered to only clients with particular profe…
  • Can I please get help with this python question ? File name : tryples.py. Write a program that takes as input an integer n, and print all triples a, b, c such that: . 1 <a<b<c<n a2 + 62 = …
  • Project – Create A Film Program ( like a simple Rotten Tomatoes) – PYTHON IDE (Please help to the best of your ability with whats provided it was all I was given and I am super lost.) ¬† The instructi…
  • 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) …
  • def common(a, b): ¬†¬†“”” Computes list of elements common to a and b. ¬†¬†Input : two lists, a and b, each without duplicate ¬†¬†¬†¬†¬†¬†elements ¬†¬†Output: list of all elements x such that ¬†¬†¬†¬†…
  • Question-1: Assume, you have been given two lists. Your task is to multiply the first¬†¬† element of the first list, to the last element of the second list and store¬†¬† them in another list. Then, ag…
  • 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 …
  • pointillism is the name of a painting technique where patterns of colored dots are used to form the colored regions of an image. For this assignment, will practice with looping control structures to a…
  • I need help answering the following questions : Unit 2 Module 3 Review [Answer in a different color and submit your document in Canvas. 1. What does the following code do or output? How does it work? …
  • Write a script to scan all ports for a given host entered by the user. Also include the details of the domain (where it physical resides – continent, country, city, post code, etc.).
  • In [ ]: uvalues = np. linspace (-8,8, 70) vvalues = np. linspace(-5,5,70) (u, v) = np. meshgrid(uvalues, vvalues) thetas = np. vstack( (u . flatten( ) , v. flatten( ) ) ) lr loss values = np. array (…
  • Need the Pseudocode and Python code of the below: (I appreciate all your help) A new Python program (you choose the filename) that contains a main function and another function named change_list. Refe…
  • please read the intersection before you do the question,please slove the first function first because you need to use it as a helper function please do the question on pycharm thanks.there are couple …
  • Hi there, are you able to help with Python programming questions ?
  • SUMMARY The overall goal of your program is to read a file of data (id, name, height, weight) for several people from a file, and write out a file of their calculated BMIs. BMI is a simple health mea…
  • Please use python and “if” statements to solve. Required output is shown below:
  • Exercise 2. (Pascal’s Triangle) Pascal’s triangle Pn is a triangular array with n + 1 rows, each listing the coefficients of the binomial expansion (x + y)’, where 0 < i < n. For example, P4 is …
  • Please help in Python to train the model ‘min-char-rnn.py’ found on karpathy’s Github repository with different numbers of epochs (ie. 5, 50, 500 etc). Also please explain the architecture of the recu…
  • Please help me with this problem. Problem 1. Fibonacci Numbers The Fibonacci Numbers are a sequence of numbers such that the Nth number in the sequence is deÔ¨Āned to be the sum of the previous two nu…
  • Pick any dataset relevant to your major that you would like to analyze. Avoid use the same or similar datasets to one you use for your final project or previous assignments. Make sure not to use datas…
  • Hello, I am unable to get my code to work. Can someone please assist? My assignment is: ¬† Develop a Python application that incorporates using appropriate data types and provides program output in a …
  • Use the”import” statement to import the “math” module as an alias “m”, then use the Square Root and Power Functions of the “math” module to return the result for each. Use 100 as the input for the Squ…
  • URGENTTTT please answer fastttt lebanese pound to $ it doesn’t matter because it will be inputed by the user please share screenshots of GUI and add comments in code so I can understand. thanks.¬† ¬†….
  • In python3, Background info: ¬† ¬† An Internet Service Provider(ISP) has three different subscription packages for its customers: Package A: For $15 per month with 50 hours of access provided. Additio…
  • . Create a program that: a. creates a constant dictionary with keys for the characters ‘1234567890-.’ and values that represent these characters as words. . For the decimal point, use ‘point’ as the…
  • COSC 1336 Programming Fundamentals I Lab 9: Classes ¬† Modifying lab 8: Lame Game Computer Game Room Make any necessary updates to your program after reviewing the feedback from your last lab. ¬† …
  • The IRR (internal rate of return) is the interest rate that makes the net present value (NPV) of all cash flows equal to 0 in a discounted cash flow analysis. Given cashflows Ci (where C 0 is the init…
  • python question Assume the variable f refers to the Python implementation of a continuous real function (i.e., f accepts a single float as input and returns a single float as output), and a and b refe…
  • import argparse import os import time import sys import string # Handle command-line arguments parser = argparse.ArgumentParser() parser.add_argument(“-d”, “–decrypt”, help=’Decrypt a file’, required…
  • Pick a real-world object that you can see right now. Create a class definition in Python that models the object you have chosen.¬† Include comments for extra clarity. Here’s an example: *Note that the…
  • Need python code of the following: 4. One python statement to start a for loop that would perform 9 iterations ======================================== 5. A variable named price has been assigned. Put…
  • i have a question about this function: how could i transfer the characters in a list into a string? o pad_keyword: This function takes as input a string and an integer n. It returns a string of length…
  • need solution of flowchart in python script. Input Temperature, Humidity Input sun, cloudy, or raining inputs outside Yes print inputs and states range of model outside range of the model NO YOs Is it…
  • Project 1 In video game culture, an¬† adventure game ¬†is a video game in which the player assumes the role of a protagonist in an interactive story driven by exploration and puzzle-solving. Early adv…
  • The UIC2016MensBasketBall.csv records the game results of the 2016 Men’s Basketball. Implement Python code to load the exact data into a data frame df2016. Q2. Column Names (10pts): Assign column …
  • Given a tree represented by the TreeNode class instance below, complete the function getLongestPath that returns the length of the longest path. For your convenience, we have a field called depth at e…
  • The Oil Blending Problem: An oil company produces three brands of oils: Regular, Multigrade, and Supreme. Each brand of oil is composed of one or more of four crude stocks (the same as “raw petroleum”…
  • What is stored in a directory entry and what is stored in a file entry? [2 marks] (b) Consider a file system that uses a fixed size 128 byte directory entry structure, a fixed size 32 byte file entry …
  • 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…
  • A more general version of the above technique is the rail fence cipher, where instead of breaking things into evens and odds, they are broken up by threes, fours or something larger. For instance, in …
  • Hello, I need help solving this Lab simulation, It uses Hourly temperature reporting for Lists and Dictionary statements and I am very new at python on so I need help solving it. It is very difficult….
  • this is transport concepts awell Using Python calculate numerically the heat Ô¨āow rate from a hot metal sphere into the surrounding cold air under the steady-state conditions. The sphere has a radius…
  • Hi, I need to program this assignment with python. Please help.. Thanks Sudo Mario Bros Assignment 1 CSSE1001I7030 Semester 2, 2019 Version 1.0.0 10 marks Due 23 Aug 19 20:30 Introduction The goal of …
  • Dataset source: https://www.kaggle.com/c/competitive-data-science-predict-future-sales/overview Problem Statement: The task is to forecast the total amount of products sold in every shop for the test …
  • Question 1 (1 point) ~/ Saved In programing, a "class" is G) A function that is attached to an object (i.e. a "get_grade" function for an individual student) 0 A value that is atta…
  • Implement a permutation and combination exercise using python code in jupyter notebook.
  • In this question, you are going to implement a human vs. human version of Notakto. Notakto is a tic-tac-toe variant. It is played across three 3 x 3 boards: Board A, board B and board C. When you star…
  • Modify the program from Project 4 to compute the area of a triangle. Issue the appropriate prompts for the triangle’s base and height, and change the name of the width variable to base. Use the formul…
  • Your class will be called Timer. Its constructor accepts three arguments representing hours (a value from range [0..23] – we will be using the military time), minutes (from range [0..59]) and seconds …
  • 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…
  • def factorial_str(fact_counter, fact_value): ¬† ¬†output_string = ” ¬† ¬†if fact_counter == 0: ¬† ¬† ¬†# Base case: 0! = 1 ¬† ¬† ¬† ¬†output_string += ‘1’ ¬† ¬†elif fact_counter == 1: ¬† ¬†# Base cas…
  • Part 1 Section 6.2 of your textbook describes¬† incremental development . Do the exercise at the end of that section: As an exercise, use incremental development to make function called¬†hypotenuse¬†t…
  • part1 – short answer questions (6 points each) Assign value 5 to the variable x, write code to caculate x squared. Given an arbitrary string x with at least 2 characters, write a program to check if i…
  • PROCESS MODELING USING MLP NETWORKS The task here is to design and train an “optimal” MLP networks to recognize the inter-relationships between the process input variables and outputs, using the 53 in…
    • Load only selected columns from a CSV file and store them in a dictionary¬† Implement the load_numerical_data(filename: str, column_titles: list) -> dict¬† function. This file reader is similar …
  • I have problem creating a directory from text fiel. Outputs The program will list positive cases in each state and for the country as a whole in the following form: COVID-19 POSITIVE RESULTS -5 DAY PR…
  • . String slicing In [26] : import string s = string . ascii_letters print (s) abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ In [27]: # Print the sixth character [f] onwards. fghijklmnopqrstuv…
  • #Write 3 functions #Function 1 is a shortened version of user input # 2 parameters, the first is the prompt, the second is a default parameter that is set to False # The default parameter will determi…
  • As a crewmate, completing multiple tasks is one of the main objectives that leads to victory, so we want to better schedule these tasks. Suppose we quantify gameplay time into periods of time, and …
  • Hi, how do I fix my code? It works for the first set of numbers but in the second set of numbers instead of just printing 71 it prints [71, 71, 71, 71, 71] and for the third set instead of printing [9…
  • alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬† test_dups = [“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]¬† test_miss = [“zzz”,”subdermatoglyphic”,”the quick brown fox jumps over the…
  • I’m using the python Program with total change amount as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarters, Dimes, Nickels, a…
  • I need assistance with python code that asks the user for the name of a file. The program should read all numbers stored in a file and calculates the product of all numbers stored. numbers.txt will be…
  • PROBLEM Is it possible to call function called get_move() that returns a random answer of ‘forward’, ‘backward’ or ‘stay’. The function get_move() takes no parameters and generates a random number (1-…
  • data wrangling is to be performed with suitable columns using hierarcical indexing and then plot that AutoSave (. Off) master – Excel X File Home Insert Draw Page Layout Formulas Data Review View Help…
  • Python: Exception Handling experiment with exception handling in Python. Create overly simplified pocket calculator. Must follow rules: Calculator can only take numbers. Calculator can only take posit…
  • Task 1: Comparing Different Solvers ¬† Task 2: Hand Calculations ¬† For parts (b)-(d) of the textbook problem from Task1, perform the first step of each method (and each step size for Euler’s method) …
  • could you please help me ???could you please help me ????could you please help me ????
  • Create a program using the Caesar Cipher(research this simple code.)Askuser if they wish to enter plaintext to convert to cyphertextordecode existing cyphertext. If decode, check a file ‘cypher.txt’ex…
  • I have a skeleton code here for this project but do not know exactly where to start. My task is to implement a reliable File Transfer Protocol (FTP) service over UDP.¬†¬†I need help to write the relia…
  • Python coding 6% sales tax How do i code this in Python. Sales Tax Calculator with 6% sales tax for multiple items
  • Task 2: Represent the following math expressions in python 1 . -b+vb- -4ac 2 a ii. ax+b extd 3+4x 10(y-5)(a+b+c) 4 9+x. iii. +9(-+ 5 celsius = ()( fahrenheit – 32) iV. V. y = 12.3x*- 9.1×3+ 19.3×3 – 4…
    • Implement function leap() that takes one input argument-a-year-and returns True if the year is a leap year and False otherwise. (A year is a leap year if it is divisible by 4 but not by 100, u…
  • Implement a class named HeadingParser that can be used to parse an HTML document, and retrieve and print all the headings in the document. You should implement your class as a subclass of HTMLParser, …
    • Prompt the user to input a wall’s height and width. Calculate and output the wall’s area. (Submit for 2 points). Enter wall height (feet): 12 Enter wall width (feet): 15 Wall area: 180.0 square fe…
  • mktime and strftime methods The function mktime works exactly the opposite way that the local time works. It takes a time structure as input and convert it to a number. For example, the following code…
  • A parent class can reference methods in the child class using¬†super
  • 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 …
  • #python To t-test and generate p-value using random value [random values should categorical [1 or 2]]. I am able generate this once and generate a p-value and to q-q plot. The question is how do I loo…
  • please solve these code problems¬† (first, two pictures is one problem) total 4 python code problems¬† ¬† ¬† ¬†. 22.7 LAB: Count multiples Write a program that takes three integers as input: low, high…
  • 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 inte…
  • # The code below has bugs. ¬†There may be more than one. # # Add a comment to the code for each such error. # ¬† It should describe the location of the error, # ¬† the type of the error (syntax, runti…
  • Hey, im having trouble writing these programs.. 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 l…
  • Question 1:¬†Star Chart & Constellations Astronomers collect lots of data about stars and there are many catalogues that identify the locations of stars.¬†In this question, you will use data from …
  • 3.17 (Student research project) Muller’s method is an algorithm for computing solutions of an equation f (x) = 0. It is similar to the secant method in that it replaces f locally by a simple functio…
  • for this question, I am not sure whether the function has run for 89 or 90 times. So it confuse me whether it is 4.5 seconds or 4.45 seconds. How can I approach? and what option it will give us? H…
  • Each example should look like this: Starter code: number_of_cookies = int(input( “How many cookies?” )) number_of_dozens = None # TODO: Replace None with the correct number of whole dozens. (Whole num…
  • Implement the brute force method and compare the brute force method¬† with the Apriori algorithm on each of the 5 transaction databases you¬† created. Present computation (CPU or clock) time to demons…
  • Use Jupyter Lab ¬† ¬† ¬†. Question 5 data={ "hashtags’ : [ ‘#good#vibes’, ‘#hot#summer#holiday’, ‘#street#food’, ‘#workout’ ]} . Create a new column ‘missing’ and assign the number of missing has…
  • In Python 3.10, how would I print numbers 1 through 5, then print sum of 3 and 4. Lastly, how would I print sum of constant pi and square root of 2. How would I import a math library before like this …
  • The following code produces a microscopic image of a bacteria that are overlapping shown below after the code >>>import numpy as np >>>import scipy as sp >>>from scipy.ndima…
  • Using four spaces for indentation is the typical approach in Python code, but how about using tabs? So, is using tabs instead of spaces good, bad, or indifferent? Why?
  • What is the point of https://xkcd.com/2048/¬†(Links to an external site.) ¬†? ¬† How it is connected to anything mentioned in the following link : http://scipy-lectures.org/packages/scikit-learn/index…
  • Python Drone Programing/ logic 1. I need help writing program that lets the drone fly only below a certain altitude, and corrects the drone when it goes above that level. 2. Another program that allow…
  • Implement recursive function crawl() that accepts a input URL ‘http://reed.cs.depaul.edu/lperkovic/one.html’ as a string and non-negative integers depth and indent. The function should visit every web…
  • Your task is to use tensorflow to train a model on the¬†FD001¬†sub-data-set that can take a time series of shape¬†(1, num_time_steps, num_variables)¬†and predict the number of remaining cycles in the …
  • Let’s say I have a oscillation data for 7 seconds, how do I approximate what it is going to be at 10 seconds. Like how do I extend my graph for couple of seconds with my datas. Like what kind of code …
  • What are the various types of sorting and searching algorithms and what are some examples of each? Apply algorithmic design and data structure techniques in developing structured programs by discussin…
  • Q6 – WanderBot (1.25 points) Create a class called WanderBot. WanderBot is a bot that will wander around randomly. Instance Attibutes: character – string position – list of [int, int] moves – list of …
  • Need help with this. 1. You’re given a python program (SEE Program below) that works fine. You should read the code and run it to understand what it does. It already has two functions plus a main func…
  • I need help gathering ideas on how I can implement networking functionality for a password analyzer python script. What Python libraries and functions would you be using to accomplish the networking p…
  • Hi! I’m looking for help on the following problem — thanks! 2. Daily Market Returns The next cell loads a table containing all daily market returns in the CRSP database (http://www.crsp.org) as of Se…
  • Write a payroll program that computes weekly pay, including the possibility of overtime. Overtime hours (hours in excess of forty hours in one week) are paid at “time and a half” (1.5 times the regula…
  • . Your company is interested in obtaining data from a web site for business insights. When inspecting the web siter you notice that the target data can be obtained in various ways. Using Python, wha…
  • code to be written in python 17 w 3 h 1 do 14 09 v 2 e6 2 dhyuyrwuur vhweuhehdd Sample Output 0 hello world Explanation 0 Given the message: dhyuyrwuur The table below shows each letter in the message…
  • . For this exam you will create a program that calculates the users BMI (body mass index). The formula for this is: BMI = weight (kg) / (height (meters) * height (meters)) To classify the users, Use…
  • PLEASE USE PYTHON PLEASE USE DICTIONARIES ¬† Problem Description¬† The CEMC is organizing a workshop with an activity involving pairs of students. They decided to assign partners ahead of time. You ne…
  • Write a¬†single¬†statement to print: user_word,user_number. Note that there is no space between the comma and user_number. Sample output with inputs: ‘Amy’ 5 Amy,5
  • python Geography Grades 1 In the input file, grades are listed for the geography tests of group 2b. There have been three tests of ¬†which the grades will be included in the half-yearly report that is…
  • Having issues with the following: Use 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 Must define and call the following…
  • please write in python and use an IDE for your answers
  • py is ‘A2.jpg’ , what should i enter inside the blanket def Report (Place, cTemp, cRain, cDate, cTime) : print("— – " ) print("Current Weather Summary on {} at {}". forma…
  • . Write a Python program that asks the user for the grade they received on the quiz. The user should enter a number between 0 and 100. Assume that the user may enter a decimal. If they received 90 o…
  • a. Write program that simulates an unbiased coin flip. Your program should print true if the coin flip results in a head and false if the coin flip results in a tail. The library we will be import…
  • HERE ARE SOME LINKS TO DOCUMENTS YOU MIGHT NEED TO COMPLETE THE WORK: click_sep.csv : https://drive.google.com/file/d/1GjhqPIrvOU6bkuc4cH7iwAxUdbzpqiRp/view?usp=sharing buy_sep.csv : https://drive.goo…
  • Instruction for the codes: No need for comments, just need the codes asap to save time Program should start with ¬†>>>¬†def cookieBaking(): # CANNOT add anything inside the function ( ) and n…
  • Problem Given the target file f0 and candidate files f1-f20, there is an identical copy of f0 among the files f1-f20. ¬† Write a python program to perform the following tasks: ¬∑ Read in each file and…
    • My program doesn√Ęt have any stop words removed from the text, so they are topping out my list.¬†¬†A stop word is a √Ęjunky√Ę word like √Ęa√Ę and √Ęthe√Ę which doesn√Ęt really add much t…
  • . def all_lines_rhyme (poem_lines: POEM, lines_to_check: List[int], word_to_phonemes: PRONUNCIATION_DICT) -> bool: ""Return True if and only if the lines from poem_lines with index in l…
  • Need help with python problem of 14 day wind speeds
  • 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…
  • Please refer to the attachment to answer this question. This question was created from Lab 3(1).pdf <a href=”https://www.coursehero.com/file/13396222/Lab-31pdf/?dqqid=57561″>https://www.coursehero.com
  • INSTRUCTIONS : 1) Python Programming¬† 2) No use use of built in libraries and built in functions 3) Use comment out for understanding better 4) Use Functions name and parameter name is same as given …
  • : 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 …
  • Using python I am trying to make a class to represent cars (automobiles) and name it Car.¬†This class needs to store the following attributes about each object: ¬∑¬†¬†¬†¬†¬†¬†Year – What year is the c…
  • 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…
  • This is all that was given and I am unsure about how to go about this code¬†. In [1] : import numpy as np import matplotlib. pyplot as plt In [2]: ### This cell block defines auxiliary functions for t…
  • Data Files¬† You will find a set of excel files in a directory called rosters in the Coding Rooms workspace¬† designated for this Extra Credit Project. Assume you do not know how many files the direct…
  • Can you please help me with the problem stated in picture HW1Q2? I need to code in Python code and have never used Python code before. Our professor hasn’t really explained Python to us and no matter …
  • elif (choice == 2): df_quantile = gradesdf.quantile([0.25, 0.5, 0.75]) df_T = df_quantile.T df_T.colums = [ ‘25%’ , ‘Median’ , ‘75%’ ] print (df_T.to_string()) Hi I’m wanting to change the column head…
  • Complete the following function according to its docstring description. The letter y is not considered a vowel. def contains_no_lowercase_vowels(phrase: str) -&gt; bool: ¬† ¬†“””Return True iff (if an…
  • A simple course management system models a student’s information with a name and a set of test scores. This system should be able to create a student object with a given name and a number of scores, a…
  • Create a program that calculates the total for a purchase at a wholesale store. ¬† Sample output: ¬† Wholesale store Calculator Price of item: 29.99 Tax percent: 8.75 Tax amount: 2.62 Total amount: 32…
  • Hi, ¬† The Errored means my code has produced a bug and it cannot be run by Ed for testing.¬† ¬† Where do I need to correct my code? ¬† Thank you ¬†. Description + test.py test.py Smart stats import n…
  • You and¬†ūĚźĺ‚ąí1 K‚ąí1¬†friends want to buy¬†ūĚĎĀ N¬†different pieces of candy. Candy piece¬†ūĚĎĖ i¬†costs¬†ūĚĎĚ ūĚĎĖ The candy shop owner is greedy and wants to maximize his number of new custom…
  • Task 1: Recursive Problem Solving Part A: Euclid’s Algorithm Re-implement Euclid’s algorithm using a recursive function gcd(a, b). Part B: List Inversion Produce a recursive function reverse(lst) that…
  • A hospital is a very busy place with a lot of patients and also a lot of employees to keep the system running perfectly. All people in the hospital have basic information like title, name, gender, add…
  • a) Using the “single linkage” method, run the hierarchical clustering algorithm on the dataset, and get a 3-cluster result (by cutting the dendrogram at a certain height), and report SSE and RI. ¬† …
  • I need answer for this question. Please help me. Give me the answer and details explanation. Thinking like a Data Scientist ¬† Demonstrate your understanding of the data science methodology by applyin…
  • Any practical example to show how GMM-RD (Random draw imputation via Gaussian mixture model) is different from GMM-KNN (KNN imputation via Gaussian mixture model)?
  • mport random import nltk from sklearn.feature_extraction.text import CountVectorizer from sklearn.metrics.pairwise import cosine_similarity from newspaper import Article import warnings warnings.filte…
  • I do not intend to use the tutor’s work as my own. I need help understanding the error I get importing. I am trying to figure out why I keep getting an error for this practice, integrating MySQL Table…
  • def combinationalSum(candidates,target,i=0): The above function when solved recursively returns True if there exists a combination of numbers from ‘candidates’ that add up to ‘target’ and False if non…
    • Write a program that uses a function defequals(a,b) that checks whether two lists (3J3) have the elements in the same order and prints the result. Note: Function returns True or False. 5 pts 3) Yo…
  • Given an array of non-negative integers, A, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Determine if y…
  • 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…
  • 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 by Rep Submit 2 screenshots of …
  • One concept that has been introduced in this course is exception handling. Describe the concept of exception handling and how exceptions should be handled within code. Include in your answer an explan…
  • Exp#1: Fingerprint spoof detection system based on two-class support vector machine¬† (SVM).¬† Dataset: LivDet 2011:¬† https://drive.google.com/drive/folders/1nLWXD8wR7zD4tI0udk2GN6XC9EqIF8PR Training…
  • A python file is to be made to determine for each line in a text file the occurrence frequency of each word that appears in such line, i.e. how many times it is found in the line. ¬†The expected progr…
  • Need Help with this python homework project please. import nltk import pronouncing import random # This uses the King James Bible as the corpus # Use: nltk.corpus.gutenberg.fileids() # to see which ot…
  • . Instruction 3 This part of the assignment is designed to examine COVID cases and mortality data for different countries. The countries are given by their ISO alpha-3 codes, given here: https://en….
  • Sneario: “David Marks from the DataTrust Protection Team has another task for you to complete. He would like you to design and make a script to build a text browser. In order to test that the text bro…
  • write a program to create a 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
  • Just as digital photography captures and quantizes light and color, digital audio recording may capture sound volume and frequencies. Once these characteristics are represented as values and stored nu…
  • Question 4 (2 points) What is the output of the following code segment? for num in range (2, -5, -1) : print (num, end=&quot;, &quot;)
  • import networkx as nx import matplotlib.pyplot as plt import random def infection(graph, Susceptible, Infected, Removed, infectRate, recoveryTime, iterations, pos): ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†…
  • Using Python, create a time series ARIMA model on City_MedianRentalPrice_2Bedroom for the Dallas location only (https://www.kaggle.com/paultimothymooney/zillow-house-price-data?select=City_MedianRenta…
  • Hello, I am writing a program to reverse any string that a user enters…I’ve been using the below function, but for some reason it’s not working for me def reverse_string (string) : ¬† ¬† string =str…
  • can someone please show me the code for this practice question? ¬†The following are the functions i need to know how to implement: replace_contraction (text) Description: Creates a new string where th…
  • In this challenge, you are tasked with helping a small, rural town modernize its vote-counting process. (Up until now, Uncle Cleetus had been trustfully tallying them one-by-one, but unfortunately, hi…
  • What is the answer? import random class CelestialBody: def _init_(self, _radius, _prob) : self. radius = _radius self . prob = _prob def cause_global_disaster (self) : if(self. radius &gt; 1000 and se…
  • please help me debug Develop a Python Script that performs LSB data hiding using the True Color Image Provided. After participating in this weeks live webinar.¬† Employ the concepts provided to create…
  • UNIT APPLICATION 6 ¬† The purpose of this assignment is to give you an opportunity to demonstrate your understanding of creating and using functions. In this exercise, you will revisit the program you…
  • Using python program that takes a date as input and outputs the date’s season. The input is a string to represent the month and an int to represent the day. Ex: If the input is: April 11 the output is…
  • I would like some Python code for Scraping the web as indicated to the questions on previous page.
  • It has been rumored that professor Dan has a reading level of a 5 year old. Being embarrassed of this, he keeps his books encrypted so that others cannot find out what he is reading. You somehow stumb…
  • 1.1: Modify a list. ¬† Modify short_names by deleting the first element and changing the last element to Joe. Sample output with input: ‘Gertrude Sam Ann Joseph'[‘Sam’, ‘Ann’, ‘Joe’] user_input =…
  • pratice questions need answer to help understan the problems thank you in advance!¬†. Question 2 (1 point) How many times would the following be iterated? i = 5 while i &lt;= 10: print(i) i += 10 A/ Q…
  • Hi,¬† If possible I’m looking for some guidance with a problem I’m struggling to solve. I have a Cinema and a Theatre class with a composition relationship. ¬† I’m creating a new cinema and then looki…
  • This is python homework related to approximating the log function using the iteration method. I need help with tasks 3-4 and would be very much appreciated to get the solution.. Iterations Theory In t…
  • The text file called ‘grades.txt’ consists of all the names in our class, including mine, and totally randomly (meaning unreal) given scores for various assignments. For this midterm exam, you need to…
  • The Greatest Common Divisor (GCD) of two integers is the largest integer that divides the two numbers with a remaining 0. ‚ÄĘ Euclid’s algorithm for finding the GCD of x and y is: pgcd (x, y) is … y…
  • Implement the power iteration in matrix form as in Equation 1 without considering the dead-ends and spider traps, Let stop criteria be |r(t+1) ‚ąí r(t)| &lt; 0.02. Calculate the rank score for all the…
  • This is my code for my assignment. There is no error in the code but still does not work as my assignment wants it to do. Please review the assignment first to see what the issue is. Thank you so much…
  • Without the import of libraries such as numpy, ¬† vm = [[ 1, 2, 3, 4, 5], ¬† ¬† ¬† ¬† ¬†¬† ¬† ¬† ¬† ¬† ¬† ¬†[ 6, 7, 8, 9,10], ¬† ¬† ¬† ¬† ¬†¬† ¬† ¬† ¬† ¬† ¬† ¬†[11,12,13,14,15]] ¬† Create a function m…
  • Pythagorean Theroem Proof #11: “Draw a circle with radius c and a right triangle with sides a and b, as shown. In this situation, one may apply any of a few well known facts. For example, in the diagr…
  • What would be the asymptotic time complexity to add a node at the end of a singly linked list, if the pointer is initially pointing to the head of the list?
  • Hello, I need your help to get my Python program running please. Thank you so much. This is the assignment: Highway Robbery! Use skills learned in Units 1 – 4 and include: ‚ÄĘ input functions, calcula…
  • Objective: Write a program that correctly identifies the class of an IPv4 address Tasks: Using various types of control statements (loops), logical operators and a break statement covered in Ch. 3, wr…
  • finish up the tic tac toe program to identify all 8 winners and a tie Add a loop to the program so players can play again if they want (ask them!) Change the program so the computer plays o – it shoul…
  • 2) str_capitalize¬† This function takes a string as input and returns a string where first letter of¬† each word in string start with uppercase letter. Do not use any built-in string¬† functions with …
  • Please help can’t figure out will rate! X = 3 if x == 1: print ( ‘one’ ) The second elif elif x == 2: succeeds print ( ‘two’ ) elif x == 3: print ( ‘ three’ ) After the 2nd elif block, execution conti…
  • What am I doing wrong? Please look at the bottom of the picture. 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 Sa…
  • why the partial on line 11 fails and fix it. Use the¬†functools¬†documentation to find out what needs to be changed? import functools class Hero: ¬†¬†DEFAULT_NAME = “Superman” ¬†¬†def __init__(self): …
  • A farmer, wolf, cabbage and goat have to cross a river using a boat that can only accommodate two entries at a time. Wolf and Goat cannot be together without the farmer( or wolf would eat the goat ). …
  • Write a program which continually prompts the user to enter an int &gt; 0, summing these inputs as you go.¬† Stop when the user enters a sentinel value of &lt;= 0, then print out the accumulated sum o…
  • python question! please help! if you can do it in 2 hours! COMP SCI 1MD3 Introduction to Programming, Winter 15/16 Instructor: Emil Sekerinski TAs: Robert Fuller, Michael Liut, George Plukov Lab 11/12…
  • Please provide the python coding and ¬† explain the logic of each coding line. for both of them Also note you are not allowed to use PANDAS or any other library for this assignment, Use reg…
  • PLZ solve this as soon as possible. LANGUAGE PYTHON. *If you find this lengthy then plzz solve this, I will post the same question 2 or 3 times so that you may have your due compensation. but I need a…
  • Only answer a ,b and d please! Thank you! Don’t need answer the c. I. 4.4 Consider the alphabet E = {C, A, G, T}. (a) How many strings of length 0, 1, 2, and 3 can be made using )3? (b) How many strin…
  • Question: SeaPort is the largest operator of Sea Planes across sea shores in Europe. SeaPort doesn’t have planes of their own, rather they lease them on a short term basis based on passenger traffic. …
  • Write Python program that has a list of 5 numbers [2, 3, 4, 5, 6]. Print the first 3 elements from the list using slice expression. a. Extend this program in a manner that the elements in the list are…
  • 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…
  • def ticket(table, type, dish): ¬†¬†¬†¬†# Finish the rest of this function ¬† def process(order): ¬†¬†¬†# Finish the rest of this function ¬†¬†¬†# Remember to add a blank line after the end of your pro…
  • The problem is detailed in the images provided, I am adding a solution for this problem in Java code format, I request you to help me convert this java code to a python language implementation. An ans…
  • could you help me with the code as you said ? . . . . . CMSC 201 Spring 2016 Project 2 – Recursive Word Search Assignment: Project 2 – Recursive Word Search Due Date: Wednesday, May 4th, 2016 by 8…
  • Write code that combines the following variables so that the sentence ” you are doing a great job,keep it up!” is assigned to the variable message .do not edit the values assigned to by,az,io,or qy
  • A software company sells a package that retails for $99. Quantity discounts are given according to the following table: 10-19 10% 20-49 20% 50-99 30% 100 or more 40% Make a program that asks the user …
  • Exercise 5:¬† In some countries a person’s name includes 4 words in the following order: FirstName1 FirstName2 father’s last name mother’s last name Use multiple assignments and the split method to pr…
  • Use Jupyter NotebookÔľĆ Show the coding progress Load the Iris dataset (the objective is to predict 3 different types of iris flowers) from scikit-learn https://scikit-learn.org/stable/modules…
  • Hi, As a beginner in Python, I’m currently working on a program that should read a text file and use string methods to manipulate the text to add the four prices from the four lines as shown below. Th…
  • Write the program that reads a file (prompt user for the input file name) containing two columns of floating-point numbers (Use split ).¬†Print the average of each column.¬†Use the following data fort…
  • Write a program that receives a list of integers from the user and does the following Displays the items in the list (2pts) Displays the size of the list (2pts) Calculates and displays the sum of the …
  • Problem Statement: This assignment is a small part of the final project. The purpose of this lab assignment is to gain experience in python’s tkinter GUI Application. In this assignment, we will desig…
  • Suppose list words is defined as follows: &gt;&gt;&gt; words = [‘The’, ‘quick’, ‘brown’, ‘fox’, ‘jumps’, ‘over’, ‘the’, ‘lazy’, ‘dog’] Write list comprehension expressions that use list words and gene…
  • This week’s assignment involves writing a Python program to compute the weekly pay for a paper carrier. Your program should prompt the user for the following numeric values: the number of papers on th…
  • Please help write the code based on the instructions and marking checklist below using Python on replit.com. ¬† ¬†. Practice Problem #7 Word Analysis Pt2 In this program you will be creating a small m…
  • which will be the value of x when the following statekment is executed x=int(98.6)
  • Helpful Information For this assignment, we will be using the REST countries API (https://restcountries.com/#api-end- points-v2). Please read through this documentation, as it will be extremely helpfu…
  • Solve for X¬†where uniform distribution where Profit fucntion is f(x) = min(X,D)300 – 75X where 200&lt;=D&lt;=500 D reflects demand solve using python or R
  • Question 3 [10] Enhancing the list of Olympic sports . Using the application developed thus far, make a list management application. Include buttons to add items to the list, or to delete the selected…
  • DO NOT USE HARD CODE, SIMPLE CODE NO DICTIONARIES. 6. bestScrabbleScore(dictionary, letterScores, hand) [30 pts] Background: In a Scrabble-like game, players each have a hand, which is a list of tiles…
  • Write a program to create a list of names; then define a function to display all the elements in the received list. Call the function to execute its statements and display all names in the list. 2….
  • please provide answer in spyder tool ber of letters in the string. *EJ {Phone keypads} The international stande letterinumber mapping for telephones is: Write a function that returns a number. given a…
  • Program 6: Lists and Dictionaries¬† Code must be written in python Part 1 Write a program that accepts as input eight numbers from the keyboard and stores them in a list . Include sensible prompts so …
  • How to write a python program for a traffic survey.¬†A detector on a road sends a signal every second to a computer. The computer stores the data like so: 1=no vehicle, 2=vehicle, 0=end of survey. Giv…
  • Hello, I got a problem about Google Federated Learning for Image Classification(This is the officila tutorial web:https://www.tensorflow.org/federated/tutorials/federated_learning_for_image_classifica…
  • How do I solve this problem using Object-Oriented Programming (Python) ¬†. Q2: Cool Cats The cat class models a cat: you can find the implementation below. Now, you will implement NoisyCat ; NoisyCats…
  • File Edit Format View Help let user enter 3 lists in order, list one is the ID of salesmans in a shop, list two is the sale they make in a specific day in a month, list three is the month each…
  • Introduction Once again, we will be using the Lahman Baseball Database in this week’s assignment. We want to create a graph to visualize the relationship between how many RBIs a player has in a given …
  • I am trying to develop an expense tracker with a python program. So basically the user should be able to enter expenses per category (food, clothing, entertainment, rent, etc) and the application shou…
  • Individual Retirement Accounts‚ÄÉMoney earned in an ordinary savings account is subject to federal, state, and local income taxes. However, a special type of retirement savings account, called a¬† tra…
  • Computer Science PYTHON using¬† def compute_holidays() , make a program that counts the number of holidays given two dates. The specifications can be referred to the sample output below. Sample Input …
  • Write a program that will allow a teacher to calculate the average test score for a certain number of students.¬† The teacher can enter the number of students who took the test, and then the score for…
  • Don’t copy from chegg and course hero otherwise I will give dislike ¬† I’m working on a python presentation and need an explanation and answer to help me learn. ¬† Construct a sparse and a dense matri…
  • Can you obtain MATLAB or PHYTON code for the question ? It is depend on about Neural Network lecture.
  • Construct a function with the following signature: def find_college_nearest_center_of_us(colleges): “”” sig: list(list(str)) -&gt; str Returns the name of the college nearest the geographical center o…
  • Write commands in python that inputs two numbers and prints the difference.
  • colors = [‘red’,’green’,’blue’,’orange’,’magenta’,’brown’,’white’,’black’] ¬† myColors=colors[-4:-7] print(myColors) extColors=colors+[“pink”] print(extColors)¬† newColors=”” for i in colors: ¬† ¬†new…
  • GENERAL INFO: Parliamentary democracy is a democratic form of government in which citizens elect people to represent them, and the prime minister is determined based on the number of representatives e…
  • You can download the data from here: https://forge.scilab.org/index.php/p/rdataset/source/tree/master/csv/KMsurv/rats.csv ¬† Rats data from KMsurv package contains data on time to tumor development fo…
  • https://drive.google.com/file/d/1tekNsrWJ546hFomDq882f1pf6Z4RK8Lb/view?usp=sharing ¬† This is two coding tasks which require Data Analysis and Plotting. I’ve started a few of them and indicated what e…
  • Feedback? CHALLENGE ACTIVITY 4.9.2: Conditional expression: Conditional assignment. Using a conditional expression, write a statement that increments num_users if update_direction is 3, otherwise decr…
  • Suppose s = ‘0123456789’ Write expressions using string s and the indexing operator that evaluate to: a)¬†¬†¬†‘6’ b)¬†¬†‘9’
  • pthis pC:\&gt;python week2.pyrogram inython ABC Inc., Gross Pay Calculator! Enter employee’s name or 0 to quit: Nathan Enter hours worked: 35 Enter employee’s pay rate: 10.00 Employee Name: Nathan Gro…
  • Hi would you please write code in python. ¬†write in easy way and explain it. Here’s the information– ¬† Create ¬†python program that gets a message from the user and then prints it out backwards . R…
  • Answer the following questions in paragraph form. 1. What is the purpose of using If Else Statement in creating a program? 2. Is it necessary to use If Else Statement in a program? Why?
  • Hi there , can go through the following two questions step-by-step ? Kindly guide me through how to evaluate this using pen and paper only as no compiler (IDLE) is allowed for these questions . Thank …
  • How do I convert categorical attributes to have numerical values in python? For example – using the rule below: Gender:¬†F:0,¬†M:1 Age:¬†0-17:0,¬†18-25:1,¬†26-35:2,¬†36-45:3,¬†46-50:4,¬†51-55:5,¬†55+:…
  • QUESTION 1 Write a function called¬† myavg() ¬†to calculate and return the average of a list of numbers. The function should take a list of numbers as its only argument and return the average value of…
  • Using Python Data: A ,1183,1, “Italy” , “/italy” A ,1170,1, “Microsoft Mail” , “/mail” A ,1241,1, “India” , “/india” A ,1149,1, “Advanced Data Connector” , “/adc” A ,1029,1, “Clip Gallery Live” , “/cl…
  • I don’t know how to do math and coding¬†to make it look like¬†this
  • One of the most common beginning programming problems is the fizz‚Äźbuzz challenge.¬†¬† Write a Python program as follows:¬† a. After the program docstring, declare a constant variable named MAXVAL wi…
  • Which model/models are good for a predictive analysis using satellite images(some with clouds) + discreet numerical data?
  • What is the difference between a syntax, logic, and runtime error?
  • QUESTION 1 Python provides several ways to access the individual characters in a ___________. ¬† ¬† class ¬† ¬† GUI ¬† ¬† object ¬† ¬† string QUESTION 2 UML stands for¬†______________________________….
  • Working in Python to scrape all unique web links that point to other web pages from the HTML code, from the website link in the code and outside the domain. I also want to populate them into a CSV fil…
  • Use the titanic.csv data set. Subset the data set into male and female. Choose the correct t-test to use to determine if male and female passengers paid the same mean fare. Ex: If the column SibSp is …
  • regex You are a student using online classes and you feel like you see the word “zoom” and its variations all over the place! Given a sentence, write code to get all words containing zoom in any capit…
  • the code and dataset is here (https://drive.google.com/drive/folders/10m_me0dikI3V55VcrEPb4_Sx503DAMuA?usp=sharing). Modify the below code, apply certain changes to the original code a. Change Machine…
  • I’m kind a lost on this lab work. Can someone please help! 6.18 LAB: Word frequencies Write a program that reads a list of words. Then, the program outputs those words and their frequencies. Ex: If th…
  • 8 LAB: Word frequencies (lists) ¬† Write a program that first reads in the name of an input file and then reads the file using the csv.reader() method. The file contains a list of words separated by…
  • . 11. The following pseudo-code obtains the age of a user and is supposed to check that the age is within the range 0 to 120. Review &amp; debug the pseudo-code and explain what logic is missing and…
  • use ¬†Kaggle.com to find an appropriate dataset (The size of the dataset should be at least 1 GB and the chosen dataset should be related to a business ). The dataset should contain structured data or…
  • We are given a cds.txt file which looks like the image sent below. Our task is to make a gene_to_anno dictionary , which should look like: gene_to_anno = {‘geneA’:’protein kinase’,’geneB’:’ribosomal p…
  • Assign: x = 2, y = 3.5, z = 17, firstname = “A”, lastname= “B”. Using the variable names, rather than the values (e.g. use x +y, not 2 + 3.5), output the following: a. x raised to the z power (use exp…
  • The Runge Example. Let f(x) = 1 1 + x 2 , x ‚ąą [‚ąí5, 5]. (1) Using your Barycentric Formula code (Prob. 3) and (2) and (3) below, evaluate and plot the interpolating polynomial of f(x) corresponding…
  • 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 Python. def speed_di…
  • in python. Problem 2 (10 Points) 1 STA 5703 Activity 6 -10 5 4 -7.5 a) What is the mean squared error for the root node? b) What is the best split using the predictor &quot;Dosage&quot;? c) What is…
  • Develop a NLP application using functions in python, where the word analyzer needs to count the characters of the word that are presented in the given gazetteers. Gazetteers {1:’Apple’, 2:’Oracle’,3:’…
  • Which of the following statement is used when a statement is required syntactically but you do not want any command or code to execute? A¬†– break B¬†– continue C¬†– pass D¬†– None of the above.
  • There is one large Dunkin’ Donuts coffee left in all of Khoury College, and Profs. Rachlin and Strange both want it. They consider playing Rock/Scissors/Paper for it, but who will win?¬† ¬† You’ll …
  • . Question 4 In Listing 7.1, does chars_on_line Include spaces? Explain. Question 5 Consider this part of the Farm Sooding description: &quot;It’s guaranteed that a pasture is the favorite of no …
  • I need help in sentiment analysis, constructing a code with comparative reviews in a .csv file. This is the textbook chapter I need to follow ‘comparative opinions’ ¬†written by Jindal and Liu.¬† ¬† ?…
  • My python code: try: ¬†¬†from Final3 import SimplifiedFinal3 except ImportError: ¬†¬†import sys ¬†¬†SimplifiedFinal3 = sys.modules ¬†¬† class Record: ¬†¬†# Record answers = dict()¬† ¬†¬†def __init__(s…
  • What is the proper convention for the layout of a program?
  • Water consumption is charged as follows: ¬† Consumption (m3 ) Pesos/ m3 First 100 =5 From 101 to 500 =7 From 501 to 1000= 11 More than 1000 =16 ¬† Write a program that asks for the cubic meters consum…
  • Graphs with Matplotlib Using the library Matplotlib and the provided data files create the following graphs: I) Pie chart Create pie chart that shows the percentage of employees in each department wit…
    • In this problem, you are asked to calculate the precision-recall and AUC for given dataset. 5.1 Generate synthetic data by make_classificationinsklearn.datasetsas , set the number of sample as 500,…
  • can i get some help with the essay part of coding I’m not so good with that. So I have an idea of how to write it as an essay.¬† ¬† def form(): ¬† ¬† ¬† ¬†for i in range(0,5): ¬† ¬† ¬† ¬†firstname = i…
  • I have this code: #added libraries in the code import numpy as np import matplotlib.pyplot as plt #class Agent class Agent: #constructor for agent def __init__(self, location=None, color=’green’, n_ne…
  • Python I’m confused as to how I would go about this. Do I make a function or would I just implement the logic. I know I have to create empty list start =0; end = len(input_list) – 1 append
  • The text file that needs to be read can be found here https://drive.google.com/drive/folders/1mS6euotGlSKXxjmL2cA4vrT0MpsKO-TS?usp=sharing or it can be found on the NASA site https://ssd.jpl.nasa.gov/…
  • Fruit Pie Function Name: fruitPie() Parameters: fruits ( list ), minimum quantity ( int ) Returns: fruits for pie ( list ) Description: You are tired of eating take-out and decide to get some fruit to…
  • Build a graphical user interface for the Rankine problem on exam 2.¬† The GUI should: ¬† ¬†accept low and high isobar values and inform the user of saturated properties for these pressures ¬† allow th…
  • Introduction In order to practice the skills you have been learning and so that you can experience the importance of design in software development, you will be working on a project involving multiple…
  • Question 3: OOP (Encapsulation, Polymorphism and Inheritance) Given below is a class circleType that implements the basic properties of a circle. class circleType: ¬†¬†¬†¬†¬†radius = 0.0 ¬†¬†¬†¬†¬†def…
  • From given relation “titles”: &gt;SELECT * FROM titles LIMIT 10 ¬† tconst titleType primaryTitle originalTitle isAdult startYear endYear runtimeMinutes genres 0 tt0000001 short Carmencita Carmencita 0…
  • What does .loc(‘A’,’B’) do when applied to a DataFrame with two indices? ¬†. What does . loc(‘A’ , ‘B’) do when applied to a DataFrame with two indices? Select an answer: It extracts records with indi…
  • iGuess a number game #By Student Name, StudentID #INFS1101 section ## #Date: 25/10/2021 secret = 42 guess = 0 while (secret != guess) : guess = int (input(&quot;Enter a guess between 0 and 100…
  • Python See Aaron Maxwell’s Exceptional Logging of Exceptions in Python: ¬† Write an adder program that prints the sum of all the integer command line arguments passed, ignoring any non-integers that m…
  • Project: Topic Modeling ¬† Introduction: Prof. David Blei – Probabilistic Topic Models and User Behavior Probabilistic Topic Modeling ‚ÄĒ Pyro Tutorials 1.7.0 documentation MLSS 2019 David Blei: Varia…
  • You are working on an address book database with a table called Contacts and fields for first name, last name, address, and phone number. Describe how you would implement a Python method that prompted…
  • Pick a PowerShell command and elaborate on how it can be used in a Server 2016 environment. Explain if there is a comparable way to do the same thing at the Command Line in Windows or by using the GUI…
  • (4 points) This question deals with generating random numbers using a linear congruential generator (LCG). Here’s the formula for an LCG: xi+1=(a√óxi+c)modm ¬† Recall the conditions that must hold f…
  • Write the process as if you are creating an instructional step-by-step tutorial for someone who has never brushed their teeth before. ( Include every step from start to finish for the process of brush…
  • . Why do different sorting algorithms exist? Isn’t one enough? aining: Select one or more: out of O a. Different sorting algorithms can behave differently depending on the data they are sor…
  • #this code is based on the problem seen on the attached picture # the numerical integration should be 333.1999 import numpy as np¬† import matplotlib.pyplot as plt ¬† ¬† #by analytical integration ?…
  • Need power shell script . Instructions and how the script should look like when running is mentioned in the attached image. please see the attached image.. You are required to write a NEW PowerShell s…
  • How many requests do we have? Complete the function howManyRequests below to return the number of 311 requests that were made. The answer should be the N in the description of the problem above. In…
  • 3. please help me with these questions(3 questions) Restriction: You may not use the python round function or the str function This program inputs two numbers from the user. The first number wil…
  • Please help me write this Pok√©mon simulator:¬†. get_nth_row Write a function called get_nth_row which takes a filename string and an integer n as arguments and returns the nth row (as a dictionary) i…
  • CMPUT 1’75 – Lab 4: Web Browser with a List Goal: Use a built-in data structure (Python list) to simulate the forward arid back button functionality of a web browser. You are tasked with creating a …
  • Define a function named¬†wordRank¬†that accepts two arguments: a filename and a string. The function should return the frequency rank of the word that is passed in (1¬†for the most frequent word,¬†2¬†…
  • This is my code for my project, whenever I try to have it run it gives me an error on Visual Studio, and I don’t quite remember how to get my program to run on command prompt. Unless there’s something…
  • 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…
  • Enpoint ¬†is: ‘https://newsapi.org/v2/everything?’ Query Parameters : ‘q’ is search term , ‘pageSize’ is the number of articles to retrieve and ‘apiKey’ is your secret API key ¬† 1. Search term is ‘me…
  • Can you explain this code by adding comments? thank you ly_dictionary = {} for adjective,adverb in [[ ‘aft’ , ‘aft’ ],[ ‘fast’ , ‘fast’ ],[ ‘far’ , ‘far’ ],\ ¬† ¬† ¬† ¬† ¬† ¬† ¬†[ ‘good’ , ‘well’ ],[ …
  • Exercise Description Write Gherkin test scenarios (Given, When, Then statements)¬† describing ¬†tests for the program below. Grading Elements Scenarios are written according to the Gherkin language Sc…
  • Using Python, Juypter Notbooks I can’t figure anything out. ¬† I have attached screenshots of the instructions and my code ¬† Instructions My code ¬† ¬†. Declared Disasters | FEMA.9 x Digital Real Est…
  • What is the usage of _init_ ? When is it needed to be called? provide the answer with an example
  • Define a class named Shape and its subclass Square. The Square class has an init function which takes a length as argument. Both classes have a area function which can print the area of the shape wher…
  • Named Entity Recognition https://spacy.io/usage/spacy-101¬†(Links to an external site.) Go to this site and read down to (and including) “Named Entities.” This should give you the conceptual basis to …
  • 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 …
  • Task 4: Write a simplified quantum tomography simulator. It should be a function that takes as input a quantum state [x,y] and an integer value “numTrials.” Then, it should repeat the following (simul…
  • how to add proxy just like this using async. self . _loop = asyncio . get_event_loop () for combo in (open(&quot; ./combos . txt&quot;, &quot;r&quot;) . read() ) . split(&quot;\n&quot;): if combo n…
  • Create a Python code examples that demonstrate each of the following. Do not copy examples from the book or any other source. Try to be creative with your examples to demonstrate that you invented the…
  • There are two files a.txt and b.txt I need to make a python code that can be run through idle to do the following: read file a.txt line by line and change constant values to that in b.txt (if values a…
  • 1) what does the last item in singly linked structure contain? a) link to the previous item b) a method for appending an item c) a link to the first item d) an empty link¬† ¬† 2) which of the followin…
  • A program that gets a list of integers from input, and outputs non-negative integers in ascending order (lowest to highest). Ex: If the input is: 10 -7 4 39 -6 12 2 the output is: 2 4 10 12 39 For cod…
  • create a function to prevent the user from opening a file in write mode (mode=’w’) if the file already contains some content. We will call this function safe_open. ¬† Complete the safe_open(pth, mode=…
  • Using Python, Create a simple chatbot for a Restaurant/Fast Food Chain ¬† Sample simple Chatbot: ¬†. import time import random name = input(&quot;Hello, what is your name? &quot;) time. sleep(2) print…
  • Project Description This project involves creating a spell-checker problem that accepts a word from the user, look up that word in an available corpus and perform spell-correction on the word if the w…
  • Delete Character We need to prompt for a string. And then we need to remove all of the letter “@” from the string and print it. Enter a string: k..s@timtim.com kjonestimtim.com
  • sum_num = 0 ¬† ¬† ¬† ¬†condition = np.where(labels == 1) ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†lis = np.array(condition).tolist() ¬† ¬† ¬† ¬†for i in range(data.shape[0]): ¬† ¬† ¬† ¬† ¬† ¬†if new_weights[lis[i…
  • DNF, 15pt] ¬† [5pt] In Python you can write the following expression p&gt;=q&gt;=r ¬†where¬†¬†and¬†¬†are conditions (for us: propositional variables). What this means is that p is at least q and q is …
  • determine final values of num_boxes numBoxes=5; numApples=9; if(numApples &lt; 10) { ¬†¬†if(numApples &lt; 5) ¬†¬†{ ¬†¬†numBoxes = 1; ¬†¬†} ¬†¬†else ¬†¬†{ ¬†¬†¬†¬†numBoxes=2; ¬†¬†} } else if (numApple…
  • Python please: ¬† Write a program that creates an upward-pointing arrow. Choose 2 input characters: one for the arrow’s body and one for the arrow’s head, then print an upward-pointing arrow. For exam…
  • Problem 6: (7 points) In Module 2 you learned about mathematical operators and in Modules 2 and 3 you learned about conditional statements, loops and user defined functions. ¬† Write a function called…
  • def print_tic_tac_toe(horiz_char, vert_char): ¬†¬†for i in range(3): ¬†¬†¬†¬†for j in range(3): ¬†¬†¬†¬†¬†¬†print(‘x’, end=”) ¬†¬†¬†¬†¬†¬†if j != 2: ¬†¬†¬†¬†¬†¬†¬†¬†print(‘ ‘ + vert_char + ‘ ‘, end=’…
  • computational maths (3) Create an array of linearly spaced elements :2: in the interval :2 E [‚ÄĒ1, 1]. HI] = zsin (i) (c) Change y such that if a is in y and a &lt; 0 then a = |a|. That is, y hm only…
  • 2 Count the number of words (30 points) Write a function that counts the number of words in a given sentence. The function shall take in a string, the sentence, as a parameter, loop through the string…
  • solve the question This is our third lab that will be looking at test cases. In previous testing labs, we checked values, value types, approximate values, attributes we knew about values. Here we want…
  • ASSIGNMENT¬†OBJECTIVES &amp; OUTCOMES ¬† ¬† Learning Objectives:¬† ¬† To teach the students both theoretical and practical knowledge of how to build dynamic Web applications.¬† ¬† Students will practi…
  • You must include the following components in your Employee Management System: Employee Management System – Functionality 1 In Week 1, you developed the first functionality for the employee management …
  • weekly income for female workers, in USD. Part 1 (2 ptsl: Create a new datafrarne that contains only the industry data (i.e., excluding the rows that are about occupations) and assign it to the varia…
  • Hand Trace sequence for: fltl = float(input(“Please enter a floating point number from 1 to 10: “)) print(fltl) fltl2 = float(input(“Please enter a floating point number from 1 to 10: “)) print(fltl2)…
  • Need assistance on correctly running this python code python code #!/usr/bin/python import sys for line in sys.stdin: line = line.strip() val = line.split(“|”) ¬†¬† lo_quantity = val[8] ¬†¬†lo_revenue…
  • 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 ¬†¬†…
  • The following list represents a ranked list of top 20 documents returned in response to a query. Relevant documents are represented with an R, and irrelevant documents are represented by an Ir. …
  • Define a function find parabola extremun that . takes the real-valued coefficients a, b, and e, of a parabola y = ax + ba + c with non-zero coefficient a, and . returns its extreme value of y at a = F…
  • This question wants me to return a boolean value if a path exists, how do I get to this? I don’t fully understand the question, any help would be much appreciated. Thanks! Implement a function is_path…
  • If you’re going to develop an application, what type of application is it? What’s the application name and purpose? Can you also describe the purpose or the usability of your application briefly?
  • . Total Marks: /75 (10%) Instructions: This assignment is to be done individually. Submissions: . Create Python source codes which will perform the tasks specified below. . Once you are done, includ…
  • hello everyone! someone please help me with these questions? I have completed it but I am not sure i did correct. No data is missing. if you familiar with jupyter notebook , then you can help me. you …
  • program to prompt the user for hours and rate per hour using input to compute gross pay. Use 35 hours and a rate of 2.75 per hour to test the program (the pay should be 96.25). You should use¬† input …
  • #!/usr/bin/python # CS 6250 Fall 2021 – SDN Firewall Project with POX # build habit-v23 ¬† from pox . core import core import pox . openflow . libopenflow_01 as of import pox . lib . packet as pkt fro…
  • In Python A pedometer treats walking 2,000 steps as walking 1 mile. Write a program whose input is the number of steps, and whose output is the miles walked. Output each floating-point value with two …
  • Question #1: You are tracking the amount of time it takes for a laser to travel through different liquids to hit a target. While this appears to be ‘instant’ in human terms, it is measurable. Unfortu…
  • Python program that contains an array variable whose values are input by the user. It should the perform some modification to each element of array using a loop and then the modified array should be d…
  • Need to make a program that allows you to manage a task list that’s stored in a database.¬† Can some one help thanks in advance task_list_db.sql file below — *********************************…
  • Consider orders C made from tasks X := E (where X is a program variable, and E is a number juggling articulation), stack distribution X := alloc(E1, …, En), load task [E1] := E2, pile dereference X …
  • I would like to know what would be python program to do the following.¬†Ask the user to provide the initial investment amount, the percentage interest rate and the number of years for the investment.?…
  • . Homework 4 Goals The purpose of this homework is to use data analysis workflows for image processing, network analysis, and data exploration. Assignment Options You must complete this assignment u…
  • Could you help me with questions 3,4, &amp; 5 ? Im just looking for an input. PS, Im using Python 3.8.1 … Thanks in Advance. Kind Regards, Massimo Ulto [1) Write a function fast_power_mod(b,n,m) whi…
  • Hi, I need help with a Kaggle competition named ” House Prices – Advanced Regression Techniques” , with this I am struggling to write python codes for this using: Machine Learning Methods: ¬† Decision…
  • I’ve been trying to count the number of inputs the user has given to the program. For every time the magic function runs I have it set to add to the count function but when I run the program it…
  • How to make this code more concise?. Create empty list for each month, and a empty monthly average list to 43 # store the result of the average calculation of each month 44 jan_list = 45 feb_list = 46…
  • What is the output of the pseudocode segment given below?¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† ¬† num i = 1 num j ¬† while i &lt;= 5 ¬†¬†¬†¬†¬† j = 1 ¬†¬†¬†¬†¬† while j &lt;= i ¬†¬†¬†¬†¬†¬†…
  • The goal of this first project is to create a Web application using Python, Streamlit platform, the New York Times API and JSON documents to transmit data across the network. Preliminaries 1. Create a…
  • Suppose you saved the output of previous step as “successes”, which is a numeric vector. Please fill in the blank to write down a simplest base code to plot a histogram of “successes”:
  • 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-level abstraction of a behavior or functionality th…
  • Let I = [1, 2.09, 3, 4, 5, 6,‚Ä≤ a‚Ä≤, 8, 9, 10.14, 11,‚Ä≤ b‚Ä≤] be a Python3 list. And let J={1,2,7} be a set of indexes. Write a Python3 function to create a 2D list out of I where each row contains…
  • Introduction In addition to your work with HTML scraping this week, be sure you have carefully reviewed the work we have done with classes including instance variables and constructors, invoking super…
  • 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…
  • Time class is defined as follows: class Time: &quot;Represends the time of day. Based on 24-hour time attributes: hour, minute, second ()) time = Time() time.hour = 11 time.minute = 39 time.second …
  • plz provide the answers along with python codes A research laboratory was developing a new compound for the relief of severe cases of hay fever. In an experiment with 36 volunteers, the amounts of the…
  • def findAllPaths[self, position, solution}: &quot;findAllPaths&quot; takes the initial part of a solution Path, and a potential next solution position in the Vector. It explores paths with the given …
  • What is the function for sat_to_clique that takes a formula F as input and return a graph G and integer k as output such that: F is satisfiable ‚üļ G has a clique of size k For example: Test Result F …
  • you will use the starter file and update the TODO sections: In the¬†main() function, there is a while loop in which the program asks for inventory item data from the user and stores those items in a l…
  • hello, please help. i am getting some error of create¬†a¬†graph¬†from¬†the¬†data¬†in¬†the¬†data¬†frame. Please use Jupyter notebook. Thank you.¬† I am sharing all documents though google drive, it wil…
  • May you instruct me about how to output .py file which computes the total number of chats for each person who participated in the chat. Output the statistics in a JSON file. Execution format: python s…
  • How would i go about writing the following query – Display the names of all the drivers who were issued a fine &gt; 15 either after December 6, 2007 or with a ticket number less than 1200. Dr_license_…
  • To verify whether the ICMP redirect attack is successful, we can use the &quot;ip route get. &quot; command to see what router will be used for a packet destination. For example, if we w…
    • How are arrays and lists different? i. What are the most common uses for an array and a list? iii. What is the underlying principle of arrays?
      • Using the “average linkage” method, run the hierarchical clustering algorithm on the dataset, and get a 3-cluster result (by cutting the dendrogram at a certain height), and report SSE and RI. ii) …
    • need help with a program that displays Welcome to Python Welcome to Computer Science Programming is fun¬† 2. need help with a program that displays the result of (9.5 * 4.5 – 2.5 * 3) /¬† ¬† ¬† (45…
    • I have problem with reading csv file from this prompt : Welcome to the inventory tracker! What would you like to perform (import/statistics)? STATISTICS Sorry, no inventory data was loaded yet. Please…
    • a new Python program (preplist.py) that contains a main function and another function named¬† change_list . Refer to the SAMPLE OUTPUT after reading the following requirements. In the¬† main¬† functio…
    • Purpose we’ll the use of regular expressions to parse an HTML script of a play. Our ultimate aim will be to count the number of lines spoken by each character in the play. Read DataÔľö import urllib u…
    • Below are the direction for my script, it works for the most part, I am just missing something, could you assist? Convert the Ch3 Exercise to a function.¬†This is the description of the function: Use …
    • Move the attached code from this folder to your local python source code folder. Using the code examples in this week’s archive folder as a guide, complete the following programming exercises. 1.¬†¬†?…
    • How to Implement a function to compute the variance ratio (from reconstruction error) without using PCA library. ratio is negative value. ¬† 2. When i tried with PCA library 3. How to do Scatter pl…
    • Your manager calls you into his office. You’re being assigned to work on a program that faculty will use to calculate student grades. Your manager has good news, and bad news. The Good News:¬† The pro…
    • Heart Failure Prediction Dataset: ¬† ¬† This is the link to the dataset below from kaggle.¬† ¬† https://www.kaggle.com/fedesoriano/heart-failure-prediction ¬† Please answer the below questions based o…
    • I need an algorithm in python, thanks that has as main menu Options: 1. Calculate length measurements 2. Convert Currencies or Currencies 3. Exit Select what you want to do: –If we select 1, display …
    • In the following list of famous authors tuples where each tuple has the following items: (Author, Copies sold, Books written, Nationality) FamousAuthors = [(‘Agatha Christie’, 3000000, 85, ‘English’),…
    • It is baffling to get spontaneous email (spam), and it stops up your inbox. You are to foster a spam channel, which is a product that sweeps email messages that incorporate simply customary ASCII char…
    • A multi-user computer system maintains a text file containing the ID and preferred name for each user.User IDs are unique. Preferred names may be repeated.(a)Stepwise refinement is to be applied to th…
    • I have two labs. You have to run the lab and state the results of the already written program. Can someone help me please? Attached are the instructions and the already written program.
    • How do I calculate MAPE. I have the R2 but having trouble with MAPE. Logistic regression¬∂ In¬†[58]: log_reg = LogisticRegression(random_state=42) log_reg.fit(X_train, y_train) ‚Äč # predict y_pred_le…
    • I need assistance cleaning up my python code. I am not sure what it is that I am missing.¬† ¬† rooms = { ¬† ¬† ¬† ¬† ‘Great_Hall’: {‘South’: ‘Bedroom’}, ¬† ¬† ¬† ¬† ‘Bedroom’: {‘North’: ‘Great_Hall’, …
    • M269: Algorithms, Data Structures and Computability ¬† Find the complexity of the following blocks of code or algorithm’s description. [Note: your answer must show the steps that lead to your final an…
    • Complete the problem in Python ¬† ¬† ¬† ¬† Problem Descriptions: ¬† The following tasks need to be solved using Greedy Algorithm Strategy. Greedy is an algorithm design strategy used in optimization p…
    • [10 points] Given a list of numbers in random order, help with an algorithm that works in O ( n 2 ) to sort the list.¬† Do not use the list sort method or sorted function . ¬† [10 points] Provide diff…
    • How to write this program on Python? Long ago, children used to entertain themselves with a fortune telling Magic 8 Ball. The Magic 8 Ball was an oversized black pool ball that would allow the user to…
    • Python coding help: Write a program that first reads in the name of an input file and then reads the file using the csv.reader() method. The file contains a list of words separated by commas. Your pro…
    • Given Code: ¬† #Write a function called average_evens_and_odds. The function #should take as input one parameter, a list of integers. The #function should return a 2-tuple. The first item in the #2-tu…
    • (count_alice2.py). Continue refining your [L9-8] count_alice.py code, which should¬† read the file alice.txt, then process and print in alphabetical order the words found therein. Extend this program …
    • Strings05: Password.py Complete the goodPassword() function to return True if password is a good password. Otherwise, have it return False. Criteria for a good password are: At least 8 characters At l…
    • 3 . ( dictionary , 15 points ) Implement a function STUDENT ( ) which allows the user to enter the 7 – digit student ID . The program will keep prompting the user for a last name and first name . If …
    • Hello, I need help solving this Lab simulation, It uses Acceleration of gravity for variables and expressions statements and I am very new at python on so I need help solving it. It is very difficult….
    • . Consider the vector-valued function f : R2 ‚ÄĒ&gt; R2 deÔ¨Āned by f1($,y) 100$(y‚ÄĒ32)_$+1 f2(~’v, y) 150(932 ‚ÄĒ y) (a) Rather than writing the code in terms of m and y, we want to use a more c…
    • Provide A syntax analyzer that takes in tokens to determine if syntax errors exist in your programming language based off of rules provided. Provide A semantics analyzer to determine if semantic rules…
    • Please sir/ma’am solve this problems with Python code asap. Explanation isn’t mandatory. I will be forever grateful to you. Thanks in advance.. Question 2 Please read the question very carefully. Befo…
    • [Python] Please help!! Thanks!! Exercise 1: Exercise 2:
    • 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…
    • PLEASE COMPLETE THESE TWO PYTHON PROGRAMMING ACTIVITIES¬† Activity 1: Create a pie chart Given below the data of different luxury car sales per month in two separate lists. Make a pie chart, slice it …
    • Now that you’ve created your character classes, you will now make a Game class. This class will keep track of the status of the Game, including which Characters are still alive and if a team has won y…
    • #Write a function called search_inside_files. search_inside_files #should have two parameters: a filename and a string to search for. #search_inside_files should return a list of line numbers as integ…
    • . Background Hello, Python projects 1 and 2 introduce Python/IDLE to solve basic problems. Requirements (1) (a) You wish to buy a t-shirt as an appreciation gift for a number of individuals. Green a…
    • A charity asks volunteers to distribute flyers for an event. They want to distribute the flyers evenly amongst the volunteers. Write and test a program that prompts the user to enter the number of fly…
    • Write a Python program that read a whole number from the user. You program should then print “negative” if the number is negative, “positive” if the number is positive, and “zero” if the number is zer…
    • . Question 1 (10 points) What would be output by the following statements? n = 4 while n != 2: print (n – 1) n = n – 1 O O O O WH. Question 2 (10 points) Which of the following programs will o…
    • please help. There are many mathematical models used to model the Lorenz curve. For this homework, we will work with the simplified Rao-Tam Lorenz curve, as defined by: L(x) = xk, where k &gt; 1 Quest…
    • Hello, I got a question in Python. Could you please follow the flow showing in pictures, and help me out? Thank you. *Problem There are several ways to encrypt text. The simplest way to encrypt text i…
    • Task 3: help make a a script called ‘ groceries.py ‘ We are revisiting the groceries.py script and using the dictionary structure, for loops to simplify the groceries.py script in assignment 3. 1. Rea…
    • I have attached the screenshot here as the equation was really hard to type and understand.
    • CPT 180 PowerShell Assignment Directions Using the following guidelines, create a python program.¬† ¬† 1. You will be using the CPT180Stuff folder from the Bash Assignment for this assignment.¬† 2. Cr…
    • ‘ just question 2. Grading Rubric: 1) 3 marks for creating the tables and implementing keys and constraints. 2) 2 marks for cascading effect on deletion of a row. In [1]: import sqlite3 def samp…
    • Python Programming: Write a function earnings (name, age, salary) that takes as input a name, age and salary and calculates how much a worker will earn before retiring at age 65. Assume the worker rec…
    • SIEE = 16 numbers = [9, D, B, B, B, B, G, B, G, 9] index = Ô¨ā while index i SIEE: number5[index] 2 index * 13 index 2 index + 1 while index x 6: index = index – i print[numbers[index]}
    • Movie actors As a fan of golden age movies, you decide to program movies.py that finds the names of all movies that two actors starred in together. To do so, you make dictionary with the actors’ names…
    • Please help to finish writing isVertical and isHorizontal code using Python Programming language: Step 1: Check Direction [3pts] First, write two functions to check whether a set of three coordinates …
    • … A year in the modern Gregorian Calendar consists of 365 days. In reality, the earth takes longer to rotate around the sun. To account for the difference in time, every 4 years, a leap year …
    • Hi, I have attached the question and also the solution to it using For loop. However, I need it to be done with lambda, map, reduce, and filter, and without list comprehension and for/while loops or r…
    • Do Exercise 6.4 from your textbook¬† using recursion ¬†and the¬†is_divisible¬†function from Section 6.4.¬†Your program may assume that both arguments to¬†is_power¬†are positive integers. Note that the…
    • Using the¬†data provided in the file¬†breweries_us.txt,¬†what would be a proper Python program that locates and counts all the breweries residing in New York state? Print this count. Each line (record…
    • First I have my class code: class Account(object): ¬†¬†¬†def __init__(self, accountId = 0, balance = 100, annualInterestRate = 0): ¬†¬†¬†¬†¬†¬†¬†self.__accountId = accountId ¬†¬†¬†¬†¬†¬†¬†self.__balan…
    • 5. Write a program that replaces words in the sentence “I like to go dancing in the rain, but rain should not be too heavy” such as dancing with driving, rain with forest and heavy with long. …
    • How can I extract: Name of the Instructor Email of the Instructor Office Hours Number of assignments or labs ……………. These are pdf files , and I need those information to be extracted by usin…
    • Discuss how scripting might be used in your current or future IT career and also Identify at least one data type and discuss how it can be used for scripting in your current or future IT career.
    • Problem Description A small car yard dealing in second hand cars needs an application to keep records of cars in stock. Details of each car shall include registration( rego ), model , color , price pa…
    • Task 5 Complete the function that takes an integer as input, multiplies by e, and returns result rounded up from math import e,ceil def mathCalculation(x): # Student code goes here #expected outcome: …
    • Python Recursive Algorithm . Simple airline ticket reservation program. The program should display a menu with the following options: reserve a ticket, cancel a reservation, check whether a ticket is …
    • 12¬†LAB: Name format Many documents use a specific format for a person’s name. Write program whose input is: firstName middleName lastName and whose output is: lastName, firstInitial.middleInitial. …
    • This is the Huffman class: ¬† This is what I have added for a frequency dictionary that works: Can I get some help implementing these functions: ¬† ¬†. class HuffmanTree: 1 1&quot; A Huffman tree. Eac…
    • how can I make 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 bee…
    • riles and Parameters Your program must work with three files and an integer parameter. The name of the first file will be stop. txt for every run of your program, so you don’t need to ask the user for…
    • I need some help writing this code. Using the¬†read¬†method, write a readline¬†function that takes an opened URL object as a parameter and returns a single line as a string.¬† Hint: ¬†You will want to…
    • Doing this task for uni # the lookup table lookup = [83, 82, 64, 89, 92, 97, 61, 43, 56, 8,¬† ¬†¬†¬†¬†¬†12, 40, 27, 86, 58, 36, 88, 98, 62, 30,¬† ¬†¬†¬†¬†¬†32, 5, 78, 44, 90, 66, 85, 0, 46, 71,¬† ¬†¬†…
    • When using supervised machine learning, your ML problem is well-defined if you have: OInputs O Ouputs O NEITHER inputs or outputs identified BOTH inputs and outputs identified
    • Let’s assume you have joined an organisation as a programmer. Your boss has assigned a task to you which requires to write a script and work on salary for six different employees. The salary is provid…
    • python Administration For the end of year administration of Programming for History of Arts students you are to write a program that can do 2 things: calculate a final grade print a small graph of sim…
    • I am currently working on loops in Python. The exercise that I have to do is the following: “Repeatedly ask the user to either insert a number, or type stop. When the user types stop, print the sum of…
    • I need help solving the following question in ¬†Spark/Scala on Databricks. ¬†Show the top 2 days of the week with the largest number of daily average pick-ups, along with the average number of pick-up…
    • Python programming Write a Python user-defined function dollarOutput(num) that accepts an integer (num) and prints num values of dollar amounts as shown in the sample below. The output must be 3 colum…
    • Write a program that reads the contents of a text file. The program should create a dictionary in which the key-value pairs are described as follows:¬† ‚ÄĘ Key. The keys are the individual words found…
    • I need a code for this question in python3,thank you
    • Content and Structure: write simple programs to: 1. Accept inputs from user. 2. Perform mathematical operations to process data entered by user. 3. Print the output. 4. Use Decision Structures to eval…
    • py¬† Vec_mag() ¬†Vec_add() ¬†Vec_sub()¬† Vec_mult() ¬†Vec_div()¬† Vec_DtPr()¬† Vec_DtCs() ¬†Vec_CrPr()¬† Vec_CPSn()
    • CHALLENGE ACTIVITY ¬† 6.1.2: Basic function call. ¬† Complete the function definition to return the hours given minutes. Sample output with input: 210.0 3.5
    • . Problem 1a: Design a data definition to represent one of the available COVID-19 vaccines (as of December 2021). Possible options are: Pfizer-BioNTech, Moderna, Johnson &amp; Johnson’s, Astrazeneca…
    • Fit the full model g.main: salary ~ . Obtain the coefficient estimates, standard error of estimates, t value and p-value. Obtain the summary Estimated coefficients, Std. Error, t value, p-value. Run A…
    • tsv: simple_phone_boo_output.tsv: 3. Write a program that makes and modiÔ¨Āes a phonebook A. Create Version 1: 1. We assume that each person is associated with exactly one phone numb…
    • Hi, I need help getting my python code to work. For reverse_sentence, each word need to be reversed separately. For example “Hello world” would become “OlleH dlroW” with a space too. RESTRICTIONS, PLE…
    • Part I: (started in the last class) – 50% The following multiplication example uses every digit from 0 to 9 once (not counting the intermediate steps). Fill in the missing numbers. ¬†¬†¬†¬†¬†7 x x ¬†?…
    • Prepare a program that takes as input a number of kilometers and prints the corresponding number of nautical miles. Use the following approximations: A kilometer represents 1/10,000 of the distance be…
    • Implementation of Newton Raphson Method for an oil tank. You have a spherical storage tank containing oil. The tank has a diameter of 6ft. You are asked to calculate the height h to which a dipstick 8…
    • Confused on p-values. How do I make a conclusion? Question 7: Using the P-Value above, what can we conclude about if the change in diet causes a difference in death rate? Assume a normal p-value cutof…
    • Give a python code to add two numbers. Please help me
    • Hello, I need help solving this Lab simulation, It uses Function call with parameter: Print tic-tac-toe board for function statements and I am very new at python on so I need help solving it. It is ve…
    • Could someone help me with the code .apply() in Python? I need to do several math functions (mean, sum, mode, median and range), but using the .apply() function on the attendance column. I know how to…
    • PYTHON Write a two tape TM program to accept the language, { v&amp;w | w, v in {0,1}*, and v == w } The input will be presented as ‚ä£ w &amp; v _ … ‚ä£ _ … with the heads at the start of their re…
    • Please ¬†use Python or R ¬†: ¬† Using the Cauchy random number generator, writeing function that produce the standard normal random numbers using the accept-reject method. Compare the performance of t…
    • Write an expression that will cause the following code to print “18 or less” if the value of user_age is 18 or less. Write only the expression. Sample output with input: 1718 or less user_age = int(in…
    • Q1) You have num_shirts t-shirts, num_shorts pairs of shorts and num_shoes pairs of shoes. Create a variable called num_outfits that stores the total number of different outfits you can make in python…
    • . Task 2: Generting Suduko board In the template file, we provided solutions function, this function will return possible solutions to the board as a list of solutions, where each item in this li…
    • Player give his bet to increase his money. guess the side up of the coin the computer toss. See Attachment player give his bet to increase his money. guess the side up of the coin the computer toss ¬∑…
    • 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 &lt;3….
    • Do these steps below for the topic in the image above ¬† a. Analysis:(Describe the problem including input and output in your own¬† words.) b. UML Class Diagram c. Algorithm Design: (Describe the m…
    • Can you fix this to look like this pycharm from tkinter import* import random import time; import datetime root = Tk() root.geometry(“1350×750+0+0″) root.title(” Cafe Managment Systems”) root.configur…
    • Use Python to build K NN classification models using TrainingDataToyotaCorolla.csv file with k = 5 and K=10. Determine which K gives a better prediction accuracy and use it to predict the prices of th…
    • Create a new Python script called final.py. It should contain a shebang, and a main block that will only run when the script is executed on its own. (2 points) In Main, create three empty lists: ¬† in…
    • How do we create this program were we make a game blackjack with mad lib generator? Using PYTHON to make this game. At least 2 PYTHON codes you can deliver along with an output. Also if you give me 2 …
    • . 1. Download source code, GraphAdjacenty. py, from the Asgn#07 folder. And update logic to cover following graph. Upload your revised python source code and output to the assignment folder. 11 14 1…
    • Each row in this dataset is a 20 √ó 20 image patch represented as a 400-dimensional vector. use the L1 distance metric (see https://en.wikipedia.org/wiki/Taxicab_geometry for a definition) on R400 to …
    • Vowels and Consonants Design a program that prompts the user to enter a string. The program should then display the number of vowels and the number of consonants in the string.
    • solution for q1(a) Solve q1(c) using python template for q1(c). class Solution (object) : def isValid(self, row col grid) : return (row&gt;=0) and (rowslen(grid) ) and (col&gt;=0) and (colclen(g…
      • Recommendation You will then implement a recommendation function. This function will take in a user’s name, it will return a string representing the name of the top movie that this user has not wa…
    • Kindly provide the codes for the functions Task B: Product Ranking (linearly-ranked, 4 Marks) In addition to selecting products based on hard conditions, users should also be allowed to indicate their…
    • How to expand the following statement into multiple lines. db2 = sorted([(k, ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†[(kk, sorted(v[kk])) for kk in sorted(v.keys())]) ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†for k, v in temp_dict.items…
    • i am learning python, i want to do freelancing with python, give me the effective way of freelancing.jQuery2240010255376982270636_1602834925602?
    • You are writing a weather forecasting app, where you base your predictions on weather data that is stored in a table called data. Each day of the year has a row in this table. The first column of this…
    • 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…
    • #declare the variables fullprice=0 discountrate=0 discountamount=0 totalamount=0 Retail_price=99 quantity=0 #get the input from the user quantity = int(input(“Enter the quantity: “)) ¬† #calculate the…
    • Please follow the instructions: its by different classes. Thank you very much. the language is Python Programming . i will rate you ¬† CREATE ANY VIDEO ¬†GAME USING CLASSES Requirements: ¬† Must be do…
    • The Sun is the source of most of the energy that drives the biological and physical processes in the world around us‚ÄĒin oceans and on land it fuels plant growth that forms the base of the food chain…
    • My graph does not show the life of best fit in python, kindly help. What can i add here ¬† plot(t,Xp,label=”Xp”) xlabel(“Time (us)”) ylabel(“Position (mm)”) title(“v = ” + velocity + ” msu”) legend() …
    • Write a ¬†Python program that ¬†1. Ask the user for a positive number of names ¬†to enter ¬†2. Ask the user to enter that many names ¬†3. Prints a count of ¬†the number of names with at most 4 charact…
    • Implement function partition() that splits a list of soccer players into two groups. More precisely, it takes a list of first names (strings) as input and prints the names of those soccer players whos…
    • Develop a Python program to produce a report from an input text file with lines ordered by the “group” field. ¬†¬†¬†¬†¬† Input: to be named “puffer.txt”.¬† ¬†¬†Record (aka line) fields are group, bran…
    • Do the following: Add a Library instance called baileyLibrary Using the list paperbook_titles, add a list of Book instances called paperBooks Add to Book instances in paperBooks to baileyLibrary Print…
    • Need Help with these questions: When creating a repository structure to control a remote implant, the module directory should contain _______________________.¬† ¬†¬† Files that will be uniquely identi…
    • I am using pyspark in Jupiter notebook and not sure how to answer this question: modify the function time_of_cheapest_fare. Divide each day into two periods: Day (from 9am to 8:59:59pm, both inclusive…
    • Long ago, children used to entertain themselves with a fortune telling Magic 8 Ball. The Magic 8 Ball was an oversized black pool ball that would allow the user to ask a yes or no question, shake the …
    • 17 LAB: Line charts Write a program that subsets the loads and subsets the stock market data in target.CSV. Load the the data from target.csv as target. . Create a new data frame, tot_march, by subs…
    • # 10 pts – Return and calculate merkle hash by taking all transaction hashes, concatenate them into one string and # hash that string producing a &quot;merkle root&quot; – Note, this is not how merkl…
    • Question 2a: Write a function named q2a () that creates a simple game where the user tries to keep a red Circle object from falling down to the bottom of a window based on the following parameters: ?…
    • # *****## *****### *****## # 356102.1706366.qx3zqy7 LAB ACTIVITY ¬† 3.9.1: LAB: Input and formatted output: Right-facing arrow 0 / 10 main.py
    • A python code that pass the following t..h@example.org”) observed¬†=¬†user.email expected¬†=¬†“jsmith@e..h@example.org&gt;” assert¬†observed¬†==¬†expected,¬†f”{observed!r}¬†!=¬†{expected!r}”
    • I need help with editting my code. I included the link to the starter code and csv file in the description.
    • Save the data below ¬†of city and weather into a ¬†file and read that into dictionary. city ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†temperature Annapolis: ¬† ¬† 57.8 Germantown: ¬† ¬† 56.3 Baltimore: ¬† ¬† 53.2 …
    • i will attach the python files 2. Review Assignment4.py and primeSieve.py. One nonfunctional requirement we did not discuss in the lecture is &quot;performance&quot; or &quot;response time.&quot; This…
    • Hello, I want to install turicreate, but this keeps showing up, and I have totally no clue how to fix it. Could you help me with that? Thanks!
    • Implement the core function¬†knn_classify(k, labeled_points, new_point)¬†for KNN classification algorithm. Implementation will use the¬†distance(v, w)¬†and¬†majority_vote_weighted(labels, distances)¬†…
    • In Python, how would you write a program that interviews users with 10 questions. Implement the program in a way that list named “questions ” keeps the questions. list named “constraints ” keeps possi…
    • Add 4 doctests…Do not use while loop or list or list methods…u can use for loops
    • You will complete thi s assignment in Python 3.x. Make sure you have downloaded the software, and it is installed correctly. You will download it from this site:¬†https://www.python.org/downloads/. Yo…
    • Question below. Thanks Task You are required to develop a Python program as detailed in the instructions below. 75% of your marks will be based on the completeness and correctness of the basic program…
    • def higher_order_lambdas(): “”” Return a lambda function that takes in a multiplier and returns a lambda function that given an input will return the input multiplied by the multiplier &gt;&gt;&gt; ho…
    • In this assignment, you must use variables, loops, if statements, your own function definitions, and function calls to write the required functions. For now, you may not use any of the powerful functi…
    • Task 2¬† 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 cou…
    • Multi-layer Analysis &amp; IDK/Google-IT exercises Find the Average Table Discounts by Year for each Region(hint: find similar example in Pandas tutorial, Section 8) Find code that will: Format your p…
    • . 9.2 Vending Machine This lab will be available until February 4th, 11:59 PM EST Write a program that simulates a vending machine. The machine holds six snack items labeled them 1 through 6. The pr…
    • The assignment is to use Beautiful Soup to write a Python program that will extract all of the HTML links from http://www.capella.edu. I have the code just need help explaining it. I used w3resouce, i…
    • In my home area you’ll find a file named ‘e_coli_k12_dh10b.faa’ (Sequences included below). It contains all of the polypeptide sequences in the E. coli K12 genome in FASTA format. Your task for thi…
    • Predicting Boston Housing Prices. The file BostonHousing.csv contains information collected by the US Bureau of the Census concerning housing in the area of Boston, Massachusetts. The dataset includes…
    • Here is my next question. It needs to use functions and modules when applicable. Thanks in advance # Load the numbers from a file into an array. def load_numbers(filename): numbers = # to hold the lis…
    • NameError: name ‘train_dir’ is not defined how can i solve this problem in python ? test_transforms = transforms . Compose ( [transforms . Resize (256) , transforms . CenterCrop (224) , transforms . T…
    • . type radius in km accounting 0.2 airport amusement_park 3 aquarium 0.5 art_gallery 0.2 atm 0.2 bakery 0.2 bank 0.2 bar 0.2 beauty salon 0.2 bicycle_store 0.2 book store 0.2 bowling_alley 2 bus_sta…
    • How to get python to take a 5 digit zip code? What is the input ?
    • Use only phyton and has to work on coderunner. Question 14 Complete the get_prime_number ( ) function that prompts the user to enter a prime number. A prime number is a Not complete whole number that …
    • class TextClassifier: ¬† def __init__(): ¬† ¬† ”’ Construct the class ”’ ¬† ¬† ## CODE HERE ## ¬† def loadCorpus(): ¬† ¬† ”’ read documents into a dictionary such that ¬† ¬† ¬† ¬† keys of the dicti…
    • Python program for the following: 1. Given a list=[‘a’, b’,’c’, ‘d’,’e’,’f,’O’,’r’] Count the number of vowels and the total of other characters. Sample Run: Total Vowels : 3 Total of Other Characters…
    • The function html_procedure( filename) takes one CSV filename as the argument, then converts the CSV file Sample Rendered HTML Page into a simple HTML page. . Put elephant in the fridge 1. Open the fr…
    • Students in a course need to do lab assignments and take tests.¬†Course grade is calculated from these scores.¬†Build a program to calculate course grade.¬†You must design and use the following two fu…
    • . Question 6: Build the Full Rosters Implement the function common_players . The common_players function identifies which keys from the full_roster share the same values. The function returns a new …
    • Write a program to prompt for a score between 0.0 and 1.0. If the score is out of range, print an error. If the score is between 0.0 and 1.0, print a grade using the following table: Score Grade &gt;=…
    • Assume a file containing a series of integers is named numbers.txt and exists on the computer’s disk. Make a program that calculates the average of all the numbers stored in the file. ¬† Be sure to fo…
    • Exclusive Club Inc. offers a credit facility in their buyer’s club. Members are allowed a $1500 credit limit at bronze admission, $3000 credit limit at silver admission and $5000 credit limit at gold …
    • Question 5 Predict the output that will be shown when this program executes: num = 15 while num &lt; 12: print (num) num += 1 print(&quot;done&quot;) Edit View Insert Format Tools Table
    • You have a drone that can fly for a distance of D before it runs out of battery. There are N charging stations that can fully charge up a drone. a program to determine whether there is a way to fly a …
    • use python programming language Language Python 2 Left 2. Log Analysis 1 &gt; #! /bin/python ALL 10 # 11 # Complete th Write a program to analyze a log file to get the 50 12 # percentile of the &quot;…
    • from sklearn.linear_model import LogisticRegression from sklearn.ensemble import RandomForestClassifier from sklearn.datasets import fetch_20newsgroups_vectorized from sklearn.model_selection import t…
    • All quantities from the table are already defined in the template code in dictionaries mass, ro (initial position) and vo (initial velocity). Vectors Reminder of vector algebra and calculus: A Cartesi…
    • modify the program that you wrote for exercise 6 so it handles the following exceptions: it should handle any IOError exceptions that are raised when the file is opened and data is read from it it sho…
    • You are a songwriter, tired and upset because of all the lame easy rhymes that are in the most popular songs today. You decide to write a program that checks if two words rhyme. The program ignores an…
    • python import os ¬† ¬† os.environ[‘MPLCONFIGDIR’] = “matplot-temp” import numpy as np import matplotlib.pyplot as plt from sklearn.preprocessing import MinMaxScaler from sklearn.svm import SVC from sk…
    • Simple task : need a python script that count number of odd integers in my input file. It also must skip over element of data are not numbers #!/usr/bin/python¬† import sys¬† for line in sys.stdin:¬† …
    • 1) The question screenshot has been attached down below: ¬† ¬†. Pointillism is the name of a painting technique where patterns of coloured dots are used to form the coloured regions of an image. For t…
    • Datastore with Consistent Hashing Program Organization ¬† User.py:¬†This file implements UserInfo and UserData classes. UserInfo has a user id field and UserData data including email and password. The…
    • question in photo &gt; Question 8 Suppose we have two stacks: the Ô¨Ārst stack has some values in it, while the second stack Suppose we run the following code: is empty. while not 51. is_empty(): 52.p…
    • please give good explanation! Student Name: ID: Q4 (6 marks): For each of the following code snippet, briefly explain in few sentences what is being done by the code: 1 import pandas as pd import nump…
    • In this question, we are going to use the diabetes data set. Use sklearn.datasets.load diabetes() to load the data and labels. 2. Randomly split the data into training set (80%) and testing set (20…
    • I am having some problem configuring these in python Problem 4. (Drawing shapes) Compose a program called shapes. py to draw hearts, spades, clubs, and diamonds. To draw a heart, draw a diamond, then …
    • Need help with coding the S_eff equation to use in the d_hz equation, here’s the file I’m opening if curious https://drive.google.com/file/d/1zuC1SysAGNsXGRmnv3bOEr4Ej-FO_Oho/view?usp=sharing You will…
    • Explain why you would use dictionaries as a strategy for building an application in python that would store the names, birthdates, and addresses of extended family members.
    • Hi, I don’t know how to do this code use python. Can you solve this problem. Thank you. 1. Basic System A basic system consists of two nodes, and implements data link layer (05] level 2) type protocol…
    • Analyse and discuss the purpose of the following code? names={} for item in range(5): ¬†¬†¬†name=input(“Enter your name: “) ¬†¬†¬†age=int(input(“Enter your age: “)) ¬†¬†¬†names[name]=age
    • in python Develop a program that follows the rules of Farkle as described. This game can be played between 2 to 6 playes user has to choose how many player can play.After each player’s roll, calculate…
    • Use the Python List to list the months of the year.
    • For each of the following polynomials: Apply both the Muller’s method and the Bairstow’s method to find all real or complex roots, Analyze and contrast performance between the two methods, Plot the fu…
    • I need help with my Python assignment as follows below My values are way off test values as shown in the test file copied underneath “”” % % Purpose:¬†The aim of this file is to simulate the biofuel m…
    • “Instructions” MUST READ CAREFULLY !! All coding is on Python. Solve these questions without using bulitin library and built in function. Use Functions name and parameter name is same as given in each…
    • Please help me find the solution to these practice problems. Also please leave comment indicating where each number has been completed. :
    • Function Real getScore(String student, String names[], Real scores[], Integer size) Declare Integer counter = 0 While counter &lt; size If student == names [counter] Then Return scores[counter] End If…
    • Examine the features of the data. Identify which feature is continuous and which feature is categorical. Make some analyses and use your analyses to discuss whether each feature could be useful for pr…
    • import turtle def draw_spiral(line_length, turtle): ¬† ¬†“”” ¬† ¬†Draws a spiral with an initial line of line_length centered ¬† ¬†at the current turtle location. ¬† ¬†:param line_length: The inner pa…
    • az-lr (linux) = 10.0.17.4 az-wc (windows) = 192.168.17.4. Pre-Deployment Configuration Tasks Turn on your Windows Client and Linux Router VMs. On your Linux Router (az-Ir) VM: 1. Enable system-wide fo…
    • Implement BLOSUM matrix calculation from scratch in python.
    • when do we use DBSCAN MODEL, GSM MODEL, AREMA SEREMA MODEL? Which unsupervised model would be good for thematic images and integers as data for predictive analysis?
    • An Internet Service Provider (ISP) must, as part of its service to customers, provide a Domain Name Server (DNS). A DNS is a server that maintains a database of domain names, such as www.griffith.edu….
    • Write a function dragonize that produces Heighway’s Dragon Curve. The function should be similar to Yi Jie’s, and it should also make use of the revert function. Test your code and make sure you can …
    • PYthon please. performed in the following way:&quot; Python 3 v . Autocomplete Ready 1. Choose a contiguous segment of a certain number of computers, starting from the beginning of the row. 1 &gt; #1/…
    • Develop the test for their assigned functions. You must test your functions programmatically, as we have been doing previously. Write a corresponding test function for the function/s you were assigned…
    • Receiving error below. File and folder. In [10] : TEST SIZE = 0.5 RANDOM STATE = 2018 BATCH SIZE = 64 NO_EPOCHS = 20 NUM_CLASSES = 2 SAMPLE SIZE = 20000 PATH = ‘/ dogs-vs-cats-redux-kernels-edition/’ …
    • a function getICO(page_url, domain_name, limit = 20) scrape all ICO inforamtion, including Name (see (1) in Figure), URL (the hyperlink of (1) in Figure), description (see (2) in Figure), start dat…
    • Please write a trace for the following program: def tripleIt( myNumber ): ¬† ¬† returnValue = myNumber * 3 ¬† ¬† myNumber = myNumber + 1 ¬† ¬† return returnValue myNumber = 3.3 newNumber = tripleIt( m…
    • Problem 5: (6 points) In Module 5 you learned how to create a subset of a dataframe and to show the top values of a column. 1. First create a new column in df called Difference that displays the diffe…
    • Note: Console only; No modules needed; Only in a single .py file¬†. 1. Write a CUBE that computes student average Create a class called Student Use the init 0 function to collect the student informati…
    • a high-resolution graphic for the US Census Dataset. It should consist of small multiples of bar charts that shows the distribution of different attributes across different age groups. Using Python …
    • Writ a Python Program that encrypt and decrypt a text file (You should yourself create a text file and named it example.txt which contains only “Hello World Omar” text) using the RSA algorithm given i…
    • A network is often recorded in an adjacency matrix. But sparse network, adjacency matrix wastes much space with many “0” in the matrix. You are given an adjacency matrix file: 9_11_HIJACKERS_ASSOCIATE…
    • My code is below. I want to put in checks against entering non-positive numbers for values. Where in the program would I put those statements? Will simple ‘if’ statements work? def main(): ¬†¬† ¬†¬† #…
    • 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…
    • How do you Write a function called print_hello(elem) that takes in a parameter. Within the print_hello function, how do you create a a variable my_name and assign it the value of your parameter. Retur…
    • Use the while structure to keep track of: o An accumulator o A counter Use the decision structure to control/manipulate the final output Output the results. OBJECTIVES – Use the while structure to kee…
    • Examine the mystery method and hand simulate the call mystery(x,y); using the linked list below. Lightly cross out ALL references that are replaced and Write in new references: don’t erase any referen…
    • 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…
    • I’m supposed to print a polygon for 12 players but my code prints out extra table. I can’t seem to find what I did wrong. import¬†random¬†# allows me to use random import turtle #task1 def pocker_hand…
    • Assume that S is a string. Returns a string just like S, but all lowercase except with¬† the middle one (when the length is odd) or two (when the length¬† is even) letter(s) capitalized. For exampl…
    • A set of symbols is commonly used to express logical representation. Let’s define the semantics of each propositional symbol: P means “It is hot” Q means “It is humid” R means “It is raining” Examples…
    • Fractions of hours Consider a program that converts a list of fractions of an hour into the number of milliseconds that they represent. ¬† Your program must: 1. accept user input as a comma separated …
    • . 1 Create a .txt file of at least 1000 words and save on your hard drive. (You can find text online – be sure there are no hidden formatting characters – to do this save the file in notepad first) …
    • Prompt For this milestone, you will be submitting a working draft of the code for a simplified version of the text-based game that you are developing for Project Two. You will focus on displaying how …
    • Write a function that, given a DataFrame, computes each entry’s deviation from the mean of its column. *please use python panda*
    • Consider the graph G shown in the figure: (3) Determine the local vertex connectivity 501,6) and the global edge connectivity A(G). [8] (b) Apply the greedy algorithm to colour the vertices of G in th…
    • Make a program called get_meal.py which Takes as input a series of meal details (as described above), one meal per line, Encodes each numbers as afloat, Stores each meal and its details into its own d…
    • Describe the advantages and disadvantages of using multi-threading with Python. Explain how multi-threading impacts the overall software design and the different roles involved in software design. Dis…
    • How to create Pizzeria Program using Python and Postgresql? Problem: Jeff has a small restaurant which serves 3 different types of pizza (Pizza A, B, and C). In order to cut down on costs, the owner o…
    • Create 5 dictionaies each dictionary will have Id, Salary, Sales Percentage Update the 1st dictionary with biggest id, higest salary and highest sales percentige and display it as output.
    • 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: …
    • Listen Consider the following python code: # Program to perform set operations A ={0, 2, 4, 6, 8} B ={1, 4, 5} C={3, 5, 7} print((A | B) &amp; C) True or False: The output is {5} True
    • For the following function that accepts as input a list¬†lst¬†of positive numbers, identify the tightest simple bound of the worst-case computational complexity in terms of the size of the input¬†n = …
    • Could you help me with these functions? I finished the Grouper class already. They are in python. We are not allowed to use any external imports other than: from __future__ import annotations import r…
    • The data here is from the US Federal Election Commission (FEC) and itemizes individual contributions from California to federal campaign committees for US Presidential Candidates, current as of Septem…
    • clear explanation plz 10. Greatest Common Divisor Write a function, ged(n,m), that returns the greatest common divisor of the numbers n and m. The greatest common divisor of two numbers is largest num…
    • Question 5: Squared Difference We discussed¬†the¬†square¬†function¬†in the lecture. Using¬†the¬†square¬†and¬†mean¬†functions¬†provided, define a new function called variance that calculates the varian…
    • I am taking ITI1120 and I have an assignment on social media and I kindly need assistance as soon as possible
    • Convert a picture to sepia tones. using jython functions refrence introduction to computing and programing in python a multimedia approach forth edition by mark guzdal page
    • How do you send code form python to Spark What’s the difference between flatmap and map (2 Spark transformations)
    • Create a Python program insert.py containing a function insert_inbetween(s,p) that returns a new string containing all characters in string s separated with string/character p. That is, for input abcd…
    • I am trying to use a loop to show the new salary and percentage change in salary after receiving three time 5% raises. salary=float(input(“Enter the beginning salary: “)) for i in salary: ¬†¬†i= pleas…
    • This is a plot of the training data, with the two classes in different colors. Which models are suitable for this data set? What training accuracy would you expect from this data set?¬† ¬†. W O 2 O …
    • write function that determines the minimum and the maximum element in an input list of comparable elements. This function should be as efficient as possible in terms of its worst-case computational co…
    • a program that allows a student to fill out a registration form and displays a completion message that includes the user’s full name and a temporary password. Registration Form First Name: Eric Last N…
    • Exercise 6 Use the function design recipe to develop a function named rotate_left3. The function takes a list containing three integers. The function returns a new list containing the same elements, b…
    • Please help me! I need advice on how to complete this code! My assignment is due in two days! Thank you! Problem Description Several years of experience in algebra probably yields a consistent interpr…
    • 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 these …
    • engineering notebook about robotics coding competition just narrate it. Team name: Team Omicron For coding Calendar for automatic: disregard this¬† For coding process: check the program (it’s on gdriv…
    • How to construct a tic tac toe game using turtle graphics in python: We can use: turtle.goto turtle.window_width, turtle.window_height turtle.up, turtle.down turtle.begin_fill, turtle.end_fill turtle….
    • How does Spark transform data streams into RDDs? What is the abstraction that facilitates it?
    • Please answer in Python 3 and explain the code Identical Distribution: A number of snack trays must be made for a party. There are number of snacks of various types that need to be evenly distributed …
    • https://docs.google.com/spreadsheets/d/1_1ERCOQ7wAB413WBfw2VOEPVzvBgcIOW10gmDP2clnQ/edit?usp=drivesdk I need help with the function below, which uses Bayes’s theorem to calculate and return the poster…
    • I am supposed to program a grocery list. This is the error I get: ” File “grocery_list.py”, line 34 item_total = 0 ^ SyntaxError: invalid syntax” This is my code: grocery_history = [] grocery_item = {…
    • The typical UML diagram for a class has three sections. What appears in these three sections? Give an example.
    • I want a deep understanding of what monotheist is and its relationship to Islam.
    • Using Python, I generated random numbers and a math formula.¬† ¬† How do I pass the numbers through the formula and store the results so I can graph them and use them for other computations? ¬† pi = m…
    • . In this investigation you will write a python script that will allow a user to interactively configure a network interface’s configuration file. Before beginning, make a backup of your ifcfg files…
    • what would the code look life if it was transformed to use while if instead of else if statements. OVOUIDWN def getGradePoint ( lettergrd) : if lettergrd == &quot;A&quot;: gp1 = 4.0 elif lettergrd == …
    • Exercise (On-Your-Own) Write a program that prompts the user for coefficients a, b, and c and prints out the solutions to the quadratic equation ax- + bx + c = 0. A sample run of the program should lo…
    • In the following two table definitions, Which of the following is most recommended to be primary key in table Departments: Employee(empNo PRIMARY KEY, empName NOT NULL, address, mobile…) Depar…
    • *what is the output of the following code? Assuming val = 13 (explain why choose answer) ¬† ¬† for i in range(val) : ¬† ¬† ¬† if i%4 == 0: ¬† ¬† ¬† ¬† ¬† break ¬† ¬† ¬† print(i, end= ‘ ¬†‘ ) print(“Lo…
    • I need Python tutor to help me with creating a function that gets a letter grade from a list of grades then returns the letter grade after calling the function
    • Assignment Using the IDLE development environment, create a Python¬† script ¬†named¬†tryme4.py.¬†(Note: an alternative to IDLE is to use a free account on the pythonanywhere website:¬†https://www.pyth…
    • Random Walk Expected Duration: 4 hours Problem In 1827, the Scottish botanist Robert Brown observed that pollen particles suspended in water seemed to float around at random. He had no plausible ex…
    • use this link instead of the one in the question http://reed.cs.depaul.edu/lperkovic/test1.html . It appears as if they authors of the textbook have changed the URL.. Question 7 Implement recursive fu…
    • 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…
    • https://drive.google.com/file/d/1WLz3nDx-O8FD2UBNmP0ZIGaM3tjlvgKN/view?usp=sharing the link contains the csv file.. i am getting few errors in this…i am using matplotlib to plot a graph please corre…
    • program to open a text file for writing, and then write the contents of a list or string to the file. Show an example of use. 2.¬†¬† program to read in a text file and display the results to th…
    • ‘abc’ only matches the first part of re, which is ‘\w+’, I don’t understand why the second ‘\w+’ at the end of the pattern are ignored. Could you help me with this? Thanks! ¬† ¬† ¬†. In [28]: re . sea…
    • In this mini-project, you’ll implement an agent that can solve Block World problems for an arbitrary initial arrangement of blocks. You will be given an initial arrangement of blocks and a goal arrang…
    • how come the output is -1? I don’t understand, please show me how python get to -1. “bib”.find(‘b’, 1, 2)
    • For purposes of this question, you can assume that you have a Process class imported into your program. Any process object has two attributes:¬† ProcessID ( a unique Integer value ) and Time ( an Inte…
    • Berikut merupakan gambaran proses yang terjadi dalam kehidupan dunia nyata: ¬†a. Terdapat dua siswa, sebut: Budi dan Andi, yang masing-masing membutuhkan 2 buah alat tulis yang sama, yaitu: pensil dan…
    • def validator(expected, received): return True print(“Question #1 – Test Case #1:”, tester(validator( {“a”: “int”, “b”: “int”, “s”: “int”}, {“a”: 4, “b”: 7, “s”: 2}), True)) print(“Question #1 – Test …
    • 3. Decoding Phase Make sure you read and understand the material in the Introduction section, otherwise this may not make much sense.
    • Copy the main( ) program below (including the required #include lines) into your file and IMMEDIATELY save your file. Place your code for the required functions below the main in your file and IMMEDIA…
    • Hello, I am working on a python quesiton where I am supposed to check for palindromes, and would like an explanation. Please not only the code, but also an explanation or comments, thanks so much ūüôā #…
    • Question 1: part1 We will be implementing various functions related to the team-based shooter game ‘Overwatch’. We want to design a¬† matchmaking system for Overwatch that can create fair matches betw…
    • Hi, How do I convert the following code toPseudocode? class toyLibrary : ¬† ¬† def __init__ (self, listofToys) : ¬† ¬† ¬† ¬† self.toys = listofToys ¬† ¬† # creating function that displays the availabl…
    • First Part: Copy and paste the text into a file, add the #!bin/bash line and run the script. 1. What does the following script do? #! /bin/bash echo &quot;Enter any number between 0 and 10&quot; read …
    • Part 3 Describe your experience so far with peer assessment of¬† Discussion Assignments . How do you feel about the feedback and ratings you have received from your peers? How do you think your peers …
    • I dont know what to do? Students: Section 2.20 is a part of 1 assignment: Homework 2 Requirements: zyLab Entire class due: 09/21/2020, 11:59 PM 2.20 LAB*: Program: Food receipt Note: When accuracy is …
    • 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…
    • What’s the full code in Python for the Fraction class with representing a number as a fraction? ¬† Internal representation is two integers o Numerator o Denominator ¬† You have to implement the interf…
    • Build a graphical user interface for the Rankine problem on exam 2.¬† The GUI should: ¬† ¬†accept low and high isobar values and inform the user of saturated properties for these pressures ¬† allow th…
    • Exercise 6 (3 points): Suppose you are given the following inputs: . mat: A Scipy sparse matrix in COO format. This matrix might have come from Exercise 5, for instance. . map_row: A Python dictionary…
    • Find the number of UNIT sales per year for the year range 2010 – 2019. Sort the output from lowest to highest sales.
    • Dynamic programming can also work well on tree structures. Let us call a subset S of vertices a blanket if every edge is adjacent to at least one vertex of S. Suppose that we wish to find the minimum …
    • Python: Implement the Alien class in Alien Invaders Assume a sound is played when the Alien flies across the sky, and stops when they disappear or are killed. ¬† ¬† ¬† ¬† ¬† ¬†¬† ¬† class Alien(Alien)…
    • Write function¬† dseries(n_terms) ¬†to calculate the first¬† n ¬†terms of the following series 1 **2 + 2 **2 + 3 **2 For example: print (dseries(3)) Result = 14
    • Python¬†3.6 Part 1: a Parser with a Positional Argument: The positional arguments are required when you run your program. If you design your parser that have a positional argument, you have to use tha…
    • how to write this code out Conditional Statements Equals == Not equals != Fix broken code 1 Fix broken code 2 1 or 0 True or False Fast Cars 1 Fast Cars 2 Categories Simple boolean return Boolean inpu…
    • Develop a function find3rdSmallest(array) that returns the 3rd smallest element of the array. For example, if the array is [7, 5, 8, 6, 4, 89, 5], then the results should be: 7. Note: You can not …
    • Using Python:¬† Create a program that encrypt message in image using a key:¬† Link is given below for better explanation ,¬† 1) Encrypt the Message using a Given Key 2) Translate Key and Message from …
    • Show code for how train this model ( min-char-rnn.py https://gist.github.com/karpathy/d4dee566867f8291f086) with different numbers of epochs (ie. 5, 15, etc). in Python.
    • I found this code and I am trying to use it as a base for my program however whenever I try to run the program JFK doesn’t show up on the print and Lyndon B James result seems a lot smaller than what …
    • . Question 1 Explain in your own words why we cannot use a for loop to solve Slot Machines. Question 2 What is the problem in the following code? * = 10 while x &gt; 1: yay – 1 Question 3 Listing 4-…
    • I need help match the following words or phrases with definitions or concepts. MongoDB Bucket Graph database Document database Aggregate ignorant A database, comes from the word humongous, in sync wit…
    • please help me 4) Write a script which creates a list for the values of z for x=4, 5, …, n until z &lt;600000, for the summation given below. Print out the list. Z = V (4×3 + 5×2 + 3x) x=4
    • Question 3: find attached 3. Write a function that queries the user about the truth of a statement and then uses the user’s answers to distinguish between facts, falsehoods, alternative facts, and oth…
    • 1)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 ” operat…
    • I need to develop a python program that models a library as a collection of books and patrons. A patron can have at most three books out on loan at any given time. Each book has a title, an author, a …
    • How would you go about testing the transformation-invariance argument (with Python and scikit-learn, for example)? In what ways are trees and random forests superior to other machine learning methods,…
    • Using python language why are programming languages call Object Oriented? What are string methods and define what are a few common Strings Methods and what are they used for. Given an example of how t…
    • Please help with Python!!! We have used the shapefile uscnty48area.shp of counties in the conterminous USA in the class. It can be downloaded as a compressed file from here¬†(https://github.com/gisalg…
    • I entered : def sum(numbers): ¬†total = 0 ¬†for x in numbers: ¬†¬†total += x ¬†return total and it says: LAST RUN¬†on¬†12/22/2019, 9:42:42 PM Program Output Program Failed for Input: 1 , 3 , 5 , 7 , 9…
    • A child class inherits attributes and methods from one or more parent classes. (True or False?) ¬† 2. Type a single line of code to call a parent class Room’s str method. ¬† 3. Say we have a parent…
    • Use the following dictionary. dt = ‘g1’: [a for a in np.arange(4)], ‘g2’: [b for b in np.arange(4)], ‘g3’: [c for c in np.arange(4)], ‘g4’: [d for d in np.arange(4)] . Make data frame named df. Change…
    • One more time for Student Average!…why do I keep going back to Student Average?…because working with something you are familiar with with help you to focus on the new tasks…familiarity should wo…
    • Below is a simple implementation of a blockchain called PandasChain. This blockchain stores transactions in pandas DataFrames (in-memory) and does not write to disk. The following are the components o…
    • Describe the difference between a¬† chained conditional ¬†and a¬† nested conditional . Give your own example of each.¬† Do not copy examples from the textbook. Deeply nested conditionals can become di…
    • Function: get_scores a) No parameters¬† b) Return the list of scores¬† c) Ask the user for the number of test scores being entered¬† d) Repeatedly prompt the user to input scores¬† until the specified…
    • When I test run my code, the output printed is incorrect. It prints 1009.0 instead of 349.2. Assume that a file containing a series of integers is named numbers.txt. Write a program that calculates th…
    • Notice the random seed is 20220304 and max number of clusters is 10 while min is 2.. Questions 17 and 18 You can use Chicago’s 311 Service Request to report street potholes. After a request has been…
    • Please help on making this memory version 1 code please the template is provided below and description # Code Example 2 # Implements a general game template for games with animation # You must use thi…
    • Question 3 (10 points): Purpose: To practice writing functions with arguments. writing docstrings. and to explore color models. Degree of DitÔ¨Āculty: Easy to get the right output. but properly using…
    • In this problem, you are given a completed program that has logic errors. You need to fix the errors.¬† ¬† This flawed program is an Age Classifier. The user enters an age, and the program outputs a s…
    • Question 1 ‚ÄĘ Alarms The program should enable the user to schedule and cancel alarms. The alarm should notify the user when the relevant time is reached. Alarm functionality should be defined using …
    • I ¬†am supposed to use python for this code, but I do not know how to correctly input the data. I am supposed to read a file and write to another one. It is supposed to look like the following:¬† Barr…
    • Develop an algorithm for the following problem statement. Your solution should be a modularised¬† pseudocode with appropriate comments and provide appropriate error messages. As keeping the records…
    • This is the link of the assignment (Question 3 and 4.2) : https://github.com/bkimo/discrete-math-with-python/blob/master/lab2-bubble-sort.ipynb
    • 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, which will hold computed su…
    • Prompt for a number of pennies and express it in dollars and cents. For example, an input of 457 pennies should be expressed as 4 dollars and 57 cents. Write pseudocode only but be very specific about…
    • You are a shepherd tasked with getting sheep and wolves across a river for some reason. If the wolves ever outnumber the sheep on either side of the river, the wolves will overpower and eat the sheep….
    • Python Program Assignment description: detailed algorithm and a program in Python for a “TradeBot” to simulate online buying and selling of books. The following activities of the TradeBot are to be im…
    • #¬†Part¬†0.1 #¬†This¬†only¬†needs¬†to¬†be¬†run¬†the¬†very¬†first¬†time¬†you¬†set¬†up¬†this¬†project #¬†If¬†you¬†see¬†the¬†message¬†that¬†states¬†“Requirement¬†already¬†satisfied:¬†[…]” #¬†Then¬†you?…
    • How can I combine these functions to solve part3.4 and 3.5 def classify_sentiment(sentiment,cutoff): ¬†¬†¬†if(abs(sentiment[0]-sentiment[1]))&lt;=cutoff: ¬†¬†¬†¬†return “neutral” ¬†¬†¬†elif(sentiment[…
    • (Python)Lets say I have a data like this a = [ ’10’ , ’11’ , ’01’ , ’00’ , ’10’ , ’00’ , ’00’ , ’11’ , ’10’ , ’00’ , ’00’ , ’01’ , ’01’ , ’11’ , ’10’ , ’00’ , ’11’ , ’10’ , ’11’ , ’11’ ] how to write …
    • Write a program using integers user_num and x as input, and output user_num divided by x three times. Ex: If the input is: 2000 2 Then the output is: 1000 500 250 Note: In Python 3, integer division d…
    • Create a python program based on incremental development processes of collecting user requirements, designing, coding, testing and debugging to compute your term grade based on the following informati…
    • Write a python program as “define_pet.py”¬†that contains a¬†class¬†named¬†Pet, which should have the following data attributes: name animal_type¬†(Examples: ‘dog’, ‘cat’, ‘bird’, etc.) age The¬†Pet cl…
    • Hello, I need help solving this Lab simulation, It uses Read user input and print to output for input statements and I am very new at python on so I need help solving it. It is very difficult. It is v…
    • . Declaring sets and adding to them Declaring sets In [1]: # Declare a set named set1 with the following elements 1, 2, 4, 8, 11 using the curly bracket notation set1 = {1, 2, 4, 8, 11} # Create an …
    • Using VS Code ¬† Task 1: This problem will lead you through an object oriented solution of the Lego brick problem from Module 4. It allows for partial credit. The final result should look something li…
    • Load the Titanic data from a CSV file and store it in a dictionary [20]¬† Requirements:¬† ‚ÄĘ Define the function load_data(file_name:str,types:dict)-&gt;dict, which¬† opens and reads the file name…
    • Template¬† class Car: ¬† ¬†def __init__(self): ¬† ¬† ¬† ¬†self.model_year = 0 ¬† ¬† ¬† ¬†# TODO: Declare purchase_price attribute ¬† ¬† ¬† ¬† ¬† ¬† ¬†self.current_value = 0 ¬† ¬†def calc_current…
    • read integer value user_int=int(input(‘Enter integer (32 – 126):\n’)) #convert intege to character character=chr(user_int) print(‘Character of ‘,user_int,’ is ‘,character)
    • create these user defined functions. only we arent allowed to use Do not use any string “methods” other than lower and split. Those are the functions that are accessed via dot (“.”) notation. use only…
    • Write program that¬†uses arrange and step ¬†to create a array of all the even integers from 30 to 70. pls post comments too.
    • All coding is on PYTHON . INSTRUCTIONS: Answer this as soon as possible.
    • Chapter 4¬†complete the following Programming Exercises.¬†¬† #4¬†Distance Traveled ( but add an input validation loop to make sure the speed and hours entered by the user is not a negative number ) #8…
    • What are the key constructs required to create loops in Python?¬† Identify two scenarios that may require two different types of loops.¬† Be sure to provide specific details for each scenario that ill…
    • . From time to time Yetis who live high up in the Himalayan mountain ranges come down from the mountains to deliver a profound message, in their own language, to the folks in the plains. The folks i…
    • INSTRUCTIONS: 1) Python Programming 2) Use comment out for better understanding. Que: Write Inverted Index Algorithm pseudo code and Implement it in Python. make 2 or 3 text file with random data on i…
    • “””Creating an array of strings, each containing one of the top 10 reasons you like programming.¬†Prompt the user to enter a number from 1 to 10, then display the reason corresponding to the number th…
    • The government of South Amricandzia will impose a “single payer, single payment” system in order to cover the cost of health care for its citizens. Under this system, all citizens will be taxed a flat…
    • Write the python code with explenations. Task 2: In the given tree the first level represents max, the second represents chance, and the third represents min. While chance tries to calculate the avera…
    • For this previous question: https://www.coursehero.com/tutors-problems/Python-Programming/29374252-How-to-take-the-test-functions-for-this-code-Write-tests-just-for-tho/?justUnlocked=1 ¬† Please help …
    • To be done using PySpark Dropbox Link for data: https://www.dropbox.com/s/qbfxpxog58xeqjj/yellow_tripdata_2019-01_short.csv?dl=0 You will be modifying the function common_pair. Return the top 10 picku…
    • We were given this assignment on system design and programming course. please can you help. Coursework Assignment CSC-40044 System Design &amp; Programming Deadline: 1pm, 17th December 2021 Three file…
    • 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…
    • you will scrape data from fidelity.com. The goal of the exercise is to get the latest sector performance data from the US markets, and to get the total market capitalization for each sector. The end r…
    • Implement a recursive is_palindrome(s:str)-&gt;bool function, which checks if the¬† given string is a palindrome or not.¬† ¬† ¬† ¬† Examples:¬† &gt;&gt;&gt; is_palindrome(‘racecar’)¬† True¬† &gt;&gt;&…
    • Please use Python code to find the following answers. ¬† One may wonder if people of similar heights tend to marry each other. For this purpose, a sample of newly married couples was selected. Let ?…
    • Creating 24 directories for each week of class, each containing 3 folders for each day of class Copying files from ~/Downloads into the current directory Adding the copy script to the PATH Add an alia…
    • I need to check with my work. Thank you! 1. program named¬† filemaker.py ¬†that will be used to store the first name and age of some friends in a text file named¬† friends.txt . The program must use a…
    • In todays world, there are two general classifications of programming – Scripting or traditional programming code.¬† Although the differences between them are becoming less and less, the intent the th…
    • PYTHON Here is my dataframe: ID Tell Number 0 1 Yes 3 1 1 Yes 6 2 1 No 9 3 2 Yes 4 4 2 Yes 7 5 2 No 8 6 3 Yes 15 7 3 Yes 8 8 3 No 6 9 3 Yes 13 # Creating the dictionary dic = { ‘ID’ : [1,1,1,2,2,2,3,3…
    • This is a python question, please write the correct code for this. Complete the below function which takes a dictionary d and a key k as arguments and returns a value based on the following rules: . I…
    • python code. 3.’http://data.pr4e.org/romeo.txt’ After counting how many times the words appear in the file &quot;romeo.txt&quot;, print the words in upper .
    • Directions Using the following guidelines, create a python program. 1. You will be using the CPT180Stuff folder from the Bash Assignment for this assignment. 2. Create a PowerShell program named workW…
    • Consider the following Python program, which uses a nested loop: for x in [3, 4, 5]: for y in range(2, x): print(x * y) print(x, y) In section 1-1 of ps7pr01, we have given you a table that you sho…
    • One lap around a standard high-school running track is exactly 0.25 miles. how do I program in python that takes a number of miles as input, and outputs the number of laps. Than output each floating-p…
    • Is this correct?. 9. Review Read each question carefully and select the best answer. Remember that once y hit the Check It! button all submissions are final. In the sample code listed below, what do w…
    • SUDOKU: INFERENCE (BASIC PYTHON) ¬† Inference is the process of deriving a logical conclusion from a set of given facts. In the context of Sudoku, a player attempts to infer the correct values for emp…
    • Dear Python Tutor: Please complete the following Python problem. Make sure to read the directions properly and make sure your program contains the require concepts and methods. Please refer to the ins…
    • For 3.1, 3.2, and 3.3, please select what is the Big-O notation for the following recursive functions. ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬†. Q3.1 2 Points # Assume the parameter s is a Python string # and n …
    • may you please help with these 2 examples and please explain¬† ¬†. Supplementary Notes Brute Force Example 3 brute force approach is an approach that finds all the ven problem. PDF WTW15 . Straightfor…
    • Retrieve the “Close&quot; and &quot;Adj Close&quot; values for each stock You wilt create a dataframe where there are 20 columns for the 10 stocks, each row is the &quot;Close&quot; and &quot;Adj C…
    • Please I need a python code and also pseudocode of the following: A¬†Python program for an online MoonBucks coffee order. Coffee is sold by the pound, and the¬†price per pound depends upon the quantit…
    • Assume a game in which two players, A and B, score points and the winner is: ‚ÄĘ A player who has at least 3 points and wins by at least 2 points or ‚ÄĘ A player who first scores 7 points. Python prog…
    • outline the process of problem formulation in AI……………………………………
    • I want to figure it out how to display a maze. The below URL is general presentation. Actually I have to do many things but first trying to do maze.1 input. &lt;https://static.edusercontent.com/files/…
    • use turtle graphics to make an interactive forest drawing application. Start by creating a module ‘utilities.py’ which should contain four drawing functions as listed below. draw_triangle(centre_x, ce…
    • Identify and explain at least eight factors that can negatively impact the Veracity of data.
    • I copied the whole code and ran it but I keep getting an error when it reaches “import Mylib”. What is that and how do I fix it?. # Created a function for the lower and higher range along with numi an…
    • 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 …
    • Given two lists, please write program to compare the corresponding items in the two lists to check if they are equal.¬† Please complete the following program, the output should be 4 in the following e…
    • There exists a nested dictionary. Each key refers to the dictionary. Inside of these dictionaries, there is a key letter that refers to the value. d = {d1 : {‘a’: 1, ‘b’: 2, ‘c’: 3}, ¬†d2 : {‘c’: 4, ‘…
    • What is overfitting? Why is it a special problem when working with machine learning (data-adaptive) models? How can we protect against overfitting? Provide a few lines of Python code that might be use…
    • I’m using python 3.8 if that matters. Exercise: Write a program to process a file of DNA text, such as: ATGCAATTGCTCGATTAG Count the percent of C+G present in the DNA.
    • I need the code please1 library &gt; CYB 130: Object-Oriented Scripting Language home &gt; 6.5: LAB: Checker for integer string zyBooks catalog Help/FA Forms often allow a user to enter an integer. Wr…
      • Function Three: excelPrep Imagine you are part of a team writing a grading application to automatically grade MS Excel homework for a class at your university. As part of this grading program, your…
    • Write function¬†moreOdds that accepts one argument, a list of integers. The function then returns a bool that indicates whether the list contains(strictly) more odd numbers than even numbers. ¬† ¬† ¬†…
    • Need help with a non marked practice online problem Help creating these images (half scale) on turtle using the test functions provided: # Use this program as a testing framework for your functions.¬†…
    • Hi this all the info i have as well i have given my attempt on q2 but q3 and 4 i have no clue thanks. Question 2: 07B 2-D Array Creation View Past Answers Create the following 2-D array assigned to va…
    • Hello tutors !! I really need a help on my assignment.I have already done the assignment but i am not sure if it is correct.I have shared a google link for the .py file .Please give me some idea on th…
    • TRY TO REMOVE THE REPETITION IN THE PYTHON USE THE MOST BASIC BASIC BASIC CODING YOU CAN THINK D O NOT DO: def wrong_positions(guess, answer, results): ¬† ¬†counter_list = [0] * 5 ¬† ¬†index = 0 ¬† ¬†…
    • Produce a python program that will randomly prepare monthly duty roster for doctors in OBS &amp; Gynae dept of a hospital. There are two sections, namely Emergency room and Delivery room and each sect…
    • IMPORTANT NOTE:¬†¬†If you are the classroom computers, this recitation will go far more smoothly if you are using a folder on the virtual V: drive — as should have been set up in the very beginning…
    • Ask the user for a number between 3 and 100 (inclusive). USING LOOPS, figure out what is the largest power of 2 that is less than or equal to the number entered. For example, if the user entered 6, an…
    • please help¬† Given data:¬† const data = d3.range(20).map(x =&gt; ({ x: Math.random() * 20, y: Math.random() * 100, z: Math.random() * 50 ¬†})); (Please copy this red line into your &lt;script&gt; ) ?…
    • . Project 2 Problem to solve . Compute the square root values of a list of integers using two different algorithms: . Bisection search . Newton-Raphson . Compare the efficiency of these two algorith…
    • Need assistance with the questions: From the code blocks below, create a while loop that will iterate ten times. Note: not all code blocks will be used. Also you will need to indent your code to show …
    • Problem Statement 3) Create a program that prompts the user to input an integer value &quot;n&quot;. Then using a nested for loop (a for-loop within another for-loop) your program should draw a half c…
    • The system keeps track of the information in a 2D list/array and gives the reservation attendant 5 options¬† 1) make a new first class reservation a. Only 8 seats are available at $500 ¬†2) Make a new…
    • phyton language https://www.dropbox.com/s/ul8y0vvcpjwb6ri/F-F_Research_Data_Factors.CSV?raw=1 help Q5,6,7 :(. File Edit View Insert Cell Kernel Widgets Help Not Trusted Python 3 (ipykernel) O + Run C …
    • how to code via python: ¬† m 1 = ¬†¬† ‚ąĎ t = 1 n ‚Äč e t m q = ¬† ‚ąĎ t = 1 n ‚Äč ( e t ‚Äč ‚ąí m 1 ‚Äč ) q ¬†, q=2,3,4
    • . Task 2 – Finalising grades and class performance statistics (40%) This task is built upon Task 1. You may want to make a copy of task1. py, and name it task2. py, and you may want to use the logic…
    • Part 1 Write Python program that does the following.¬† Create string that is a long series of words separated by spaces. The string is your own creative choice. It can be names, favorite foods, animal…
    • Class Iris : def init_ ( self , creds , dbname = ‘ data602 ‘ , new = True ) . self ._ conn = # connect and store the connection object self ._ dbname = # store the database name if new &quot; # If ne…
    • 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-he…
    • Fixed what I was told to and its still giving me this error. Can anyone tell me what is wrong?¬†. Section 2.25 is a part of 1 assignment: Wk 2 – Apply: Labs [due Day 7] Requirements: zyLab Due: 09/14/…
    • Write a program that asks the user for a file name and prints the number of characters Gncluding spaces), words, and lines in that file. 3 pts The input: Enter a filename: The output: The file con…
    • Describe each possibility in your own words. Define “precondition” and “postcondition” as part of your description. Create your own example of each possibility in Python code. List the code for each e…
    • def bubble_sort(L: list) -&gt; None: ¬† ¬†“””Sort the items of L from smallest to largest. ¬† ¬†&gt;&gt;&gt; L = [4, 2, 5, 6, 7, 3, 1] ¬† ¬†&gt;&gt;&gt; bubble_sort(L) ¬† ¬†&gt;&gt;&gt; L ¬† ¬†[1, 2, …
    • Details of tail: The tail generator function (a decorator for iterables) takes one or more arguments: all will be iterable. When called, it returns an iterable result that produces some of the values …
    • Can i please get the codes for this question using jupyter notebook, i keep getting errors Use sklearn Decision Tree to train the simple classifier model: Data1: Apple or Orange Weight Skin Fruit 140 …
    • *5.39 (Financial application: Ô¨Ānd the sales amount) You have just started a sales job in a department store. Your pay consists of a base salary plus a commission. The base salary is $51110. The foll…
    • 1) The question screenshot has been attached down below: ¬† ¬†. Question 1 (10 points) For this question you must design and implement a postcondition loop in Python that will display the following nu…
    • I need help creating a Python testing script that imports your CRUD Python module to call and test the create and read instances of CRUD functionality.. from pymongo import MongoClient from bson . obj…
    • Consider 3×3 matrix a = 2 5 -3 5 7 1 -3 1 4 (a) Find the characteristic polynomial for A. Note that this will be a polynomial of degree 3 in lambda. (b) Solve the characteristic equation and find all …
    • How to work out this problem? Write a Python function that takes a list of strings as input, Ô¨Ānds all strings of even number of characters, and returns these strings as a list. Test your function us…
    • I need help writing a python program from this statement: Assume a file containing a series of integers is named numbers.txt and exists on the computer”s disk. Show a program that reads all of the num…
    • For this programming challenge, you will write a program in the Spyder IDE, save the Ô¨Āle as [Ô¨ĀrstName_lastName_challenge_2].py, and submit the .py Ô¨Āle to this drop‚ÄĒbox. Instructions: Write a ?…
    • Hello, I’m having trouble trying to figure out where exactly i input the data for the code to compile. As far as the artist and albums information. Please help.
    • Design a program that lets the user enter the total rainfall for each of 12 months into an array.¬† The program should calculate and display the total rainfall for the year, the average monthly rainfa…
    • entered 125? What is the value of user_input from the following command: user_input = float(input()) if the user
    • Problem 5 Calculating a Confidence Interval Using data collected in the simulation from Problem 4 as our sample, we want to construct a 95% confidence interval of an estimate of the average bacteria p…
    • I Need help I keep getting this error when I run the code Enter input string: Traceback (most recent call last): File “main.py”, line 2, in &lt;module&gt; name = input(‘Enter input string: ‘) EOFError…
    • function save_to_csv(task_list, filename) that will accept the list with nested dictionaries and the string with the filename to which to save it. 1.1 Use with to open the file with the required filen…
    • Python Programming Note: Please Python Code Only DEMO CODE POLICY ITERATION 1:(ELEMENTS) importsys Importrandom class MDP(object): def __init__(self,states,actions,transition,reward,discount=0.5): sel…
    • Here is the image. Write a Python program in Wing. Save your file as &quot;MP308_initials. py&quot;. When finished, upload your file as an attachment for this question within Blackboard. Your program …
    • Hello, I need assistance in completing the python script below. The script ingests a standard PCAP File and creates a passive asset map based on the observed UNIQUE activity and stores the resulting m…
    • Suppose we want to allow 2 or 3 players to play a dice game with a fair 6-sided die. The player with the highest dice roll wins. If there are 2 players with the highest number, they both win. If there…
    • related to arrays lists and tables. Assignment #6 [2%] Chapter 7: Arrays: Lists and Tables Other Instructions will be provided by the instructor Question 1: Draw flowchart and write a program (Flowcha…
    • Design a program that asks the user to enter a series of 10 numbers. The program should store the numbers in an array and then display the following data: ‚óŹ The lowest number in the array ‚óŹ The hi…
    • Please Write in Python: The Marietta Country Club has asked the user to create the program to gather, then display the results of the golf tournament played at the end of March.¬†The Club president Mr…
    • If you were given a set of (x,y) data, determine how you would estimate the parameters ūĚĎé and ūĚĎŹ for the¬† following nonlinear functions using linear regression. That is, linearize the equation ap…
    • 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…
    • # Program name¬†¬†¬†: Wk7_Jonathan_Delvalle.py # Student Name¬†¬†¬†: Jonathan # Course¬†¬†¬†¬†¬†¬†: ENTD220 # Instructor¬†¬†¬†¬†: Robert Haluska # Date¬†¬†¬†¬†¬†¬†¬†: 8/19/2020 # Copy Wrong¬†¬†¬†¬†: T…
    • Please help with step 5 and beyond: https://colab.research.google.com/drive/14EquCCliq2vfDePqb_L4uIlLcJuspTcw?usp=sharing ¬† Please let me know if the link isn’t working!
    • I need help creating a function called to_rodcase that takes in a string and returns it as a camelcased string with the ‘ROD’ between each word instead of spaces. Example: to_rodcase(“Hello there stea…
    • python pandas : given a DataFrame with 10000 rows, print out the rows between 2001 to¬†2010. ALSO print out the rows from INDEX 2001 to 2010 ¬† should look something like : df.loc[start:stop]
    • please use pycharm Requirements ‚ÄĒ Write a program that will calculate the: 1) area 2) surface area and 3) volume of a cylinder. ** Be sure to apply formatting logic so that all answers show two deci…
    • Grocery shopping practice in python Assume there are three items in the grocery store named item one, item two, and item three respectively. A single item one sells for one dollar, a single item two s…
    • The Task is to write a Python Code containing 4 functions (def). Each function Takes as Input a fasta File containing a dna sequence. What each function has to do is described in red writing. T…
    • Write a program that replaces words in a sentence. The input begins with word replacement pairs (original and replacement). The next line of input is the sentence where any word on the original list i…
    • . FAQS Q. How to open and read a csv file? A. Code for the same is as below: import csv # Open file as below in the variable named file (considering encoding to be ‘utf8’ and file to be at ‘filename…
    • What is ‘training Set’ and ‘test Set’ in a machine learning model? ¬†(should be no plagiarism)
    • . 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 …
    • def show_instructions(): ¬† ¬† # for starting gameplay to output to user ¬† ¬† print(“Welcome to Brother Hockey War”) ¬† ¬† print(“You must visit all the rooms in your house and collect the seven item…
    • 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 rotation — $19 Car wash — $7 Car wax — $12 (2) Prompt…
    • Decision Tree Question 3: Binary Trees (40 points) . How many unique, perfect binary trees of depth 3 can be drawn if we have 5 attributes. By depth, we mean depth of the splits, not including the nod…
    • What is the result of the command line execution: python cmd_list.py 1 2 3 4 5 For this program cmd_list.py: import sys n = len(sys.argv) Sum = 0 for i in range(1, n-1): Sum += int(sys.argv[i]) print(…
    • #Write a function called average_file. average_file should #have one parameter: a filename. # #The file should have an integer on each line. average_file #should return the average of these integers. …
    • Write a python program called anagram.py that does the following: Reads in words and their meanings from a text file called “words.txt”.The easiest way to store these would be in a dictionary. You may…
    • please answer the ff: ¬† 1. ¬†What is the position of a specific item in an array? ¬† 2. Fill in the blank: An array is a list of _________ a. any data type b. data with same data type c. related data…
    • using python answer the following questions ¬†. Write a program to prompt for and read a sequence of non-negative numbers (with a negative number to end input) and then print the least non-negative in…
    • I am trying to get the header of a website to be red, using the color name. I cannot get it to apply the changes in the css file to the site. Can someone please help me figure out where I am going wro…
    • . Problem 1 Newton Binomial In elementary algebra, the binomial theorem (or binomial expansion) describes the algebraic expansion of powers of a binom…
    • How do i check if the input is a number and not a string and print invalid when it is and ask again for a correct value.?. an 1 1 = anhTun 39 for i in range ( len (employee_list) ) : +- – 40 if user_i…
    • OOP Soup. malls three brands of tomato soup: Soup brand Container volume WPrice my; Tomato Soup 10.?5 oz $1.?5 WTomato Soup 10.0 oz $1.15 WTomato Soup 12.0 oz $1.80 Make a class for soups called soup …
    • Home Search courses Submit Page path Home¬†My courses¬†CS 1101 – AY2020-T4¬†30 April – 6 May¬†Programming Assign. Unit 4 Programming Assign. Unit 4 Submission phase Workshop timeline with 5 phases Ski…
    • Please i need help, please please please. 1) Single screen with information about a the 2020 Olympics Createan application using PyQt.¬†The user must enter the name of an Olympic sport and a single ch…
    • Computer Laboratory 5 CSCI 1913: Introduction to Algorithms, Data Structures, and Program Development 1 Essential information ‚ÄĘThis assignment is due Tuesday March 1st at noon and will be turned in …
    • I have to use the “classicmodels ”¬† database I installed in MYSQL, create a Python script that deducts one percent from the amounts paid for purchases made in the month of December. The amounts custo…
    • Build¬†Bold¬†is¬†a¬†small¬†builder¬†in¬†Australia¬†that¬†focus¬†on¬†building¬†sheds¬†and¬†villas¬†in¬†rural¬†areas.¬†They¬†are¬†willing¬†to¬†develop¬†a¬†small¬†software¬†to¬†manage¬†their¬†employees,?…
    • Integrating MySQL Table Data with a Python Script Download the world-x database from the following MySQL website: http://dev.mysql.com/doc/index-other.html Python script to increase the population of …
    • Hello, I need some help with this program, if you could well comment on the code, it would be amazing. Thank you.. a- Define a function called (isSymmetrical that takes a string value as a parameter a…
    • This is a question for programming in R for IV regression using ivreg(). Can you explain which variables go on the left side of the | and which ones on the right side?
    • I am working on a programming assignment to retrieve a private key. This is done in Python and I need some help getting a better idea of the concepts involved.
    • knightsTour(rows, cols) # with backtracking [50 pts] [autograded] A knight’s tour is a sequence of moves of a knight on a chessboard such that the knight visits every square exactly once. If the knigh…
    • Note : Python code and plot it Algorithms pls. 2. Develop a user-friendly program to apply a Romberg algorithm to estimate the derivative of a given function. Test it by using the following function f…
    • Exercise 2 Write a program that asks the user to enter their student ID and course code (like INF$1101) Check both the entries for student ID and course code. Student ID should be in the range of (600…
    • Welcome to my app EMPLOYEE DATA ENTRY Manager or Representative? (m/r): d Invalid selection. Continue? (y/n): y Manager or Representative? (m/r): m First Name: Frank Last Name: Wilson Email A..n@conve…
    • We’ll want a contact to have a (full) name which is required, zero or more phone numbers, and zero or more email addresses for the contact. Here’s an example of how someone will want to use our c…..
    • Whats the definition of data structures? what is an example of a list data structure? How¬†tuples are used?
    • Hi! I have a question about my Computer Science homework(project). I have uploaded an image of the function below. Thanks! The entire project is about having the user choose a recipe based on either a…
    • Write a function in Python that converts a temperature from degrees Kelvin to degrees Fahrenheit. If the temperature is below zero degrees Kelvin, the program should raise an AssertionError and pr…
    • RESTRICTIONS:You are not allowed to use ANY built-inPython data structures and/or their methods (lists, dictionaries, etc.). You must solve this portion of the assignment by importing and using object…
    • I need help in sentiment analysis, constructing a code with comparative reviews in a .csv file. This is the textbook chapter I need to follow ‘comparative opinions’ ¬†written by Jindal and Liu.¬† ¬† ?…
    • Write the function scrabbleTuples that accepts the list parameter words and uses the computeScrabbleScore function developed earlier to return a list of tuples. Each element in the list is a tuple tha…
    • First, we should copy, paste and save the file below as CityTemps.txt Benton 65 68 67 65 69 70 71 Conway 68 73 67 69 71 73 73 Lonoke 67 72 70 71 73 74 75 ¬† City Temperatures The CityTemps.txt file co…
    • ### INTRODUCTORY CODE BELOW ### # 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 ¬† …
    • PYTHON PROGRAMMING ONLY Code a program to record, search, and create the students of a course in a file. This program first shows a menu including the following options to the user, and responds accor…
    • Hello, I need help solving this Lab simulation, It uses Tree height for variables and expressions statements and I am very new at python on so I need help solving it. It is very difficult. It is very …
    • add comments to code please 2. Change for a Dollar Game code a change-counting game that gets the user to enter the number of coins required to make exactly one dollar. The program should prompt the u…
    • Q2 (40%) Convolutional neural networks In this question you will construct a convolutional neural network to classify a large set of low resolution images. Similarly to what you have done with A2, we …
    • Can you create the script requested for this question. This is literally just the assignment You are a GIS intern in a land holdings company. The property owned by the company has been surveyed and th…
    • For each data set find the Mean standard deviation standard error in the mean (SEM) a 95% confidence interval.¬† ¬† Then run a t-test with the null hypothesis that the data is from the same distributi…
    • I need help with the class Account(object), class CheckingAccount(Account):and class Bank(object): The code is below, it is confusing. The following code for account import pickle class Account (objec…
    • 08 – Let us memorialize this todo list 10 coding | python Given a filename and a list, write each entry from the list to the file on separate lines until a case-insensitive entry of &quot;stop&quot; i…
    • Task 1: Basic Calculator &lt;¬ß2.1 Conditionals; ¬ß4 Functions&gt; Implement a function calculate(x, y, operator) that takes three arguments: two integers, and one of ‘+’, ‘-‘, ‘x’, ‘/’. The function …
    • Question 1. Write a Tipper program where the user enters a restaurant bill total. The program should then display two amounts: a 15 percent tip and a 20 percent tip.¬† Question 2: Write a Car Salesman…
    • how can I create a basic Boolean logic puzzle using “if else and or not” with this information provided CodingBat code practice Java Python Logic-1 &gt; near_ten prev | next | chance Given a non-negat…
    • Problem should be solved by using the random module in Python. Two players sit in front of a pile of n stones. Let the number of stones be randomly generated. The two players take turns removing betwe…
    • Can you please provide the answer?. # 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 proporti…
    • Hello I am trying to build a thermodynamics method in Python that takes in a DNA Sequence and spits out deltaG, deltaH, and deltaS (free energy, enthalpy, and entropy). The code I wrote from entropy d…
    • . Exercise 1. [100 pts] Fruits on trees can freeze in Winter time even when the ambient temperature is above 0 C. This exercise tries to explain this counterintuitive phenomenon. Consider a spherica…
    • . 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…
    • Hello, I need help with Class “customer” 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, th…
    • According to the explanation aboveÔľĆplease complete challenge 1 question.. In the new code input box, type in the following and then run it: textDF = pdmiwvaaH/mvenmsv’i encoding = 731111 ‘9 Does the…
    • Let ūĚźĻ =[[1,2, ūĚĎé ],[3,2,1+ ūĚĎŹ ],[2,2,2+ ūĚĎź ]] where ūĚĎé , ūĚĎŹ , and ūĚĎź are variables. ūĚźļ =[[0,2+ ūĚĎź ,‚ąí ūĚĎé ],[3, ūĚĎŹ + ūĚĎź ,‚ąí1],[ ūĚĎé ,3,‚ąí ūĚĎŹ ]] where ūĚĎé , ūĚĎŹ , and ?…
    • Can someone help me with my coding… could you please add the comments on each line..? and show in your python program..?
    • # Project Description: ¬† A `.csv` file contains Comma-Delimited Values of strings or numbers typically in the form of a table. Your program must read the contents of a given CSV file and print it …
    • 7 LAB: Hailstone sequence ¬† Given a positive integer n, the following rules will always create a sequence that ends with 1, called the hailstone sequence: If n is even, divide it by 2 If n is odd,…
    • catty = ‘cat in the hat’ vowel_count = 0 vowels = ‘aeiou’ idx = 0 while vowel_count &lt; 3: if catty[idx] in vowels: vowel_count += 1 idx += 1 print(idx) a) 6 b) 7 c) 10 d) 11 e) none of the above Sho…
    • my code is running an error. Compulsory Task 1 Follow these steps: Create a Python file called my_function.py in this folder. . Create your own function that prints all the days of the week. . Create …
    • I am having some trouble getting a top 5 bar chart to open in the below python code: The actual requirement is:¬†¬†Provide a Bar graph of the top 5 populated States showing their overall population. i…
    • Make one function named¬†longest_string. This function should have one parameter, which you can assume will be a list of dictionaries. The keys in each dictionary could be of various types, but you ma…
    • q ¬†-There are 4 students in a group. Write a function in python that randomly selects one student from the group and displays its name, roll number and marks. ¬†in python ¬† q- ¬† Why lambda function…
    • We have two girls, Sam and Tam, and the parameters Sam_smile and Tam_smile indicate if each is smiling. We are in trouble if they are both smiling or if neither of them is smiling. Return True if we a…
    • Code the function equation(i, data, y) and least squares predictor(data, y) without using numpy/pandas Please include explanation of the code &amp; the computational complexity To see the description …
    • can I get help in coding this function in pyhton? it’s about recursion. I attached the function assumptions. Functions No fancy narrative this time, just a few problems to solve using recursion. You m…
    • Hi, I need help modifying the below code to incorporate the following steps. append the scores (score1 and score2) to each of the lists used to contain all the scores once the loop is finished, use th…
    • I am looking for an example of sentiment analysis with a tweet extract using python with tweepy and textblob libraries that has some graphs and a dataframe with a CSV output. Does any tutor have compl…
    • 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…
    • knightsTour(rows, cols) # with backtracking [50 pts] [autograded] First, read about the Knight’s Tour problem here . Next, write the function knightsTour(rows, cols) that takes a non-negative int n an…
    • Task :: Data Exploration Given the dataset and the starting code answer the questions stated on this task. Questions + Analysis 2. Data Cleaning Write cleaning function such that: Preserves the name o…
    • Any help at all would be very much appreciated. The file (below) contains all of the polypeptide sequences in the E. coli K12 genome in FASTA format. The task for this exercise is to generate an amino…
    • please using while/break or for/break. Your task is to write a Python function q4_func with the following de f line: def q4_func (a_list) : where a_l i st is a Python list whose entries are of data ty…
    • Can this code be modified to be not repetitive but instead run on functions/loops # importing required module. from bs4 import BeautifulSoup import requests url_men_swimming = “https://athletics.baruc…
    • Task 1: Partial Sums Implement a function partial sum(start, end, step) that takes three integers and returns the partial sum of a sequence. The function will return the sum of the sequence of numbers…
    • Question: Hello, this class focusses on the program Anaconda, which is similar to Python programming. I would appreciate it if you could help me answer this problem. Question 1 What may be a function …
    • True or false: the asymptotic time complexity of Euclid’s Algorithm (tightest big-oh bound) depends on whether we account for a modulo operation (%) with 1 or 2 elementary steps in our cost model. Jus…
    • i want the python code for the program that accepts the measures of land in sq feet and returns the measures in acres
    • I have a list of scripts in a folder and I need to Parse the scripts to identify the “libraries imported” in each one. This would help me predict the label of a piece of Python code based upon the imp…
    • Question 4 (1 point) What will the following code doplay? det = { ‘Monday’ : 1, ‘Tuesday’ : 2, ‘Wednesday’ : 3} print (det . get( ‘Monday’ , ‘Not found’ ) )
    • Can this be an example of when a precondition is violated? If not, how can I make it an example of when a precondition is violated? pythonProject2 ) @ main.py main &gt; &gt; Q main.py &gt; 1: Project …
    • Given Code: #In the previous problem, you were given a list of integers #representing the amount of rainfall on each of multiple #days. Somewhere in the list was the number -1. You were #asked to find…
    • Generate K topics by using LDA, the number of topics K should be decided by the coherence score, then summarize what are the topics. ¬† Generate K topics by using LSA, the number of topics K should be…
    • Write a program that does the following:¬† 1. Ask the user how many words, between 3 and 6, he will enter¬† 2. Ask the question until the user enters a number between 3 and 6¬† 3. Proceed to ask for e…
    • Need few help in Python coding 1. Python Regular Expressions We have below input, for which we need 5 outputs – [‘199.72.81.55 – – [01/Jul/1995:00:00:01 -0400] “GET /history/apollo/ HTTP/1.0” 200 6245…
    • Dear Python Tutor: Please complete the following two Python problem (they are short). Make sure to read the directions properly and make sure your program contains the require concepts and methods. Pl…
    • . Examine the Python code written below. It contains 3 errors. Describe the line number where the error occurs and how to fix it. When running correctly it needs to calculate the discount of a pu…
    • Write the FileDownloads class below. class FileDOwnloads:
    • (Python3, with comments)Write a function friend_besties() that calculates the &quot;besties&quot; (i.e. degree-one friends) of a given individual in a social network. The function takes two arguments:…
    • I have a python solution that is giving me an incorrect output but I can’t seem to find what the issue is. ¬† Problem 1 Interval Bisection Search and Golden Section Search – 1-D Optimization We have l…
    • I’m not sure why the line happyplace[-1] = “and ” = happyplace[-1] works…
    • Python3¬† ¬†. 8.9 LAB: Count characters Write a program whose input is a string which contains a character and a phrase, and whose output indicates the number cftimes the character appears in the phra…
      • Create a numpy array [[0, 1, 2], [ 3, 4, 5], [ 6, 7, 8],[ 9, 10, 11]]) and filter the elements greater than 5 .
    • The method described in this section is to examine performance by making an educated guess on where performance bottlenecks occur before finishing and testing the entire application (or at least a com…
    • I need help with converts temperature from one of the¬†units Fahrenheit, Celsius or Kelvin, to another by creating a Python. I have showed my code in the bottom, but it doesn’t work… I need 3 parame…
    • Hello, Can you solve this question? Complete this function &quot;def numislands(self, grid: List[List[str]]) -&gt; int: &quot;to solve the below problem. Given a 2d grid map of ‘1’s (land) and ‘O’s (w…
    • Use python, please show the output Write the code to Implement Logistic Regression with Multi-Variables in the following template without Numerical Computation of Gradient. The code used all features …
    • # Program name¬†¬†¬†: Wk7_Jonathan_Delvalle.py # Student Name¬†¬†¬†: Jonathan # Course¬†¬†¬†¬†¬†¬†: ENTD220 # Instructor¬†¬†¬†¬†: Robert Haluska # Date¬†¬†¬†¬†¬†¬†¬†: 8/19/2020 # Copy Wrong¬†¬†¬†¬†: T…
    • Python Programming: 4th Edition Write a program that will read a data file calculates which contains sentences (text file).¬†Then count the total number of words in the file. Calculate the average and…
    • Hello, can someone please write a Python Code for the given Task. Thank you.. Task 1: Finding the longest open reading frame Write a function that takes as input a string and reports the position of t…
    • You are given a tree with n nodes. Each node has a value assigned to it . The cost of a path is defined as sum of values assigned to nodes that belong to the path. The root of the tree is node number …
    • How long is the Line (segment) that is drawn? (in pixels)
    • The goal of this project is to build a function / model to predict, as accurately as possible, whether, when, and / or to what extent a given small business loan will default.¬†There are a variety of …
    • Would you recommend removing rate_marriage[T.3.0] from the model? Why, or why not? ¬†. In [48 ] : 1 b = smf . ols (formula=’ affairs ~ rate_marriage + age , data = new) . fit( ) N print (b. summary ( …
    • PYTHON PROGRAMMING DO NOT USE TKINTER MODE I CAN PROVIDE MAP IF YOU WANT. Legend # Town =140 O DIF 5,000-20,000 Copial Chy Figure 2: Map of Saskatchewan with all the municipality markers drawn and a l…
    • I’m confused about how this blackjack works. Based on the picture provided, can you please explain step by step how this game is played in a simple version using only cards 1 to 10.¬† ¬†. Simplified g…
    • formula: from scipy.special import factorial ¬† ¬† python please help asap!! ¬†. o likelihood: This method takes two parameters in addition to self, data and hypothesis. data is a set of numbers, in t…
    • ANSWER THE FOLLOWING A,B,C,D,E¬† ¬† A. These will not be silly trick riddles, but puzzles with logical, deducible answers. The goal is¬† “to reach a conclusion by reasoning” . One of the important fac…
    • can someone please help me with this python problem ?. Filename: polynomial . py A polynomial in one variable can be represented as a dictionary where each key corresponds to a power of a term, and a …
    • I need help implementing the following functions: ¬† Read the specification of the function read_json in the module funcs. Implement this function according to its specification. Note that while many …
    • 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…
    • Please create a loop, which includes the following requirements: Your program will have a loop that: for each pdf file in the¬†one folder, it will: read its text (from the PDF) extract the most featur…
    • pythone code – what does the subplot function creates of plots and eliminates the needs to manually set the axes
    • Write one regex pattern to match any date of the form MM/DD/YYYY (hint: are there any special symbols for regex for numbers?). Ensure that the one,unique pattern you created can find the dates in the …
    • Give at least three examples that show different features of string slices. Describe the feature illustrated by each example.¬† Invent your own examples . Do not copy them for the textbook or any othe…
    • shirt = { “brand”:”Gucci”, “size”:”Large”, “price”: 200.00 } How do you print the value of the “brand” key using get?
    • Ensure you are in the ‘Project’ folder. Open the ‘test/test_inventory.py’ file using vim editor vim test/test_inventory.py. Press I to insert content in the file. Import MobileInventory class and Insu…
    • USING JUPYTER NOTEBOOK: ¬† A program that computes the number of denomination notes (as bigger as possible) required to be dispensed by an ATM machine for an amount to be paid to a customer. Denominat…
    • How do I write a script that will move all the PDF files into a directory called PDF and the images into a directory called images in Python? The script should create the top level folders (images and…
    • Concatenates the given list of strings into a single string. ¬† ¬†Returns the single string. ¬† ¬†If the given list is empty, returns an empty string. ¬† ¬†For example: ¬† ¬†– If we call concatenate([…
    • A pack of cards has 52 total cards, 13 from each suit.¬† a. Now using the methods, you have studied in Python so far simulate the experiment of drawing a card at random from a deck of cards. The data …
    • Pyton program for able and Baker call center problem
    • Pyhton Language ¬†. . Activity 2: Personal Message: Store a person’s name in a variable, and print a message to that person Your message should be simple, such as, &quot;Hello Eric, would you like t…
    • Write a program in python that reads a string seq from the user, representing a DNA molecule as a sequence of¬† letters A, C, G, and T, with each letter representing a different base. A codon is any 3…
    • please don’t copy past codes from google, i need something new
    • Modeling the dataset: https://drive.google.com/file/d/1VVYGMHv8jrzSQonbBd9C90ljPtyasnbX/view?usp=sharing Then, evaluate models.
    • Hello, ¬†to be answered in python please Important:¬† ¬†3. You may choose to complete the all requirements or attempt to complete as much as possible. 4. Credit will be awarded for requirements comple…
    • def make_camel_case (word_string) : word_list = word_string.split( ‘ ‘ ) output = ” for word in word_list: word_upper = word[ 0 ].upper() output = output+word_upper return (output) def question_1 () …
    • Problem 2 ¬† ¬† ¬† Ref: ¬† ¬† ¬† Ref for problem 2 ¬† ¬† All Python code(no dynamic program) please, thanks in advance! ¬† CSV : ¬†https://drive.google.com/file/d/1EuVYpYk6fvKhZ1knVZal86oMFu5d3K…
    • how can i m this program? 5. [10%] Write a Python program that reads an integer from {1, 2,.., 9}, and then prints a list of all possible strings of length n from digits ‘0’, ‘1’, ‘2’, …, …
    • What considerations must you take into account regarding language, user instructions, visual cues and indicators, etc, when the program design interacts with the user?
    • Problem 1: Prime Numbers A prime number is a number that is only evenly divisible by itself and 1.For example, the number 5 is prime because it can only be evenly divided by 1 and 5. The number 6, how…
    • . 1 Introduction The purpose of this lab is to implement a divide-and-conquer algorithm and to get more familiar with its computational efficiency. Suppose you are given an 1-D array A with n entrie…
    • Problem Statement Given a data file of 507 individuals and their physical attributes (weight, height, etc. from the body dataset at http://www.amstat.org/publications/jse/datasets/), create two linea…
    • PLEASE DO NOT USE FOR/WHILE LOOPS. only recursion.. Decoder Function Name: decoder() Parameters: encryption ( str ) Returns: codeword ( str ) Description: Given a string of both letters and special ch…
    • Using Racket (or Python) Intermediate Student language, develop code that moves the three aliens across a scene horizontally at different levels.¬†. ; CONSTANTS (define WIDTH 800) (define HEIGHT 500) …
    • This is the DNA FILE. For more information, visit the Nova/PBS website and demo at: http://www.pbs.org/wgbh/nova/genome/explore.html The Assignment Write a Python script to print out the amino acid se…
      • Make a class called ShapeSorter (the file name must be sorter.py) with a method called sort. This method should take as its argument a variable number of quadrilaterals (i.e., *args) and return a li…
    • Using Python programming, make a form that allows user to login to a modest web application that has a password and username with a file that has validated user. Once logged in, a formal greeting and …
    • first=[[0,1,2],[0,1,2],[0,1,2]] second=[[3,4,5],[3,4,5],[3,4,5]] third=[[6,7,8],[6,7,8],[6,7,8]] for i in range(3): ¬† ¬† for j in range(3): ¬† ¬† ¬† ¬†print(first[i][j],end=’ ‘) print() for i in rang…
    • How to filter and sort a list Here’s my work user_input = [int(user_input)]¬† for user_input in input new_input=[] for i in user_input: if(i&gt;0): new_input.append(i) new_input.sort() for i in new_in…
    • Which while loop is equivalent to the following for loop? You may assume that¬†numbers¬†has already been defined in each case. Question 9 (1 point) Saved Which while loop is equivalent to the followin…
    • . I finally develop a program that worked, yet the zyBooks, the platform for my assignment did not agree. How do I fix this?¬† And here is the code I wrote: ¬† This is what my assignment asked me t…
    • “this is not my work, but would like to understand and have the the tutor codes solved here” thank you “help me define external information” also, if this seems more than a question, i agree it is, i …
    • Test 1 Editor ¬† Code Languages: Python 3 (v 3.9) Python 3 (v 3.9) ¬† ¬† Key Bindings: Default Key Bindings Default Key Bindings ¬† ¬† Reset Code ¬† ¬† ¬† ¬† 1 ¬† 2 import sys 3 ‚Äč 4 # This entire sc…
    • Note:¬†I have almost completed the project. The only portion left is validate data. Do that for me please.¬† Data Wrangling Project Your second project will be to write a python script *from scratch*….
    • The following question will ask you about the Minimax tree below, where the green up arrows indicate the MAX player and red down arrows indicate the MIN player. The leaf nodes are each labelled wit…
    • Select one of the project ideas below and develop a Python application that meets the requirements described below: Project ideas¬† Online store : users should be able to order items for sale or combo…
    • The quality assurance department claims that on average the non-fat yogurt contains less than 148 mg of potassium per 100 g pack. To check this claim 35 packs of yogurt are collected and the conten…
    • txt ¬† ¬†Month1 Month2 Month3 Month4 Month5 Month6 Month7 Month8 Month9 Month10 Month11 Month12 Agent1 34.76 10.87 5.86 60.39 3.38 7.16 99.5 16.84 21.81 60.13 18.19 2.26 Agent2 2…
    • he file format in¬†index.txt¬†is an unusual one. It has three fields — name, scores, and ID — that are comma separated but the scores column consists of “bar” (i.e.,¬†|) separated scores. Furtherm…
    • Is there a way to add attachments so whoever is assisting can visual see what the issues is?
    • Exercise 3: Write the code that will do the following: Print the indexes of the character o in the string “love our neighbors as we love ourselves” Convert the string “love our neighbors as we love ou…
    • I need help building the following function. Imagine there is a 4 column dataframe which columns A1,A2,A3,A4 all with rows of datapoint values. How would hypothetically write a function below using th…
    • CIS 115 Final Project A Ten and Thirteen Digit ISBN Page 1 of 3 Ten digit ISBN numbers are created so that the first nine digits are information digits and the last digit is a check digit. This last n…
    • this is the link for the data : https://www.scribd.com/document/352922633/Chess-com-Rating-Comparison-Responses. Use the ChessRatingComparison file, suppose the chessed.com wants to report the median …
    • Problem Set 4: Analysis of Music Radio Data Music streaming service has been on the rise in recent years. But radio continues to be an important part in music industry. Radio play is still a metric …
    • RSA Algorithm how can I solve below using a python code ¬† Example: ūĚĎĚūĚĎĚ = 23, ūĚĎěūĚĎě = 29 1. Key Generation, 2. Encryption/Decryption, 3. quit =&gt; 1 Enter two primes =&gt; 23, 29 Private key …
    • The class¬†Smurf¬†represents a generalized smurf character inside the village.¬† ¬† In the constructor ( __init__ ), there are 4 instance attributes (properties) passed in when initialized: age (non-n…
    • Use Boston data set in library ISLR. The data set has 506 rows and 14 columns. &gt;library (ISLR) &gt;data (Boston) (a) Try to predict per capita crime rate use LASSO, ridge regression, PCR and PLS…
    • **** NEED A GUI CODE FOR THIS QUESTION AND HAS TO MEET ALL REQUIREMENTS FOR PYTHON VERSION 3.9.6 **** ¬† 21) (25 points)¬† Lucy’s Lemonade has grown and now wants to do their payroll on the computer. …
    • Define a JES function to combine the top half of the Antelope.jpg with the bottom half of the Jackrabbit.jpg to produce a jackalope jpeg to save to your computer.¬†I have attached these two pictures t…
    • from typing import List, TextIO def update_data(x_data: List[list], num: List[int], date: str,¬†new: float) -&gt; None: ¬†¬†“””Update data ¬†¬†&gt;&gt;&gt; data = [[1, ‘111’, 45, ’04/13/2012′,¬†[5.7, …
    • 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…
    • he file UniversalBank.csv contains data on 5000 customers of Universal Bank. The data include customer demographic information (age, income, etc.), the customer’s relationship with the bank (mortgage,…
    • Can you please provide the codes to generate a histogram on a python jupyter notebook using the titanic data set.¬† ¬† Here is the question: create a histogram whose x-axis is age and y-axis is count….
    • 1https://spark.apache.org/docs/latest/streaming-programming-guide.html
    • What functions can I use to plot degree 3 polynomial? (b)¬†[3 point(s) Coding] Degree-3 polynomial regression For this sub-question question, we will use the dataset provided in the following files: s…
    • Write a python code to print out the following pattern. The width and the height are equal and provided by the user via input() function.
    • Python : The CNN Money’s Market Movers website (money.cnn.com/data/hotstocks/ ) tracks the most active stocks on a real time basis. Specifically, the most active, the top gainers and top losers are li…
    • Find ¬†the final train ticket price with the following conditions.¬† If male and sr.citizen, 70% of fare is applicable If female and sr.citizen, 50% of fare is applicable. If female and normal citizen…
    • How to write python turtle program to draw image with colour
    • import http.client import json import csv # Do not modify class Graph: ¬†¬†def __init__(self , with_nodes_file=None): ¬†¬†¬†¬†“”” ¬†¬†¬†¬†option 1:¬†init as an empty graph and add nodes ¬†¬†¬†¬† ¬†¬†?…
    • Python help needed soonest. As always ,be original do not just copy from other websites like c *h*e*g*g¬†or previously done and uploaded assignments on this website.
    • i need python code for this question¬† i need code which i can copy paste in my ide ¬† ¬† Solution in octave program: for your help % clear all; f = @(x) (1-cos(x))./(x.^2); g = @(x) (sin(x)).^2./((x….
    • please help me to write in python Use subprocess.run() function to trace the path from your device to dns.google.com: a. Could use IP address 8.8.8.8 or 8.8.4.4 b. Windows command is tracert c. Linux …
    • Create a data class MultiDisplay.py that when executed using this code: ¬† import MultiDisplay as multi # Program starts md = multi.MultiDisplay() md.set_message(“Hello World!”) md.set_count(3) print(…
    • 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, where x is¬† the number of …
    • A PowerPoint that contains a FLOWCHART and a PSEUDOCODE for problem is needed. Use the information below to make a pseudocode (which can be a text-based description for solving the problems) and a flo…
    • please convert this python project into C… you can use cython or do it manually¬† ¬† https://github.com/naohaq/miyaguchi-preneel
    • python program to calculate the sum of squares of n numbers
    • a classroom has n desks placed side by side and the ith task is to be used by the (ith) with student. The arrival time of N student is given by array arr where arri represents the arrival time of ith …
    • Implementation has to be done in Python!¬†. you to select which headers and additional features to implement, but as a min- imum you sh0uld always Support those that are required by the protocol e.g. …
    • In general, Rayleigh noise in images arises in images due to factors such as electronic circuit noise and sensor noise due to poor illumination and/or temperature. true or false
    • I need help with exercise 3 but included exercise 2 for reference photo 1 photo 2 photo 3 – this is what I need help with please My Classes Help Timer: 3h 39m 26s Submit Details Gra jupyter problem0 (…
    • I am trying to create a text-based trivia game in python, as a module. I have outlined my goals in the attached document ¬† The expectations of running this game are that the user will select a catego…
    • so I was able to write that bit. this a code for the earth orbiting the sun. but the sun also orbits around its axis and I want to get that into the code, but I don’t know how. please assist ( &gt; ma…
    • The image of the full question is attached behind. It is not necessary to read the full question, and it contains many parts. ———————- —————————— My problem occurs fo…
    • . s arguments to regression_parameters , i.e. found the parameters for the regression line for mRNA Expression (Affy) vs. Copy Number instead of the other way around, would the regression parameters…
    • Write a program count_numbers.py with two functions count_different(lst) and count_occurrences(lst) such that: ¬† count_different(lst) counts (and returns) the number of different integers in the list…
    • how can i design flowchart of student management? where i can add new students 2.The college can search for any student details. (You can use phone-number as a primary key for your search). 3.The coll…
    • class ThrowerAnt (Ant ) : &quot;&quot; &quot;ThrowerAnt throws a leaf each turn at the nearest Bee in its range.&quot;&quot;&quot; name = ‘Thrower’ implemented = True damage = 1 # ADD/OVERRID…
    • If you finished the rock-paper-scissors program for the last assignment, how about breaking it down into a series of functions? I think you can break this monolithic program¬†into at least three funct…
      • For this question, you will need to use https://www.w3schools.com/python/python_ref_list.asp So far, you have seen the append method of lists. &gt; li = [1, 5, 3, 4] &gt; li . append (42) &gt; li …
    • Implement and train a classification model for the Titantic dataset (for dataset you may find it here: https://www.kaggle.com/c/titanic). Please ignore the test set (i.e., test.csv) and consider the g…
    • The 1962_2006_walmart_store_openings.csv file is available here: https://raw.githubusercontent.com/plotly/datasets/master/1962_2006_walmart_store_openings.csv It contains information on Walmart store …
    • How to write a program using integers user_num and x as input, and output user_num divided by x four times. Ex: If the input is: 2000 2 Then the output is: 1000 500 250 125 Note: In Python 3, integer …
    • Write 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 l…
    • DONT USE THE DEF FUNCTIONS IN THE CODE. ¬† ¬† Morse Code Translator ¬† Chapter 4 PROGRAM DEVELOPMENT PROBLEMS D1. on pages 165 and 166. This program should let the user translate English to Morse Code…
    • Append “apple” and 76 to the list. Insert the value “cat” at position 3. Insert the value 99 at the start of the list. Find the index of “hello”. Count the number of 76s in the list. Remove the first …
    • Problem(s) Create a function called searchPage() that accepts two arguments, a URL and a term to search for. Your method should print (not return) the number of times your search term appeared on the …
    • An Insurance firm providing tour insurance is facing higher claim frequency. The management decides to collect data from the past few years. You are assigned the task to make a model which predicts th…
    • Martian Rover Introduction The project aims at developing a rover simulation on Mars, inspired from the latest Martian launch by NASA. The project would leverage on concepts of Object Oriented program…
    • Hi, Below is a problem for regular expression in python. Could you please explain the code in red box? Thank you. Please make the following observations about the Ô¨Āle snippets shown above: – The raw…
    • write a program that asks the user to enter a distance in kilometers, then convert this distance to miles.
    • Assignment 2 – Data Analysis using Pandas (15 points total) For this assignment, we will analyze the open dataset with data on the passengers aboard the Titanic. The data file for this assignment can …
    • Write a program that prompts the user for an integer and prints the integer, but if something other than an integer is supplied, the program keeps asking for an integer. Enter an integer: 3.14 Ent…
    • How do you classify a single-neuron perceptron both mathematically and using Python such as with the example below: Classify the: a) decision boundary b) weight and bias values c) variance
    • need solution in python script ¬†. Task 1 (of 2) Workplace accidents have both financial and emotional impacts on companies. The National Safety Council (NSC) estimates that in 2019, workplace injurie…
    • I am trying to configure a new version of this code. I am trying to make the following changes to class Drone: ¬†¬†¬†¬†(a) Change all instance variables to private ¬†¬†¬†(b) Define a __str__ method to…
    • Python 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.7.1 of the …
    • The manager of Cafe Java is looking to hire a new cashier to handle őĽ = 30 customers per hour (0.5 per minute). The decision is narrowed down to two candidates. Candidate A takes an average of 1/¬ĶA …
    • Can someone please help me with this, I’m stuck beyond belief ¬† ¬† ¬†. Graded Assignment 2: Open Data with Pandas(Update) In [34]: print (Report(&quot;Tai Po&quot;, 25, 0.325, &quot;2020-04-02&quot;,…
    • Omondi is starting a new business, a car renting business. Omondi starts with five different Cars. Each car has a model, a year when it was released, a year when Omondi acquired it, the money made fro…
    • Background¬† Music streaming service has been on the rise in recent years. But radio continues to be an important part in music industry. Radio play is still a metric for measuring popularity. ¬† Musi…
    • Using an algorithm or pseudocode, write two equations that Roger could use to calculate the total number of users for the seven of the departments he supervises and the average number of users for the…
    • I’m having trouble with the following tasks. 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. Although what …
    • Game in Python Decide what data values will represent the objects in your game,and implement that as dictionaries. Get your harm object moving across the screen in an animation loop.¬† Handle the edge…
    • 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…
    • You have to create class with two methods to calculate student marks total and average and display the same to the user back
    • Calculate the random access memory (RAM) in megabytes necessary to store a multidimensional array that is 20 √ó 40 √ó 120. This array is double precision, and each value requires a 64-bit word. Recall…
    • A quadrilateral is a shape with 4 sides and 4 angles. Write a program that lets the user enter 4 sides and 4 angles into LISTS. The program checks if the type of quadrilateral is either: – Rhombus – S…
    • Assume there is a 2D numpy array of integers named data that could be any rectangular size. Set all entries in a checkerboard pattern to zero: – In rows 0, 2, 4, etc. set columns 1, 3, 5, etc. to zero…
    • Problem #1 –¬†Student Class¬† Write a class named¬† Student ,¬†which should have the following attributes: __name ¬†(for the name of the student) __major ¬†(for the student major) __credits_earned ¬†(…
    • 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 .
    • The book is Think Python 2e by Downey. Do Exercise 6.4 from your textbook¬† using recursion ¬†and the¬†is_divisible¬†function from Section 6.4.¬†Your program may assume that both arguments to¬†is_powe…
    • Using Python: – apply feature selection for clustering¬† – apply feature selection for classification¬† using the dataset City_MedianRentalPrice_2Bedroom for the Dallas location only (https://www.kagg…
    • Initialize the US Zipcode dataset as shown below: usZipCodeData = pd.read_csv(‘http://people.bu.edu/kalathur/datasets/uszips.csv’, converters={‘zip’: lambda x: str(x)}) Show the histogram for the popu…
    • Directions: Next, an exercise is presented that should be resolved by means of algorithm, the use of selection structures will be evaluated, data entry must also be ensured valid. * I need this algori…
    • Hello I am seeking assistance with an assignment I struggling with. I am in a going to school for computer science and the current course I am in is called programming essentials. we are using the pro…
    • This secret image has been encrypted by XORing 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), is a…
    • Please help with example problems 5 and 6. 5.¬† Note: The \n characters are meant to be there. 6.. 5. select_lines_from_Ô¨Āle In this function, we will open a Ô¨Āle for reading, look at each line in t…
    • . Question 1 (3 pts): Consider the following dataset, which shows the results of 3 exams taken by 4 different students (all scores are on the 0-100 scale). Find which two students are most similar t…
    • accept from the end user a number. print a square,square root, cube and a cube root without using any function python
    • #What you need to do is to transform the file Mkt_data_test.txt #to the format like in file in the screenshot # #Your steps to get there: #1.Create a header line with following columns: Time;Bid\Ask;P…
    • Hello, I’m writing a program that first reads in the name of an input file and then reads the file using the csv.reader()method. The fill will contain a list of words separated by commas. My program n…
    • (Need answer in F#) Problems Write program that plot ASCII text approximations of the¬†Mandelbrot set. Problem 1 Consider the function¬†¬†defined as follows: We define the orbit¬†¬†of a point¬†¬†to be…
    • use python to design a mastermind game program . Example Output Below is some output produced by the completed program. Your program must execute in the way described and the output should have the sa…
    • Computational physics¬† python¬† Please provide a correct and well explain code. thank you¬†. Exercise 4.4: Calculating integrals Suppose we want to calculate the value of the integral I =j_11\/‚ÄĒ1- …
    • This is a practice question intended to help with a course whos grade break down is 5 quizes. this is not to be submitted, and is for my own education benefit practice making a python program that use…
    • 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…
    • Assume the variable named reply references a string. The following Python if statement determines whether reply is equal to ‘Y’ or ‘y’: if reply == ‘Y’ or reply == ‘y’: Rewrite this statement so th…
    • Python — Refer to screenshot(s) — ¬† A new dataset that we will be working with for the rest of the semester is the Heart Disease Data Set provided by UCI Machine Learning Repository. In this exer…
    • Python program composed of several functions that manipulate strings in different ways. Your main() function prompts the user for a series of strings which are placed into a list container. The user…
    • Comparitive Analysis : # Build a table to compare rating means calculated various ways like this: # One column for calculation method name + one column for distribution assumption + two columns for re…
    • def is_palindrome (string: str) -&gt; bool: Given a string &lt;string&gt;, return whether it is a palindrome. For the purposes of this function, we consider a string a palindrome if the letters (ignor…
    • I made a program that displays a list of customers and their info but does not show anything that does not fit in the parameters laid out in the code. I have added more customers to my list and…
    • Use python to code ¬† ¬†. Rewrite the following code following the DRY principle (Don’t Repeat Yourself). You should assume that x can’t be any value other than 1, 2, 3, or 4. if x == 1: print (&quot;…
    • Python question: How would you code a function div(n) , that takes as input a number, n, where n is bigger or equal to 1, and returns the minimum number of times that n needs to be divided by 2 in ord…
    • This all that is provided, it is Python. No output was given make a random password generator. Once you have made a simple password generator, make it customizable with some (or all) of the following:…
    • Chapter 8 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 …
    • Assume you run the following script: n = int(input(‘Please enter an integer: ‘)) while n &gt; 10 and n &lt; 15: ¬†¬†¬† ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† print(‘Hello, World!’) ¬†?…
    • # 5 pts – Setter for status – Allow for the change of status ( only two statuses exist – COMMITTED Or UNCOMMITTED ) . # There is no need to validate status . def set status ( self , status ) : pass
    • country = [“HUN”,”MAC”,”PHL”,”SVK”,”USA”] is the list of country codes LE_1960 = [65.57, 32.33, 70.82, 32.36, 50.55] is the list of the Life Expectancy at Birth of each countries in 1960. LE_2013 = [7…
    • #!/bin/python3 ¬† import ¬†sys import ¬†os import ¬†datetime¬† as ¬†dt ¬† def ¬†log(func): ¬†¬†¬† def ¬†inner(*args,**kwdargs): ¬†¬†¬†¬†¬†¬†¬† STDOUT=¬†“Accessed¬†the¬†function¬†–¬†‘{}’¬†with¬†argumen…
    • Hello I already have my final output. I just need you to organize based on the given format below. Final output: https://drive.google.com/file/d/1jmwx0nxAgsVoRt3dls-1eHFt9MkJh0NY/view?usp=sharing ¬† F…
    • CODE : def binary_search(data , target &lt; low, high) ¬†¬†if low &gt; high: ¬†¬†return False ¬†¬†else: ¬†¬†¬†¬†mid = (low + high)//2 ¬†¬†¬†¬†if target == data[mid]: ¬†¬†¬†¬†return mid ¬†¬†¬†¬†elif ta…
    • What is the shape of the following NumPy array? ¬† np.array([[ [1],[2],[3],[0] ]])
    • It assumes an understanding of binary notation and truth tables (Block 1 Part 1). Study the following function. def truth_value (integer) : ¬†¬†¬† “””Convert an integer into a truth value.””” ¬†¬†¬†…
    • 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…
    • Explain how does the k-means algorithm work? Base on the given data set (https://raw.githubusercontent.com/franklin-univ-data-science/data/master/customers.csv), apply k-mean clustering, identify the …
    • I need help editing my python code using csv files. I would appreciate if you helped with the nat_perc + nat_diff functions as well. If you can’t answer, please let me know ASAP, thx! Ask questions in…
    • need help with this python question: _ Part {b}. Complete the following function called count_prime so that it gets a list of number as an input and returns the number of prime numbers. You shoulcl us…
    • i keep getting this rejection. i emailed my professor and still not answer. please help!!! i have imported csv before in week 2.. not sure what is the problem¬†. Li LiClipse Workspace – 6351_Week_5/Py…
    • #Q1 thisdict = ¬† ¬†{ ¬† “brand”: “Ford”, ¬† “model”: “Mustang”, ¬† “year”: 1964 } # A) Change the value of key ‘model’ to ‘Explorer’. Print the dictionary to see the change. # B) Add new key value pa…
    • Help with Dictionaries: ¬† Let’s say we have a dictionary that maps each fruit to its taste (taste is rated from 1-10). The dictionary has a lower cut off value, an upper cut off value. How would I re…
    • please answer it’s python. If &quot;a = [1, 1, 2, 3, 3, 6,6,4]&quot;. What is set(a) Select one: O a. set([1, 2, 3, 3, 6,6)) O b. set ([1, 1, 2, 3, 3, 6.6,4]) O c. set([1, 2, 3, 6. 41) O d. Error
    • can you kindly help me with this question? I don’t really know how to start or write this code. Question 1.3. Using both the fertility and child_mortality tables, draw a scatter diagram with one point…
    • Page 2 &quot; Returns: r, g, b (floats (or ints if you changed the turtle colormode setting)) Note that a return can have multiple comma-separated parts so you can use return r, g, b if your function …
    • Apply Breadth First Search (BFS) to traverse the following graph. Start your traversal from vertex 0, and write down the order in which vertices will be visited during the traversal.
    • Question: Write a single python file to perform the following tasks : (a) Get dataset &quot; from sklearn . datasets import load iris &quot;. This dataset has 4 features Split the dataset into two set…
    • I am wondering what is the O notation for pop(0) method in Ordered Linked List in Python when we let n is the size of the Linked List and the Ordered Linked is not empty.
    • I need a Python Code where i simply input the C++ code and they give me output like this that is given in Below Screenshots¬† Please provide me 100% perfect work ¬† ¬† ¬† ¬† ¬† ¬† ¬†. Q # Lexical Anal…
    • Hi I am really stuck on this question 2 and cannot get my head around it below is a dropbox link to the files for this question including the python file and the relevant pdf documents for the activit…
    • def learn(self, X, y) : # TODO: Train the decision tree (self . tree) using the the sample X and labels y # You will have to make use of the functions in utils. py to train the tree # One possible way…
    • In this lab, you will learn the basics of socket programming for UDP in Python. You will learn how to send and receive datagram packets using UDP sockets and also, how to set a proper socket timeout. …
    • Create a python application that inputs, processes and stores student data. ications: .r application should be able to accept Student data from the user and add the information in a Je of your choice…
    • . Give the Big O run-time of the following algorithms. Explain/show your work. Binary Search: def binary_search (arr, low, high, x) : # Check base case if low &gt; high : return None else : mid = (h…
    • Update centroids Step 4: Update centroids Implement the following function in kmeans.py: def mean_of_points(data): &quot;&quot;&quot;Calculate the mean of a given group of data points. You should NOT …
    • Write a program named¬† guess_number.py . Use¬† NumPy ¬†to generate a random number between 1 and 100. Accept int input and ask user to guess number. Inform if high or low. Exit when entered number co…
    • Assignment Instructions Compute their Cartesian product,¬† AxB¬† of two lists .¬† Each list has no more than 10 numbers. For example, given the two input lists: A = [1,2] B = [3,4] then the Cartesian …
    • This is not me violating the honor code. I just copied the question from codio so you can see what it is asking. import sys N = int(sys.argv[1]) # Write your code here Your code should expect one inpu…
    • This question was created from Data_Team_Developer_Tech_Test Assessment.docx (https://www.coursehero.com/file/33440578/Data-Team-Developer-Tech-Test-Assessmentdocx/?focusQaId=15778904) Please refer to…
    • https://cs.gmu.edu/~marks/112/projects/p5.pdf Do the 5th function [ random_song(filename, tempo, tuning, num_measures) ] in the link above
    • Please help with Python questions 4-5.. 4. class definition for Friend For the next version of the friends database (coming soon!), we want to use classes rather than dictionaries. Define a Friend cla…
    • Make a check in the loop to tell if they can only use X and O. def checkWin( board ): ¬†isWinner = False ¬†if board[0][0] != ‘_’ and board[0][0] == board[0][1] ==board[0][2]: ¬†¬†isWinner = True ¬†ret…
    • . Some large companies encourage employees to save by matching their contributions to a 401(k) plan. The government limits how much you can save in these plans, because they shelter income from taxe…
    • The aim of this tutorial is to understand recursion 1. Make an array of 10 characters, call it my_array . 2. Make a UDF python function call it print_iterative (my_array) which has the argument my_arr…
    • Suppose list1 is [3, 4, 5, 5, 25, 1, 3], what is list1.reverse() ? 2.What is the output of the following python code? ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†I = 1 ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†While I &lt; 4…
    • This problem asks you to write Boolean formulas in Python. You are allowed to use Python operators and, or, not, ^ (for XOR), and == (for equality, also know as XNOR). ¬† a) You have two three-bit num…
    • testdata = [“One,For,The,Money”,”Two,For,The,Show”,”Three,To,Get,Ready”,”Now,Go,Cat,Go”] for i in range(4): ¬† ¬†uno,dos,tres,cuatro = chop(testdata[i]) ¬† ¬†print(uno + “:” + dos + “:” + tres + “:” +…
    • I am writing a program that computes the sequential day of the year (365 or 366). The program should accept a date as month/day/year (mm/dd/yyyy). Verify that what is entered is a valid date.¬† If wha…
    • Please help me with this question. Thanks in advance. SLIDE 06: On a separate sheet of paper and using the graph from SLIDE OS, finish this table, as outlined in class, by completing Kruskal’s Algorit…
    • . Lists as dictionary values In [51]: a_list = [1, 2] b_dict = {&quot;key1&quot;: a_list, &quot;key2&quot;: a_list} print(f&quot;{a_list=]&quot;, f&quot;{b_dict=}&quot;) a_ list . append(3) print(f&…
    • [Arrays] Please help and explain me to understand. Thanks!!
    • How do you make a RDD based on a text file? i.e read in a text file and make it into an RDD. hint sc &lt;——-&gt;(filename.txt)
    • PLEASE HELP. READ EVERYTHING ¬† 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 stor…
    • you will study the electricity demand from clients in Portugal, during 2013 and 2014. You have been provided with the data file, which you should download when you download this assignment file. The d…
    • Write a program that takes an integer keyed in from the terminal and extracts and displays each digit of the integer in English. So, if the user types in 687 , then the program should display six eigh…
    • Use the built-in list() and set() functions to create a function, removeDuplicates(lst), which removes duplicates from the lst list and returns the modified list. ¬† You can test your code with the co…
    • Flesh out the body of the print_seconds function so that it prints the total amount of seconds given the hours, minutes, and seconds function parameters. Remember that there are 3600 seconds in an hou…
    • Could you please check whether the four function’s code are correct(def add_name(names, year, rank, name), def add_file(names, filename), def read_files(filenames), def search_names(names, target)? Th…
    • You are already familiar with the Caesar cipher, and this is why we want you to improve the code we showed you recently. The original Caesar cipher shifts each character by one: a becomes b , z become…
    • I ‘m having trouble working on starting a program and am unsure on where to begin… 1. Initiate a program named workWithFiles.py. 2. Fashion the code that will do the following: a. Print out the name…
    • Develop a Python program to Ask the user whether to convert from celsius¬†to fahrenheit¬†or from¬†fahrenheit¬†to¬†celsius
    • Assign the variable timely to be the string &quot;I, Horrbs, will turn my exam in on time.&quot; The deadline is strict. Don’t wait until the last minute (1:05pm means exactly 1:05:00pm, not one se…
    • Using turtle graphics, write a program that displays your first initial (A) and last initials (C) Choose a color and¬†penSize¬†of your choice.You will want to draw your first initial (A) , raise the t…
    • Python program that performs operations on team members data ”’ def add(team): ¬†¬†”’ ¬†¬†¬†¬†¬†¬†Function that adds new member ¬†¬†”’ ¬†¬†try: ¬†¬†¬†¬†¬†¬†#Reading player details ¬†¬†¬†¬†¬†¬†nam…
    • i hope tutor jobelle answer this question. please answer the 3st question in the link https://drive.google.com/drive/folders/1zH2j7jOelIn57GcVKWOPdh-ZsSLrexz0
    • Download¬†apcdata_week.csv, which contains bus route information for a full week. This data file is 92 MB and contains nearly a million rows of data. In the same directory as this data file develop a …
    • Using python verify that ‚ąĎ k = 0 n ‚ąí 1 ‚Äč a ‚čÖ r k = r ‚ąí 1 a ( r n ‚ąí 1 ) ‚Äč is equal to ‚ąĎ k = 0 2 0 0 ‚Äč 2 ‚čÖ ( 1 . 0 1 ) k Expected Output: sum = 1277.84
    • 1) The steps to read a multipart polyline/polygon geometry feature is very similar to read a simple geometry polyline/polygon feature, but need to read more parts¬† Group of answer choices A) yes ¬† B…
    • There needs to be a program with a function that accepts a string as an argument and returns a copy of the string with the first character of each sentence¬†capitalized. The program should let the use…
    • A python question. How would you be able to find possible coordinates of a rectangle encompassing two images for panorama stitching?
    • You have just been hired by ISM Incorporated, a brand new company founded by your best friend. You will be taking on the responsibilities of CIO and will report directly to your friend, the CEO. ¬†Oth…
    • def mystery(num_ls): ¬†¬†¬†¬†diff = 0 ¬†¬†¬†¬†for x in num_ls: ¬†¬†¬†¬†¬†¬†¬†¬†for y in num_ls: ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†if (x-y) &gt; diff: ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†diff = x-y ¬†¬†¬†¬†ret…
    • A program that replaces words in a sentence. The input begins with word replacement pairs (original and replacement). The next line of input is the sentence where any word on the original list is repl…
    • Planning algorithm Barnaby’s brewhouse produce a range of beers and have limited facilities. Write an algorithm that decides what beer should be produced next given the available facilities based on t…
    • Option # 1 . Creating a Program to Calculate the Value of a Ferrari Assignment Instructions Implement a program that reads in a year and outputs the approximate Value Of a Ferrari 250 GTO in that yea…
    • Good afternoon. I am working on an assignment where I must scrub a website for web links, delete all duplicate URL’s, and then export as a CSV file. I’ve reached the point where I can get BeautifulSou…
    • D Question 2 1 pts What value is printed after the following statements are executed? mylist = [ ‘HELLO ‘] * 5 print (mylist [0] [-2]) O HELLO OH OL O Index Error
    • Question: How can I get the decrypted messagem of def task_1 ? ¬† import hashlib import math import random class Project3: def __init__(self): pass # TODO: OPTIONAL – Add helper methods below # BEGIN …
    • I have read a csv file and stored it in a dataframe. I am supposed to then I create a view of the dataframe containing the columns: ‘Created Date’,’Closed Date’,’Agency’,’Borough’ then a dd the column…
    • 6 LAB: Name format Many documents use a specific format for a person’s name. Write a program whose input is: firstName middleName lastName and whose output is: lastName, firstInitial.middleInitial. …
    • The library needs a program to store books’ information. Please provide an example Python code that gets the book information from the user store and prints them. The program will get the book’s type,…
    • use python Average speed of a runner Assume a runner runs 14 kilometers in 45 minutes and 30 seconds. Write a program that displays the average speed in miles per hour. ( Note that 1 mile is 1.6 kilom…
    • Example 1: Define a function that takes an argument. Call the function. Identify what code is the argument and what code is the parameter. Example 2: Call your function from Example 1 three times with…
    • #!/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. ¬†¬†¬† ¬†¬†…
    • This year, the decent people responsible for the streets on Distant Island, a tropical island heaven, would need to fix and refresh the various streets that interface the island’s numerous vacation sp…
    • I need help with this lab I can’t figure it out.I’m supposed to write the program to make the code loop correctly but I can’t figure it out. Ô¨āa Mail 7 marquidrigha x K0 Home 7. Sludenls x \&lt;@ 573…
    • Documentation (%30) The cleaning task must be explained in a well-formatted report (with appropriate sections and subsections). Please remember that the report must explain the complete EDA to examin…
    • program that calculates the users Body Mass Index (BMI). Your program should prompt the user for their weight in pounds and height in feet and inches. You should then display their BMI value based on …
    • . Let’s play around with the first paragraph of Moby Dick: Call me Ishmael. Some years ago – never mind how long precisely – having little or no money in my purse, and nothing particular to interest…
    • My python is connected to school server and course, does this mean my professor can see all my history and files without me personally sending it ? Thanks
    • the language is python 3 Question 1. Study the example below carefully and i need a program that works exactly like the example.¬†The text in bold ‚Äč indicates the user input.‚Ä謆 ¬† Question 1. ¬† …
    • One lap around a standard high-school running track is exactly 0.25 miles. Write the function miles_to_laps() that takes a number of miles as an argument and returns the number of laps. Complete the p…
    • I can’t seem to get this to work if I don’t list the df 1 by 1 ( by doing df=create_dataframe(names_list[2],heights_list[2]) for example )¬† &amp;amp; then concat to merge.¬† ¬† What do I replace this…
    • If a list does not contain a list, then a shallow copy is in general the same as a deep copy. a) true¬† b)false
    • I’m working in Jupyter notebook and I have to generate a boxplot, which I did. But I’m unable to generate the marker. Here is my code: plt.boxplot([capomulin, ceftamin, infubinol, ramicane], labels=[“…
    • Submit your Python program. It should include the following.¬† The provided code for¬†alphabet,¬†test_dups,¬†test_miss, and¬†histogram.¬† Your implementation of the¬†has_duplicates¬†function.¬† A loop…
    • I want the input to this function could be like this: &gt;&gt;&gt; modifier((2, 3, 1, 4), 2) ¬† but the result gave me TypeError: modifier() missing 1 required positional argument: ‘mod’ ¬† How can…
    • Part 1: ¬† Open a Python console (e.g., through Anaconda or Miniconda). You will work in the console to test your syntax for now, but eventually you’ll be writing a script (*.py) file. Download the da…
    • Use python, the dataset and the module ‘datatime’ to solve this equation.
    • please mark correct answer only ¬† ¬† 0¬† 6 ¬†8 ¬†A number between 1 to 5 (inclusive). def binarySearch (xs, target) : LOW = 0 high = len(xs) – 1 count = 0 while low &lt;= high: count = count + 1 mid …
    • Open the file¬† romeo.txt ¬†and read it line by line. For each line, split the line into a list of words using the¬† split() ¬†method. The program should build a list of words. For each word on each l…
      • Design and implement a function generate_primes(y, d) that generates the next d prime numbers ‚Č• y. For example, for y = 20 and d = 9, your function is expected to return a list with values [23, …
    • First, set up the tests and imports by running the cell below. In¬†[1]: ¬† ¬† ¬† ¬† 1 import numpy as np 2 import pandas as pd 3 ‚Äč 4 # These lines load the tests.¬† 5 import otter 6 import math 7 im…
    • what are lambda expressions? What are list comprehensions?
    • 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 …
    • We ask you to make use of a constant number 09683 based on your so you can demonstrate that the code is your own and you understand how it works. If you are unclear about how to use your PI to arrive …
    • find the MINIMUM value in the range x=[-100,0].. New min: -0.9876883405951378 at x: -99 or rad: -1.7278759594743862 New min: -0.9902680687415704 at x: -98 or rad: -1.710422666954443 New min: -0.992546…
    • please help to provide explanations to your answers Question 19 5 pts The user enters the two numbers as whole numbers (e.g., 2) when executing the code below. Select the code that print the sum of th…
    • Fill in the missing code to complete the attached program lab5.py.¬†Fill in the code in the following order: 1) Fill the function definitions 2) Fill in the missing code in main(). Upload your complet…
    • Explain what I did wrong. I got the following error: Testing CD = DC for D1 Test Failed: False is not true
    • Arrange the steps for working with text files into the correct order (i.e. assign steps 1-5) 1. Get the filename from the user. 4 2. Open the file using 2 open(filename,&quot;r&quot;) 3. Iterate throu…
    • You are required to provide a generalised algorithm for determining repayments on a loan using the following scenario as an example: You have just borrowed $1000 on the following credit plan: No depos…
    • Python Program that add two numbers entered by a user Program that accepts an input, perform a mathematical manipulation to it with a defined constant variable, and then output the result.
    • Question as attached, Write a program in python sthat is going to create your tables and populate them with data automatically from the text file. The executemany is not necessary to be used, your pyt…
    • why does heapify in python convert the array [2,7,4,1,8,1] to [1, 1, 2, 7, 8, 4] whereas I get [1, 2, 1, 7, 8, 4]. import heapq class Solution: 3 7 def lastStoneWeight(self, stones: List [int]) -&gt; …
    • How do I print the full address on one single line? print(“Address1:”, “Name1, Street_Number1, Street_Name1, City1, State1, Zip_Code1”)
    • What will be printed from the following code? ¬†¬† ¬†¬† ¬† String astr = “ADad345erlo5@34XZ”; ¬† ¬† ¬† ¬† ¬† ¬†¬†String bstr = astr.substring( 4, 11); ¬† ¬† ¬† ¬† ¬† ¬†¬†String cstr = bstr.substring…
    • . Draw the 2-way contingency table for a binary association rule {A} {B}, containing presence/absence counts (fif1of1+, fo+,…). Interest Factor (Lift) can be interpreted as P(A,B) a conditional pr…
    • in Python, How would I go about creating a dictionary out of two lists using a while loop? I was able to do it with: def create_dictionary(keys, values): ¬†¬†# Place code here – refer to function spec…
    • We are asked to do 3 python programs with same output for hotel booking system it depends on you what you want to use about the hotel booking system like the variables to be used, the functions to be …
    • Need help coding. Problem 1: Day of the Week The modulus operator is denoted by the symbol %. For ~%%y it returns returns the remain- der after y is divided into c a whole number of times. While you’v…
    • How do I write function named¬†uses_only¬†that takes a word and a string of letters, and that returns¬†True¬†if the word contains only letters in the list. Can you make a sentence using only the lette…
    • PART ONE- Code a class based on the following Layout: DEFINE ¬†a class named¬† LibraryBook ¬†that has the following variables: title ¬†– name of the book ¬†¬†¬† year ¬†– copyright date ¬†¬†¬† author ?…
    • Formulate a function named¬† standardize_icecream ¬†that takes in as input a string and returns a standardized string. This function should: ensure all inputs are strings (Note: np.nan is considered a…
    • What are the advantages and disadvantages of solving a problem that can be broken down into repetitive tasks with recursion as opposed to a loop?
    • Overview The goal of this first project is to create a Web application using Python, Streamlit platform, the New York Times API and JSON documents to transmit data across the network. Preliminaries Cr…
    • . 2. Write a function exclaim(s) that takes an arbitrary string s as input and uses recursion to form and return the string formed by adding an exclamation point (i.e., the character ‘ ! ‘) after ea…
    • Hand Trace sequence for this: releyseezy= int(input(“Please enter the releyseezy: “)) print(releyseezy) custes= int(input(“Please enter the custes: “)) print(custes) bootype= (relayseezy-93.15)/(custe…
    • Age Profit Earned Under 12 $0.00* *Must include an error message noting the patient is ineligible for a vaccine 12-19 $3.02 20-55 $7.26 Over 55 $11.31 (80 points) Create a Python script to assist Terp…
    • . CHALLENGE ACTIVITY 2.9.2: Math functions. 375510.2350218.qx3zqy7 Jump to level 1 -+ Compute: z = vy – x) 2 import math NP 3 x = float(input()) 4 y = float(input()) 5 &quot;Your code goes here &quo…
    • . 00:29:33 &lt; 1 2 3 4 5 6 7 Question 6 Answer choices 1.5 Marks Select only one option FI REVISIT Data Partitioning: Split the data into train and test. The training data should contain O 8.679 80…
    • Any help?. Question 5 (10 points) What would be output by the following statements? A import math x = math . log2 (32) print (x) 16.0 4.0 3. 0 5.0
    • Question 4: Funception Write a function (funception) that takes in another function func_a and a number start and returns a function (func_b) that will have one parameter to take in the stop value. fu…
    • Read Chapter 8 through Chapter 14 of “Think Python: How to Think Like a Computer Scientist” How do I run the Python shell interactive command mode or IDLE editor window? How do I Finish coding the exe…
    • Load the data from attached file “AssignmentNumpyData.csv”. Conduct a clustering algorithm on it. Try out 3,4,5 clusters respectively. What do you think is the right number of clusters for this datase…
    • Write three different programs to:¬† Accept inputs from user. Use Decision Structures (if, elif, else) to evaluate multiple expressions which produce True or False as outcome and then use Boolean Lo…
    • In his detailing of the math, Newton caught just the thought of number request separation thinking about first-, second-and third-request subordinates, etc. In logical registering, in any case, we som…
    • Sentiment Analysis is a Big Data problem which seeks to determine the general attitude of a writer given some text they have written. For instance, we would like to have a program that could look at t…
    • county name Total Household income Meadian¬† ¬†income (dollars) Mean income (dollars) Barrow County 27,765 69,890 77,081 Bartow County 39,742 59,911 70,644 Bibb County 56,726 42,140 67,678 Bulloch Cou…
    • Need solution and explanation (code in the function given) cannot use stuff like numpy or pandas def greedy_predictor (data, y) : ¬† ¬† “”” ¬† ¬† This implements a greedy correlation pursuit algorithm…
    • If I have an 8×8 grid representing a chessboard with pawns on some of the squares, how can I implement a function to determine if a knight placed on the board could capture all of the pawns in success…
    • py class Unanswered: ¬† ¬†pass unanswered = Unanswered()
    • py below from bulls_n_cows import * TEST_GUESSES = [[ 1 , 2 , 3 , 4 ], [ 5 , 2 , 3 , 4 ], [ 7 , 6 , 5 , 4 ], [ 0 , 9 , 8 , 5 ], ¬† ¬† ¬† ¬† ¬† ¬† ¬† ¬† [ 2 , 4 , 6 , 8 ], [ 1 , 3 , 5…
      • 1 – Clarified instructions for exercise 6 This problem builds on your knowledge of nested data structures, string processing, and implementation of mathematical functions. It has 7 exercises, nu…
    • Am i able to get help with writing a hash-based join algorithm in python? I am struggling with the “probing” part of the process def HB_join(T1, T2): ¬† ¬† “”” ¬† ¬† Perform the hash-based join algori…
    • How to write function¬†abstract_sum¬†that can take an unknown number of numbers and return their abstract sum. The abstract sum is calculated by taking the first value, subtracting the second, adding …
    • Write a python script to plot the boxplot on the new cases each day over the period from March to the end of August for the counties Australia, USA, UK, Brazil, Russia, Japan, France, Germany, Egypt, …
    • py Create a file named Lab11P1.py. This file will be the main module that holds the main program. In the main module, create 3 InventoryItem objects with the following information: Item Name I…
    • Pltw 1.3.1 A Dangerous Situation Project Cybersecurity Incident Response Report.
    • Can someone provide me with a link to a dataset that would be good to use for a data science project
    • Python ISBN Conversion Menu 1. Verify the check digit of an ISBN-10. 2. Verify the check digit of an ISBN-13. 3. Convert an ISBN-10 to an ISBN-13. 4. Convert an ISBN-13 to an ISBN-10. 5. Exit.
    • What is the trace of the matrix 3F + 2G? Please store your answers into a string variable Trace_FG written with valid python code formatting (e.g. Trace_FG = “2 + a -b”). (Note you are encouraged to d…
    • Describe how multiple decisions in selection control structures are achieved. Indicate what should be used for combined If statements. Are multiple decisions different from nested decisions? Explain w…
    • 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…
    • write a single expression/statement that refers to the specified variables.. Suppose that we have assigned s1 = ‘-‘ and s2 = ‘+’ . Write an expression that refers to the variables s1 and s2 and that e…
    • There is no solution shown fo r this problem! The only clue is to use an if else statement. 1. Write a program that takes a list of numbers from 1 to 10 and splits that list into two separate list. On…
    • For the list: (prices = (10.00, 15.50, 13.25, 20.15]|, what value is contained in prices ? 1. the location of the list 2. the first value in the list 3. the size of the list 4. the number of elem…
    • Text mining / python 3 Markov chains In this task we are looking to utilize the idea of Markov models and ngrams to solve different tasks. Throughout this task we will define a single class with diffe…
    • please explain the steps Write a program that asks the user to enter the width and length of an office in feet. Once these yalues have been read. your program must compute and display the area of the …
    • Write a statement that assigns cell_count with cell_count multiplied by 10. * performs multiplication. If the input is 10, the output should be: 100 cell_count = int(input()) ¬† ¬† ¬† print(cell_count…
    • Implement the following function in the PyDev module functions.py and test it from a PyDev module named t01 def fast_food(): “”” ——————————————————- Food order func…
    • Example 4: Creating a function that takes an argument. Give the function parameter a unique name. Show what happens when you try to use that parameter name outside the function. Explain the results. E…
    • ………. 2 Terrain pathfinding (13 marks) In this task, we will find the quickest path for a vehicle through difficult terrain. There are three types of terrain, Plain . Hill . Swamp The vehicle in …
    • . Function 3: get_books_by_category Use the function design recipe to develop a Ô¨Āmction named ge t_books_by_category . The function has two input parameters, (1) the dictionary Where the data is s…
    • #################################################### Please note that we have to add amount 100 into the account every month instead of only 100 from the begging to the end. THANK YOU !!!! Please use …
    • Python using QT Designer – Adv Widgets, Menus, Toolbars ‚ÄĘ You are required to develop a single screen application. ‚ÄĘ To display the current time in (i.e. system clock), today’s sunrise time, and t…
    • . e e 0′ (D File | C:/Users/chami/Downloads/CITP110HW04.pdf Q 63&gt; 21&gt; ED Ema E+qunlazalallvvevelel Outcomes: Write the main Ô¨Ālnction coding by following the Ô¨āowchart provided. Draw Ô¨āowch…
    • Team Management Part Three Until now, you have had to leave your team management program running on your computer indefinitely since you did not want to lose the list of players. Finally, you are read…
    • How do I scrape all posts from the Inspiron sub-community (link: https://www.dell.com/community/Inspiron/bd-p/Inspiron?ref=lithium_menu)? I need to find discussion title, author of the question, time …
    • Need help with how to make this a function. I need to let three numbers be given, and return largest of the three numbers def max3(arg1, arg2, arg3): Also, not sure why my code isnt returning right ou…
    • . Task 4 (1%) Copy and paste the data below and save the file as ‘input.json’. i) Read the json file into a pandas DataFrame with variable name ‘data’; ii) Print the data and then dump the data into…
    • database canbe found at : ( ¬†https://drive.google.com/file/d/1shsgb4to-ifB6QQZQrggnoJVCmMeSdhe/view?usp=sharing ¬† ) which has two tables: names and titles.¬† titles: (0, ‘tconst’, ‘TEXT’, 0, None, 0…
    • Part 1: Delivery of Python Console with complete functionality for menu options 1, 2 and 6 Part 2: Delivery of Python Console with complete functionality for menu options 1, 2, 3, 4, 5, and 6 PURPOSE …
    • . 2.1.2 Path Formulation Unlike the link formulation where the integer program builds the routes as a. part of the obtained solution1 the path formulation relies on pro‚ÄĒcomputing the set of all po…
    • Please I need help with writing a python program that does the following.¬† String that is a long series of words separated by spaces. The string is your own creative choice. It can be names, favorite…
    • I posted the python script template with the comments, I need help. I also posted the expected output from abc import ABCMeta, abstractmethod “””This serves as a template for Lab #2 – Strategy for Mus…
    • Sorted Names: Design a program, in python 3 , that allows the user to enter 20 names into a string array. Sort the array in ascending (alphabetical) order and displays its contents.
    • I have two columns in excel file one related to the product id (some ids are repeated in the different raws), and the second column is related to the sell amount. I have more than 350,000 rows in my e…
    • I need help with this implementation of an AVL Tree – IS_EMPTY &amp; MAKE_EMPTY Skeleton code is provided – Must be in Python AVL Tree Implementation Complete the AVL tree implementation by using the …
    • Convert data set into 4 graphical representation of that data set and come with basic Dashboard with on any data variables from Data set Using Python code . Use any data set for the analysis from give…
    • Please, answer in Python 3 1. Almost Equivalent Strings Two strings are considered &quot;almost equivalent&quot; if they have the same length AND for each lowercase letter x, the number of occurrences…
    • Can you please explain what I’m doing wrong and show me the correct code? Problem 2 (List Methods): You are given N positive numbers. Store them in a list and find the second largest number. (If there…
    • Apabila variabel “kar” bernilai ‘C’, apa hasil ekspresi berikut ini? a. Kar == ‘A’ b. Kar == ‘C’ c. Kar &gt;==’a’ &amp;&amp; kar&lt;=’z’ d. Kar &gt;=’A’ &amp;&amp; KAR &lt;= ‘Z’ e. Kar ==’AA’ || kar…
    • i have entered this code and it fails: problem: We will pass in 2 values, X and Y. You should calculate¬†X Y XY¬†and output only the final result. You will probably know that¬†X Y XY¬†can be calculate…
    • Hangman OOP Redesign your Word guessing game (hangman) to use classes and objects A list of words will be hardcoded in your program, out of which the interpreter will choose 1 random word. The user fi…
    • Part A – MRJob with text (8 marks) Detecting popular and trending topics from the news articles is an important task for public opinion monitoring. In Part A, your task is to perform text data analysi…
    • 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 …
    • Please write python code with explanations of how you did it, thank you 17.16 Given these data 5 10 15 20 25 30 35 40 45 50 17 24 31 33 37 37 40 40 41 use least-squares regression to fit (a) a straigh…
    • Hi there , I need help in understanding how to solve the above 2 questions ^ Kindly guide me through step-by-step . Thank you in advance !. D. Ist = [4, 3, 2, 1] [5 marks] for i in Ist. copy ( ) : Ist…
    • Where is the code? If you could send the full program that would be great… Task-7-[5pts] Once the program tells you that one or two solutions are obtained, you could display just after the factorize…
    • Computer Science Write-a program in python. Visible light is going through some medium and is absorbed by the medium. The energy range of visible light photons is roughly 1.75 &lt;: e &lt; 3 eV. The m…
    • How do I solve this?¬† ¬†. 6. generate_return_data [2 points] Next, you’ll write a function generate_return_data to get the type and description of a function’s return. This function takes no argument…
    • Write python code to DISPLAY for digits 0 to 9.each digit constructed from 13 leds. For Ex. Input =123 #. # # #. # # # # # # #. # # #. # # # #. #. # #. # # #. # # #
    • I am working on a project where I have to graph data from my Python program into excel. I am exporting the data into a .csv file but my problem is that I need the data to be separated by commas…
    • The example code at the bottom is included to show how the code should be formatted. ¬† Problem 1 ¬† (this is not an OOP app. This app is based on the section -Loading data from files and Saving data …
    • assert_equals(number_game(2,12), [3, 5, 7, 9, 11]) test.assert_equals(number_game(0,0), []) test.assert_equals(number_game(2,12), [3, 5, 7, 9, 11]) test.assert_equals(number_game(200,180), [180, …
    • Please use Python for this work, provide the codes, and make sure answer all the questions, thank you! The TCCON is too big to upload.. 3 Convolution of a Near-infrared Spectrum (8 pts) The Total Carb…
    • I need help with these two programs (three_shapes.py and bouncing_balls.py). These two programs involves the use of graphics, which is a graphics file that I am going to provide. These two programs al…
    • I know thee data is not included so you cannot actually solve the question but can you write a code that would work with a csv file that has carrier, departure delay and arrival delay as the columns E…
    • Exp#1: Fingerprint spoof detection system based on two-class support vector machine¬† (SVM).¬† Dataset: LivDet 2011:¬† https://drive.google.com/drive/folders/1nLWXD8wR7zD4tI0udk2GN6XC9EqIF8PR Training…
    • . Question 1 (35%): Exist or not? Task Description: In this task, we will develop a program to detect whether a target number is the sum of k elements in the given list numbers (note that the …
    • This is a Python script that imports the customer data into a list of customer details. In your personal playground in Codio, upload the two files and investigate the contents before considering the t…
    • ***FRENCH*** ¬† Pour cette question, vous recevez une partie du code ci-dessous. Il n’est pas permis de modifier les fonctions qui sont d√©j√† compl√©t√©es, ni le programme principal. Vous devez impl?…
    • Identify the severity of the missing value problem and data inconsistency problem [20 points]. Specifically, generate summary of missing values, and inconsistent values for each of the features. Your …
    • This is a due assignment, i would like to see the right solution for it Lottery Number Generator¬†Design a program that generates a seven-digit lottery number. The program should generate seven random…
    • Consider the following function: ¬† def get_time_str(t): ¬†¬†¬†¬†“”” (int) -&gt; str ¬† ¬†¬†¬†¬†The input t represents the time of the day using the 24-hour clock system. ¬†¬†¬†¬†The function returns …
    • how would i answer this question with functions involved. i did this but my code dosent work properly
    • Modify the checkAnswer method of the Question class so that it does not take into account different spaces or upper/lowercase characters.¬†For example, the response “GUIDOVanRossum” should…
    • Q3 Which of the following members of a programming team would be involved in internal documentation (i.e, providing inline comments within the program code)? Only the junior developers on the team Onl…
    • https://drive.google.com/file/d/1FffBPxA4z4YthXZ6wiDYsjo2t4NyaTsb/view?usp=sharing That is a link for the hmohive data. Let me know if you are unable to open the google drive file. Also, i need to use…
    • Need a function filtered_sequence(L, n) that accepts a list L and a non-negative integer n as arguments. It returns a list LL that keeps from L all elements e that are part of a sub-sequence of length…
    • For-Loops in List ¬† 23-25 [10pts]) For a given list myList of integers, write a Python code that computes the sum and average. Fill in the blanks: ¬† size = len(myList) sum = 0 cnt = 1 print(“sum:…
    • What are the tools that help to find bugs or perform static analysis?
    • The¬†countries¬†table describes various characteristics of countries. The¬†country¬†column contains the same codes as the¬†geo¬†column in each of the other data tables (population,¬†fertility, and¬†ch…
    • One of the advantages to writing a program that is subdivided into methods/modules is that such a structure allows different programmers to write separate methods, thus dividing the work. What is the…
    • I have yet to receive an accurate answer to this problem and need help Until now, you have had to leave your team management program running on your computer indefinitely since you did not want to los…
    • . OPTIONS 2 – 4: READ NEW DATAFILE When the user chooses one of these options (2, 3 or 4) the program should first verify that a datafile has been successfully opened and processed. If this is the c…
    • based on the data below i want help with creating one new feature electrical vs street need new column to show what electrical is given for what street In [12]: new_data = train [ [ ‘YearBuilt’, ‘Year…
    • The month of February normally has 28 days. But if it is a¬† leap year , February has 29 days. Make a program that asks the user to enter a year. The program should then display the number of days in …
    • please write the python codes which will work in jupyter notebook Q1. Bass Diffusion Model (a) You are consulting Panasonic who are going to introduce a new IoT fridge. Based on their initial market s…
    • Times table Create a program in Flode that will accept a value. Store this in a variable called N. Using a loop produce a times table for N from 1 to 12 If Codio passes in 6 for N. the output wi…
    • Write a method that manually calculates the bitwise and of two bit strings, a and b, and returns the resulting base 10 integer. You must solve this problem using loops and cannot use any built in bina…
    • How to compare columns of two different files in python? And if the elements of two columns are same ,how to update those elements in another third file?
    • In this lab, you complete a Python program that calculates an employee’s annual bonus. Input is an employee’s first name, last name, salary, and numeric performance rating. If the rating is 1, 2, or 3…
    • The csv file Unit04_wnvhumancases.csv is identical to the text file used in the previous proble, with the exception that it contains a header line and all fields are delimited by double-quotes. The co…
    • def get_lower_resolution(elevation_map: List[List[int]]) -&gt; List[List[int]]: ¬†¬†”’Return a new elevation map, which is constructed from the values ¬†¬†of elevation_map by decreasing the number of…
    • Admission to an aquarium is $14 per person. There is also an IMAX theatre in the building, which charges $8 per ticket for a 3D shark show. Customers have three choices: admission to the aquarium only…
    • in python no importing¬† use try except ¬† Question 1: ¬† 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 thr…
    • ‚Äč i need a program that implements the Naive Bayes algorithm for word sense¬†disambiguation. the program will have to assign a given target¬†¬†word with its correct sense in a number of test example…
    • . 5.3 How efficient is your car? This lab will be available until January 21st, 11:59 PM EST The fuel efficiency (miles per gallon (MPG)) of an automobile driven on a highway can be calculated with …
    • Part 1 The volume of a sphere is 4/3ŌÄr 3 , where ŌÄ has the value of “pi” given in Section 2.1 of your textbook. Create a function called¬†print_volume (r)¬†that takes an argument for the radius of t…
    • I have working code for this program, the only problem is that it’s not outputting any numbers after it takes all the inputs. It’s only outputting zeros. I was wondering if you’d be able to help me fi…
    • I’m having trouble on how to write a pytest unit tests for the SSA Full Retirement Age program. Objectives By the end of this exercise, the student will have demonstrated the ability to Write pytest u…
    • python program Write a program in a script Ô¨Āle that calculates the cost of renting a car according to the following price schedule: ‚ÄĒ‚ÄĒ Duration of rent Free Cost of Free Cost of additional addit…
    • Implement a function with signature transfer(S, T ) that transfers all ele- ments from stack S onto stack T, so that the element that starts at the top of S is the first to be inserted onto T, and the…
    • Produce a Python¬†code to scrape data from the web and store the results in both a text file as well as the SQLite database. The CNN Money’s Market Movers¬†website (https://money.cnn.com/data/hotstock…
    • Hello, I would love some help with developing this Python program . I would not want just the code, an explanation or comments would be great ūüôā Cut the Trees Time limit: 2500 ms Memory limit: 256 MB …
    • Comprender y aplicar habilidades y los pasos de control de evaluaci√≥n unidas 2 fase 3
    • Please answer the following question with all relevant assumptions, explanations and details. How will you solve it using python? ¬† 1. Please refer the table below to answer below questions: Planned …
    • . 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 for degrees but there’s no carry in this case. Con…
    • Explain the reason for the last data column in col6 from the python code below: #!user/bin/python3 import random from sklearn.cluster import KMeans as kmeans import numpy as np import matplotlib.pyp…
    • Below is the code for the data structures,¬†the LinkedList, Stack, and Queue. To make it easier for everyone as well as a possible alternative, the code for the data structures have been edited, and n…
    • How does Spark transform data streams into RDDs? What is the abstraction that facilitates it?
    • Create a flowchart and Python program that gives a customer a housekeeping cost estimate: Display a welcome message Ask the user for their lastname, # bedrooms, # bathrooms Calculate the subtotal of c…
    • Hello, I’ve written a Singly Linked List code with a quick_sort() function. The problem is, when I run the test code given to me, the nodes are not sorted accordingly. I’ve spent nearly 2 days on this…
    • I will need help with solving the VBA problem. I have attached the input files below for comparison. Thanks &quot;Apples, Bananas, Cherries, Dates, Elderberry&quot; &quot;DisneyWorld, Bora Bora, Grand…
    • 1 Pentagon Numbers: Write a function with the following header that produces a pentagonal number: def getPentagonalNumber (n): Write a test program that uses this function to display the first 100 …
    • Write Little Monkey Computer program that converts a Roman numeral into a natural number. Display the natural number as output before halting the program. For example, the Roman numeral DCXI is 611, X…
    • 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…
    • INSTRUCTIONS : 1) Please do it in 20 minutes because I don’t have time. 2) Python Programming¬† 3) No use use of built in libraries and built in functions 4) Use Functions name and parameter name is s…
    • I have a question on a Matlab coding problem 2.Complete the function potential_energy for the calculation of the energy of the electrode (lines 128 to 153). (20 points) Below is the line of code, the …
    • When I do the soup.findAll() and use the get function with print I see that there are relative urls not absolute. When i parse and a urljoin in the second image it makes all links absolute however, no…
    • Socket programming (Python) Your CIO assigns you another project which involves setting up of connections between many clients and one server.¬† 1.write a program that facilitates one client communica…
    • write a Python program that connects to a sqlite database. create a table called Horses with the following fields: id (integer): a primary key and not null name (text) breed (text) height (real) birth…
    • I am not missing any extra information. I have uploaded all the info. I am not missing any extra information. I have uploaded all the info. I am not missing any extra information. I have uploaded all …
    • My program will not loop correctly due to an error on lines 60 to 62. I need that error fixed so my program will loop. # Cordelia Charles # A dictionary for the simplified dragon text game # The dicti…
    • For the below problem I developed the code displayed in the second screenshot, however I am only getting a result of “No Mode” for the proceeding mode tests. I am not sure what to change to actually h…
    • I need the answer in latex software Inis coursework Is tne second or two courseworks (plus a mastery component ror MtichHesmtn year MSCI students). Your submission, which must arrive before the deadli…
    • The coding for this Python Tkinter game is complete. The board is visible and it is clicking. I cannot start the game. I cannot use a class. All must be with global variables as coded below. No major …
    • Draw a stack diagram of the process only for a=12, b =8.
    • I am trying to output variables onto a single line. When I check it, its wrong. Could you please tell me what I am missing? I have submitted the screenshots so you can see the expected output. (l) Pro…
    • Write a statement to add the key Tesla with value USA to car_makers. Modify the car maker of Fiat to Italy. Sample output for the given program:Acura made in Japan Fiat made in Italy Tesla made in USA
    • . 2. Answer the following question about Conjunctive Normal Form (CNF), in each case justifying your answer. [12 marks] (i). Show that any formula may be rewritten to an equivalent formula in CNF. […
    • I could not come up with the following: How do i add a scoring system. If guessed in the first time, it is 10 points and subtract 2 points for each answer. Then it should say ‘ you guessed incorrectly…
    • A program is required to compare three numbers to see if any of them is equal to double the sum of the others. The program will take three integers, between 1 and 100 inclusive. The program should out…
    • Complete the function find_candidates_from_city, which given a list of candidate dictionaries and an office location, represented as a tuple with the name of the city and the standard abbreviation for…
    • Quick question on this one, I came up with some code ideas but it’s wrong, obviously im also missing 1 argument as there suppose be 2 of them.¬† My code: def num_of_paths( # should be 2 arguments here…
    • MACHINE PROBLEM: DO NOT USE GLOBAL VARIABLES PYTHON: The x and y coordinates, as a function of time, t, of a projectile fired with an initial velocity, v, at an angle of theta, —≤, with respect to the…
    • University of Essex School of Computer Science and Electronic Engineering CE705: Introduction to Programming in Python Set by: Dr. Renato Cordeiro de Amorim. Due Date: 14 January 2020 by 12:00 (UK tim…
    • Topic: Webscraping Assignment Details Below and attached screenshot. All files are accessible via link : https://drive.google.com/drive/folders/1ie57QYu4iplH_WSIqw2FUibKt6tAShir?usp=sharing I.¬†Fideli…
    • I have to make a GUI in python and use the tkinter module I have to text boxes to retrieve the speed and time traveled (in minutes) from the user. From this calculate the distance traveled: distance¬†…
    • TASK 1 Your boss has asked you to help identify problems with a program he has made.¬† # This program gets two numbers from the user and adds all even numbers between them # e.g. 10 (inclusive) and 18…
    • Does Python have a switch statement? If so, how is it implemented? If not, are there ways to implement it? Do other languages offer a switch statement?
    • Issue: My penny values are wrong and I can not see where ¬† m y answer: ¬† change = int(input()) if change ==0: ¬† ¬†print(“No change”) if int(change/100)&gt;1: ¬† ¬†print(int(change/100),”Dollars”) e…
    • dictionary = { 2 : ‘two’ , 3 : ‘three’ , 4 : ‘four’ } tuple =[] def dict_to_tuple ( dictionary ): for i in range ( len(dictionary )): key = key.append(dictionary) value = value .append(dictionary) tup…
    • FOR THIS EXERCISE JUST USE THE WHILE OR FOR LOOP AND FUNCTION RANGE Considering the following list write ¬† numbers = [12, 75, 150, 180, 145, 525, 50] Write a python code to achieve the following Find…
    • txt: -,-,A,A,-,A -,-,-,-,-,- -,E,-,E,-,- -,-,-,-,-,E -,-,-,-,-,- -,-,-,-,-,E board2.txt: -,-,A,-,-,A,A,-,A,- -,-,-,-,-,-,-,-,-,- -,-,-,-,-,-,-,-,-,- -,-,-,-,-,-,-,-,-,- -,-,-,-,-,-,-,-,-,- -,-,…
    • Question 10: Album View Past Answers We are now finally able to model an¬†Album. An album should be initialized with an¬†Artist¬†and a title. It should have the following properties: 1.¬†artist: An¬†A…
    • Task 18 end=” ” configuration in printing ¬† print(‘The String’, end=”) ¬† # [ ] use 3 print() statements to output text to one line¬† # [ ] separate the lines by using “- ” (dash space) ‚Äč‚Äč ¬† ¬†…
    • #Write a function called search_inside_files. search_inside_files #should have two parameters: a filename and a string to search for. #search_inside_files should return a list of line numbers as integ…
    • These exercises focus on creating and using our own functions: l¬†def¬†¬†¬†¬†¬†– defining a function l¬†parameters l¬†return values l¬†calling a function Q1. ¬†Writing function that takes as an argume…
    • Decision tree yeast :-¬† shours = input(‘Enter your input:’) srate = input(‘Enter your input:’) hours = int(shours) rate = float(srate) grosspay = hours * rate print (grosspay)
    • Problem Given the target file f0 and candidate files f1-f20, there is an identical copy of f0 among the files f1-f20. ¬† Write a python program to perform the following tasks: ¬∑ Read in each file and…
    • My code was mostly working fine then I added a loop to the main body of the code to allow the user to continue to select options. This seemed to brake things, I can’t seem to get it working with the l…
    • It’s do today You can select any data of your choice, there are some data sets to download from SAS website and some in your my stat lab. After reading of chapters 5 &amp; 6 , review of power points a…
    • Importing, Understanding, and Inspecting Data : Perform preliminary data inspection and report the findings as the structure of the data, missing values, Importing, Understanding, and Inspecting Data …
    • You are given two pandas Series with historical closing price data for two equity indices. The equity indices are for different geographical regions and therefore may have different holidays.¬† Write …
    • Code to follow provided below: thank you. def Procedure_Step5(_C, _B, XRows, XCols): # _B is the elements that have not been “crossed out” with lines # _C is the the matrix that was originally passed …
    • rite a program that generates a dataset with the following variables: ¬†¬†¬†Date: starts with today’s date, and increases by one quarter each observation ¬†¬†¬†Weight: weight in pounds ¬†¬†¬†Height: h…
    • Pleaaaaassseee solve please :(( Description: Trendy Gifts is a shop that sells various gift items. They want to promote their business by selling their products online. A part of the software requirem…
    • i have written the code for two lists to dictionary but how can i arrange the letter a-&gt; 1 and b-&gt; 2(can i get help) i want like {‘a’ :1.’b’:2,’c’:3,’d’:4} int_list1 = [ ‘a’ , ‘b’ , ‘c’ , ‘d’ ] …
    • For 5.6 final challenge it is saying that OrderedDict is not defined. How do I define it? # Your code goes here balance_dict = OrderedDict( ) Collapse Data formats 8 v with open (F1, ‘r’ ) as fhl:…
    • PLEASE MAKE PPT (REPORT) FILE ALL ABOUT IN MATRIX/MATRICES WITH CODE FOR PYTHON. THANK YOU! ¬† SUBJECT: DATA STRUCTURES AND ALGORITHMS
    • This read ought to be secure: On the off chance that the short isn’t meaningful (alphabetic rather than digits), the message: “Awful Short, reemerge: ” ought to be printed and the section ought to be …
    • Illustrate the algorithm , pseudo code,flow chart to prompt the user input a. ¬†number d print it’s multiplication table
    • Define a class Point, where one object of class Point represents a point in the (x, y) plane. Define appropriate instance variables and the following instance methods: ‚ÄĘ __init__() sets the initial …
    • Please help class Poly : ¬†¬† def __init__ ( self ,*terms) : ¬†¬†¬†¬† # __str__ uses the name self.terms for the dictionary of terms ¬†¬†¬†¬† # So __init__ should build this dictionary from terms ¬†¬†…
    • Python language programming I am trying to create a simple data table using the python bokeh library. Need load the csv file and display it in the table. And filter and search should be possible.
    • x = 42 y = “jasmine” z = 2.2 if ((x == 8) or (y &lt; “maroon”)) or (z == 8.43): print(“blueberry”) if ((x != 10) and (y &lt; “silver”)) or (z &gt;= 1.79): print(“melon”) if ((x &gt;= 18) or (y == “whi…
    • Describe in detail an algorithm for reversing a singly linked list L using only a constant amount of additional space and not using any Ila-cumion.
    • Suppose a group has 4 students (A, B, C, D) with the test scores (with a scale of 0 to 100) and the evaluations listed as follows: —-‚ÄĒ‚ÄĒ -___”– E-_____ mun‚ÄĒ‚ÄĒ 1) Using 4C strategy to prepro…
    • Write a program whose inputs are three integers, and whose output is the smallest of the three values. Ex: If the input is: 7 15 3 the output is: 3
    • Need help fixing the errors in my code that are described: 77 # Test __add__ ¬†¬†84 e–&gt;1 + d–&gt;4/16/2016 ¬†¬†¬†¬†¬†*Error: previous command raised exception ¬†¬†¬†¬†¬†¬†¬†¬†exception: TypeError…
    • Write a function that calculates the mean of a numeric vector `x`, ignoring the `s` smallest and `l` largest values (this is a *trimmed mean*). ¬† E.g., if `x = c(1, 7, 3, 2, 5, 0.5, 9, 10)`, `s = 1`,…
    • Write the following function to process the file and generate the comparison counts for each Letter object: def do_comparisons(file_variable, bst): “”” ————————————————…
    • Python allows a user to load one of two CSV files and then perform histogram analysis and plots for select variables on the datasets. The first dataset represents the population change for specific da…
    • I’m not sure what’s wrong with my code, any input will help.. Question 2.8. Write a function simulate_and_test_statistic to compute one trial of our A/B test. Your function should run a simulation and…
    • How can using python help further business career? What are some advanced topics in programming ?
    • The volume of a sphere is 4/3ŌÄr 3 , where ŌÄ has the value of “pi” given in Section 2.1 of your textbook. Write a function called¬†print_volume (r)¬†that takes an argument for the radius of the spher…
    • . Complete the practices. After completing upload the .py Ô¨Āle. This practice is to show participation in the course and to self‚ÄĒcheck yourself on this week’s skills since a walk‚ÄĒthrough is in …
    • Question 2 [10] – Creating a list of events to follow 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….
    • How do i use a data file about New York City’s weather from 1989 to 2018 to draw a plot showing the monthly averages of daily maximum temperatures and mimimum tempatures of 2017, and the similar avera…
    • with the bank_marketing_training data set. Use Python to solve each problem. To demonstrate completion of this assignment, Produce the following graphs. What are the strengths and weaknesses of each g…
    • Map Reduce program to find the total number of patents granted each year originated in the United States and abroad.
    • Question 1b: One method to determine if an Integer is a multipte of 7 is to double the last digit and subtract it from the remaining leading truncated Integer. Apply this rule over and over again til…
    • We will pass in a 2 dimensional list of numbers. You should add up all the numbers in each row and output that number output the grand total of all rows # Get our list from the command line arguments …
    • can I see the code for this question please? I need help in coding where there is no use of string method or no built-in function except range() and len() is allowed From list methods, .append(), .ins…
    • The primer read is the first record that: Group of answer choices Is read as the last instruction in the loop. ¬† Is read after the loop ends. ¬† Is read as the first instruction in the loop. d. Is re…
    • What is the value of the first triangular number to have over a hundred divisors?
    • Exercise 1.1 from your textbook recommends that you try to make mistakes when experimenting with a new programming feature.¬† This kind of experiment helps you remember what you read; it also helps wh…
    • Please Answer ASAP! I will give a thumbs up if answered correctly! If any answers require programming, use python please ¬† ¬† ¬†. 2 Questions 1. Loss Functions for Linear Regression (8 points): Assum…
    • Please see the attachments. Logistic Regression Decision Trees A third classifier of your choice. (k-NN, Naive Bayes, SVMs, etc) For each of your models, you need to do complexity control, to make sur…
    • Write recursive function BrainSearch that takes three parameters: an array, starting position, and the number to search. It returns the location of a number if exists in the array, otherwise returns -…
    • Use the function design recipe to develop a function named get_books_by_category. The function has two input parameters, (1) the dictionary where the data is stored and (2) the category to print. The …
    • You are asked to design a new product – a speed and distance computer to be mounted on the handlebars of a bicycle. The hardware includes two control pushbuttons, an LCD screen and a rotation sensor o…
    • Please help me on this problem of Python programming language to print like the picture above
    • Evaluate Conditions. Assume num has a value of 4 and word has a value of ‘Fun’. Determine whether each of the following conditions evaluates to true or false. Explain your answer on multiple lines and…
    • Write a person class that does not have any __init__ parameters except self o¬†¬†It should have the following attributes ¬ß¬†name ¬ß¬†age ¬ß¬†address o¬†¬†It should have the following …
    • Create the functions: o distance(xa, ya, xb, yb): this function calculates and returns the distance between (xa, ya) and (xb, yb). See Listing 2.9 for the formula for this calculation. o drawDotsInC…
    • please explain how to approach this problem. I have no clue what to do. Codio Project File Edit Find View Tools Education Help Configure.. Project Index (static) Configure. BFEDELL split.py 3.7. 1 in,…
    • Assume that each of the following expressions indicates the number of operations performed by an algorithm for a problem size of n . Point out the dominant term of each algorithm and use big-O notatio…
    • Please help write the code below, based on the instructions/requirements and marking checklist. ¬† ¬† Create a .txt file named Amanda Gorman – The Hill We Climb 2021, and copy and paste this text into…
    • Part One: Loss Function [Graded] You will need to implement the function loss, which takes in training data xTr (ūĚĎõ√óūĚĎĎ) and labels yTr (n) with yTr[i]‚ąą{‚ąí1,1}‚ąą{‚ąí1,1} and evaluates the squa…
    • You will now use Python to study the relationship between Fertility rate and GDP per capita. For this question, you will also need to install the python module Matplotlib (for details, see: http://mat…
    • Markov Model Data Type) Define a data type called MarkovModel in markov_model.py to represent a Markov model of order k from a given text string. The data type must support the following API:
    • Programming Project 3 Instructions : 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 re…
    • Here is the xpath question that can be accessed and download to see: ¬† https://drive.google.com/file/d/1m9PeQEdFFbN924BFe6Y4YQ1ZLTXvXY_-/view?usp=sharing https://drive.google.com/file/d/1nGU2vQ1_CzbL…
    • Please help me real quick, I am confuse what this one want me to do.¬†. Checkpoint 2 ‚ÄĒ Bouncing off the Walls Now things will get interesting. Instead of your ball disappearing from one end of the c…
    • Please write a program that uses Numpy, creates two random 100 √ó 100 arrays A and B and add them together as C = A + B in two different ways: By using the for-loop method to compute each element of C…
    • I am trying to make a program that is able to allow the student to enter the number. The program should then display whether the answer was right or wrong, and accumulate the correct values.¬† Aft…
    • Discussion String slicing is useful in many different applications, from cleaning data to extracting information to parsing numbers.¬† In later lessons, you’ll see you can use these same slicing techn…
    • # Opening adult.data file for reading File1 = open( ‘adult.data’ , ‘r’ ) # Opening outputfile.data file for writing¬† File2 = open( ‘outputfile.data’ , ‘w’ ) # Looping over adult.data file line by lin…
    • Down below is my own written code for rock, paper, scissor, spock, and lizard. The game will go as many round as the player wanted, and will be playing against the system. at the very end, there will …
    • X value, and should give the best estimate it can of the values of the columns (Ys) at that X query. Be sure to handle values that are outside of the range, by extrapolating. You program should read t…
    • i uploaded the questions why every time is this message
    • I need help writing a program for the following problem ( Python Programming) .Please provide the original work ( do not post ans from other sources) Implement a Message Authentication Code program in…
    • It is a python pandas library question. The description is given below after the 1st image I want to group by the date column by month without dropping the index. The result thereby should look like […
    • Hi, I am extremely new to Tkinter library in Python. I am trying to make a Tic Tac Toe game using Tkinter library. In my program, I just want to get an ‘X’ whenever I click on a box. However, every ti…
    • I am working on fixing my code, but I keep running into this issue on line 9: Traceback (most recent call last): File “rental_car.py_rr”, line 9, in &lt;module&gt; rentalPeriod = int(input(“Number of …
    • Question 4. The hod column in each table represents the hour of the day during which the Uber was called. 0 corresponds to 12-] AM, 1 to 1-2 AM, 13 to 1-2 PM, etc. Write a function which takes in a t…
    • Hi, I’m having some trouble with this one. Im trying to solve this one with the Branch Function. Define function print_popcorn_time() with parameter bag_ounces. If bag_ounces is less than 3, print “To…
    • The variable¬†vec_list¬†contains 15 vectors. Run the Gram-Schmidt algorithm on the given set of vectors in the variable¬†vec_list¬†and return the variable¬†q_list¬†as the vectors
    • Write a Python function named coder which takes a character string s and returns another encoded string. the code is calculated by taking each pair of letters consecutive and exchanging the order in t…
    • Goal Writing a well-structured program with dictionaries, command line arguments, file I/O, and exception handling. Technology Python 3 Submission Instructions Your completed program must be submitted…
    • Can someone please help me with this question, I am having a bit of trouble with how to start this. I asked this question before, but I realized I made this question for myself and the tutor and I fee…
    • I’ve just started learning the unit test module for python and need help. I have the following files wordcount.py, histogram.py, word_test.py and text.txt. All im wanting to do is test methods with va…
    • Hi, I have this text file: holy_grail.txt, containing the script of the Monty Python movie The Holy Grail. I¬īm supposed to write a program find_words.py that can identify individual words in a text a…
    • py code, which should read the file¬† alice.txt , then process and print in alphabetical order the words found therein. Extend this program so that it prints out the complete list of all l…
    • Please answer this question with Python code. Thanks! Task 1 Write a function normalize_feats that takes the following arguments: 1. train_features : A numpy array with the shape (Ntrain, d), where d …
    • Here are the instuctions: 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 price for a cof…
    • need help with program in Python using the open statement and using the following Control structures, Loops, Lists, Graphing using Matplotlib Need solutions using the with open statement, then doing a…
    • Exercise 2 – Line chart ** Consider the following dataset of the weights of 7 cars and their corresponding fuel consumption weight = [3170,3455,3222,3983,2441,2500,2390] fuel_consumption (miles per ga…
    • “Please fill this code wherever it is #..” from graphics import * from time import * import random #given top and lower left corner, draw the tires and car body def draw_car(win,p1,p2): carlist1=[] ti…
    • Objective ¬† write a Python job which retrieves a brand’s best search result position for a set of keywords.¬† Context ¬† A shopper typically searches for products from e-commerce sites to explore the…
    • I’m trying to find the working final code for this project to build my own program off of. https://www.coursehero.com/tutors-problems/Python-Programming/34935270-Please-use-the-code-provided-as-a-guid…
    • This part is an open-ended programming assignment in which you are to implement a collection of N-gram language models on the brown corpus.1 . Divide the dataset into three parts: training (70%), deve…
    • Kindly write python function largest_edge_group(vertices) that consumes¬†vertices, a list of list of integer containing the coordinates of the consecutive vertices of a polygon. The function¬†largest_…
    • read the provided google_books_dataset.csv file(provided at the bottom) (the file name will be the only input parameter of the function) and will return a list with the stored data. ¬† MUST FOLLOW THE…
    • Written in Python 3. I need help doing relatively simple tasks with files. I understand that I need to do the following: two counters to count the instances of specific characters in a word use some s…
    • I only need #5 but it ask for us to use the num_consonants function from #4. I am having trouble with what to do with using #4 function and how to add the most_consonants function. Here is my answer f…
    • There is no specific word limit mentioned.¬† When done kindly upload file on drive I will download and make the changes so that no. Academic integrity is there.¬† Pls kindly don’t report this it has *…
    • . 6. Given two equations f(x) = 48 – 14x + x2 and g(x) = -102 + 31x + 18×2 – 9×3 + x4. a. Find the roots of the functions f(x) and g(x). b. Divide the polynomial g (x) by f (x). c. Multiply the poly…
    • RequriementsSubmit only the files requested Print all floats to 2 decimal points unless stated otherwise You¬† MUST¬† use loops to solve this problem ¬† RestrictionsNo global variables may be used You…
    • Solve the following python exercise. You must use the graphics library (import graphics). Coding exercise #64 Line Segment Information This program allows the user to draw a line segment and then …
    • give me code + dataset. i give you one dataset demo. its my friend dataset. Don’t give me same- https://drive.google.com/file/d/1i_4hwKKz_jucKWMvBCDoN2Xh2CtHBpsr/view?usp=drivesdk. . Machine Learning….
    • DO NOT RESPOND IF YOU HAVE ANSWERED THIS BEFORE Please respond with a code with comments for a program in python that I can paste on a ide like pycharm so that it implements a simple version of the tr…
    • Please help thank you Use pytest-bdd to write pytests that are associated with the Gherkin Scenarios blow. ¬† Feature: Social Security Full Retirement Age Calculator As a retiree, I want to know the a…
    • I need help with this assignment please. ¬† Find MST Using Kruskal’s Algorithm In this assignment you will use the provided code template to find the Minimum Spanning Tree of a graph using Kruskal’s A…
    • 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…
    • Task It’s advising time! Time to start thinking about classes for the Fall! It can be tough to search through the course listings to find the classes you want. So let’s create a program to help you ou…
    • 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 that play songs And close thread once finish then open a new thread stream …
    • In this problem, apply KNN to the healthcare data to predict an adherent class (pdc-80-flag). By using python, ¬†Predict the pdc-80-flag using the following features “pre-rx-cost”,”numofgen”,”numofbra…
    • Need code in python, working on raspberry pi. Part 2 Read a number 0-9 from the input (sample code below) and display it on the Seven Segment Display. Note. Use the following sample code to learn how …
    • 21 BREAKOUT ROOM ACTIVITY LAB: Creating passwords ¬† Learning Objectives format function string concatenation if/else statements Instructions In this lab, let’s review string concatenation, counting…
    • . Write a Python reads a text file students.txt &amp; that contains a list of students in a table, their year of birth, and how many courses they are taking this fall. Your program should revise the…
    • Using python programming, explain when the variable x holds the interest calculated for a given month as a Ô¨āoat. formulate a line of code that prints the line “This month’s interest is $ ” where the…
    • How can I create a program that will ask the user to enter five numbers and output the square of each number. Then I will use loops and function for getting the square of the number. Just like this: E…
    • Hello, Below is my program. The problem I’m having is that it only works if the input is formatted with a colon (automobile : car). I need the program to read the input with out the colon and produce …
    • For the following function, identify the loop invariant, the loop exit condition, and the loop post-condition which shows the algorithm’s correctness. You can simply list the assertions, or you can co…
    • convert newton’s method for approximating square roots in project 1 to a recursive function named newton . ( hint : the estimate of the square root should be passed as a second argument to the functio…
    • Problem: Creating function that given two lists, returns the list of all the elements that occur multiple times in both lists. The returned list should be in ascending order, without duplicates. The p…
    • The HSI (hue,¬†saturation,¬†intensity)¬†¬†color model, decouples the intensity component from the color carrying information (hue and saturation) in a color image.¬† true or false
    • See attachment. Problem 1. LAB(problems from which hw problems will be selected) 1. (Adding more specs, in bold, to problem 2 from Lab 3) User specifies the number of books ordered, and if the order i…
    • what is y: x = 9 z = -1 while x &lt; 15: ¬†¬†for y in range(3): ¬†¬†¬†¬†z += y ¬†¬†x += 1
    • Could you help me figure out what is missing from this program?
    • Fix this Python pygame code I want the two players to be able to shoot bullets Code is here: https://docs.google.com/document/d/1O3OvYZKp8OCVogXLoqzhGLsVwZrqwT6WPoh2JQDYE5Q/edit?usp=sharing ¬† files a…
    • What is a default constructor? How are an object’s instance variables initialized if nothing is passed to the default constructor?
    • You work for a small company that creates text-based games. You recently pitched your design ideas for a text-based adventure game to your team. Your team was impressed by all of your designs, and wou…
    • Please help me with this problem!!! Please do send a screenshot of your coding so I can follow through!! Thank you!!. Math 151 Lab 8 Use Python to solve each problem. 1. Let f(:1:) = 2sin’1(:c) and …
    • Can you please answer this question correctly with python Hexstream is copied from wireshark: – ffffffffffff2816a850589508004a000052000100004011f0fec0a80172c0a801d900350035003ec8da3c9c0fc93aba2816a850…
    • You should organize your work in the way that makes the most sense to you, using informative names for any intermediate tables you create. Question 3.1. Suppose that you would like to visit a farmers’…
    • Lab 12 – Display a Dynamic Line Chart. You will display a line chart of a dynamic dataset. We will build a GUI to display a set of values. You will display the values using both a line chart and a bar…
    • A program that first gets a list of integers from input. The input begins with an integer indicating the number of integers that follow. Then, get the last value from the input, and output all integer…
    • 5 Rearrange the following lines to produce statements that read a text file and print all words, suppressing adjacent duplicates. For example, if the file contains two words “the” with no words betw…
    • Problem: Write program for a GUI-based tax calculator. The program should Compute and print the total tax, given the income and number of dependents (inputs), and a standard deduction.¬† Instructions:…
    • Topic -&gt; Machine learning with physics and astronomy (using python- google colab) Please help I was given with lab. However I am not able to understand or solve it by myself. Please provide a well …
    • In python please ¬† ¬†Complete the following if statement to detect if the ball collides with the paddle in a paddle ball game. Assume¬†bX and¬†bY are the coordinates of the top left conner of the bal…
    • I am working on a project similar to this and want to know how we can efficiently write code for this part of the project using python. The CNN Money’s Market Movers website tracks the most active sto…
    • The link file(Facebook Data) is https://drive.google.com/file/d/14J5nGYFpvENDJJAaCSuvvJiHTe4V31JS/view?usp=sharing In this task, you can use R, Python or shell commands or any combination of Python, R…
    • Python Code:. 7. (Curve Fitting). i) You are given the following data xdata = np. linspace(0, 10, 500) y = func (xdata, 2.5, 1.3, 0.5) def func (x, a, b, c) : return a * np. sin(-b * x) + c 2 The ydat…
    • 6 Moving Averages ¬† The GDP file contains GDP for an unspecified country from 1980 to 2014. Use the pandas rolling() method to forecast GDP with moving averages for the specified time period taken…
    • import numpy as np ¬† # function name: per_to_dec # inputs: mat – n x n numpy array with percentages # output: n x n numpy array where percentages are converted to decimal numbers # assumptions: The t…
    • #write a read_file_data() function to prepare for the main menu application #this function is used to read information from an existing binary file #this function doesn’t take argument(s) #this functi…
    • The process of finding and removing any of the three kinds of programming errors.
    • Markov Model Data Type) Define a data type called MarkovModel in markov_model.py to represent a Markov model of order k from a given text string. The data type must support the following API:
    • How to tackle this problem. We need to write a program to generate a list of length n, and fill in the list with 1, 2, 3, … , n from the leftmost and rightmost alternately until the list is filled u…
    • Write a program to prompt the user for hours and rate per hour using input to compute gross pay.use 35 hours and a rate of 2.75 per hour to test the program(the pay should be 96.25).you should use inp…
    • Python Please: ¬† Given two input integers: one for the arrow’s body and one for the arrow’s head, print a right-facing arrow. Ex: If the input is: 0 1 the output is: 1 0000011 00000111 0000011 1 Ther…
    • I am not sure how to make the x axis and y axis show the correct numbers and have them scaled. Attached is a picture of the graph.csv file, it has more numbers than shown. ¬† import matplotlib.pyplot …
    • It is well known that for any instance of the stable matching problem, a stable matching exists, and the Gale-Shapley algorithm returns one such matching. However, the Gale-Shapley algorithm does not …
    • Add a conditional statement to abort the script if the directory `CyberSecurity-Notes` already exists. — ## Copying Student Exercises So far you’ve used a few different Python modules, but for the r…
    • Discuss reusability and how you would design for code reusability? Provide an example of this in your initial post. As a follow up, suggest to other student’s posts how they might increase their co…
    • Make a program that allows a user to query a data base of the 1000 most popular baby names in the United States per decade for the past 11 decades under the constraints described below. As always, you…
    • This is the text in a file¬† ¬† Computing is everywhere: from manufacturing to advertising, from social life to sitting quietly with an e-book. What are the rules that govern the devices and networks …
    • I want to have a code for using twitter API for getting tweet and total information about users in twitter. I spent a lot of time on that but still I have problem and my code in python does not work a…
    • x =[ ’10’ , ’11’ , ’01’ , ’00’ , ’10’ , ’00’ , ’00’ , ’11’ , ’10’ , ’00’ , ’00’ , ’01’ , ’01’ , ’11’ , ’10’ , ’00’ , ’11’ , ’10’ , ’11’ , ’11’ ] according to our last result, we had { ’10’ : [1, 1, 1,…
    • In Python, please. Part 1. a. Write a write_pressure.py script that will prompt the user to enter a filename. b. Open the file in write mode. c. Write a loop that will read in 40 pressure values from …
    • need help for both question 1 and 2. Please help. Thanks! 1. (10 points) (Without Python) Your professor’s parents give her a $15 birthday present! She has a brilliant idea: Ô¨āy to Las Vegas and tr…
    • Can someone please help me with this assignment I have no Idea how to do it. I need help with the this one I already finish the Stack.py that I need to import . this is the instruction that are given …
    • Implement the following function in the PyDev module Functions .py and test it from a PyDev module named t14. py: 1 def matrix_transpose(a): 2 …&quot; 3 _________________________________________…
    • 14 – Maybe a Sedan, Maybe a Convertible 10 coding python Create a class with specific functions . Create a class named car. . car instances should store the current speed of the car and allow setting …
    • Please write a code in Python 3 that utilizes the requirements as stated above. Thank you so much for all of the help, and if you have any questions don’t hesitate to ask! :). Write a general python f…
    • I am trying to render Python current datetime into html. I am not sure how to do this. current code: from flask import Flask, render_template import datetime dt = datetime.datetime.today() app = Flask…
    • Can someone test their code in idle or something. It says error every time I try to remove something and it will only print out the item typed and not hte whole grocery list def removeItem(item,lst): …
    • You are complete when you can produce the following output from the ReminderApp.py: General List: ————- [3] Pick up flowers (02/13/2022) [1] Clean garage [3] Start working on final project (02…
    • We will be understanding the concept of linear regression along with its regularization.¬† parameter on the dataset given ¬†below,w which has multiple attributes. .The MedicalDataset¬† (https://www.ka…
    • Not sure what I am doing wrong here but for some reason my output for Larry under amounts deposited is showing as 160,000 when it should be 165,000. However, for the amounts in IRA upon retirement, my…
    • I need a hand with this project. Please write a program (IN PYTHON OR MATLAB ONLY) that satisfies the required functions: 1: Frequency analysis: given a ciphertext string as input, outputs the frequen…
    • CONTEXT: The purpose is to build a machine learning workflow that will work autonomously irrespective of Data and users can save efforts involved in building workflows for each dataset. ¬† PROJECT OBJ…
    • hello everyone! somone is able to help me with some of the these questions? you can see my answer in the lab. please help i am stuck on it. No data is missing, all data in the link. if you familiar wi…
    • Complete the code below to create the given figure. The image size is 100×100, both squares are centered in the middle of the image. The blue square has edge size of 80 and the red square has edge siz…
    • Start with the following Python code.¬†¬†¬† alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬†¬† test_dups =¬†[“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]¬† test_miss = [“zzz”,”subderm…
    • Write a program to convert infix expressions to postfix expressions. Please read about these expressions in the section “Converting Infix to Postfix” in textbook Chapter 7. During the conversion proce…
    • Implement the following function in the PyDev module functions.py and test it from a PyDev module named t01.py: ***Use While Loop*** def hi_lo_game(high): “”” —————————————–…
    • python program to collect input from the user for two addresses (name, street number, street name, city, state, and zip code) from the command-line prompt. first need to create variables to store the …
    • list a function min that has 2 str parameters and returns the smallest. (Smallest in the sense of coming first alphabetically, not in the sense of “shortest”.) So far my code but it is not being accep…
    • I’m not exactly sure how to go about this question Question 3: Restart Implement an iterator class called IteratorRestart that will reset to the beginning when _iter_is called again. class IteratorRes…
    • Hi, Im struggling with question number 4, could you please assist me? i’m looking for an input the question. I’ve read some information online but couldn’t really grasp the material. To see an input w…
    • Data Science: Unsupervised learning and clustering please answer questions below by analyzing the data, dataset can be found here: https://drive.google.com/file/d/1UyiumWUDq7–t64SGPcaRxaPB1vFOTNh/vie…
    • You are required to design and implement a “Dice Game” program that runs a short game that uses dice. The rules of each dice game are available on moodle – make sure you do the dice game allocated to …
    • how do I display this string 6. Display a string that outputs the following EXACTLY like this: The new line character is “\n”
    • import pandas_datareader.data as wb import datetime as date #Step 1(10 points): Remotely Download “Treasury Constant Maturity Rate” from FRED #(https://fred.stlouisfed.org/categories/115) from 02/01/2…
    • Goal: For this lab, we will look at Natural Language Processing Tasks Part 1: Setup Familiarize yourself with the documentation available at https://www.nltk.org/ Install NLTK with pip Install pyPDF2 …
    • Write a program that read words from the user until the user enters a blank line. After the user enters a blank line your program should display each word entered by the user exactly once. The words s…
    • Help me solve these two questions below.. Trees Question 3: Leaves Write a function leaves that returns a list of all the entries of the leaf nodes of a Tree . def leaves(t): &quot;&quot;&quot;Returns…
    • Hello, I have a Python program that gives the max and min of 5 integers that are selected by the user. I need to check if the user input is valid, so I’m adjusting my code to do so. I am using a flag …
    • How many files in the hashes file are unknown when compared against NSRL? ¬† What is the MD5 hash for the file 022m2001.gif? ¬† how many hash types does an RDS entry feature?
    • what is the answer of the given expression? 22 % 3 ?
    • (1) Encapsulate the following Python code a function named¬†my_sqrt that takes a as a parameter, chooses a starting value for x, and returns an estimate of the square root of a.¬† while True: ¬† ¬† ¬†…
    • I need help understand and solve this practice exam, please. thank you. Task 1: Stadium Seatingeating categories at Locklear stadium. Class A seats cost $200.85. Class B seats cost $450.75. Class C se…
    • how do I solve in python The Human Resources department conducted a behavioural interview for a highly skilled job. There were 8 job candidates that participated in the interview in which they had to …
    • Can’t figure out how to start this homework question? When I’m in python I keep getting syntax errors? A mobile phone service provider has three different subscription packages for its customers: Pack…
    • How do I alter this program to allow the user to include a file from their computer to encrypt/decrypt as opposed to using a string input? I am using Python 3.9.6. Here is the code I currently have: ?…
    • i am here to share a link with start code https://drive.google.com/drive/folders/1kFjCVzHn6YAN0pBIkR5H6ZuSxTeXyB_g?usp=sharing ¬†. Q1: Finding the Key Background It has been rumored that profess…
    • Welcome to my Guess the number program! You guess the number Type number and see if the computer can guess it Exit What is your choice: 1 Please guess a number between 1 and 10: 5 Too high Please gues…
    • INSTRUCTIONS : 1) Python Programming¬† 2) No use use of built in libraries and built in functions 3) Use Functions name and parameter name is same as given in question. class Graph: def _init_(self): …
    • Implement Some Mathematical Properties USING NESTED FOR LOOP: 1.¬†¬†¬†¬†¬†¬†Input 2 MATRICES 2.¬†¬†¬†¬†¬†¬†¬†Traversing 3.¬†¬†¬†¬†¬†¬†¬†To Check Square matrix 4.¬†¬†¬†¬†¬†¬†¬†To Check Equal Matrix 5.?…
    • Write a Python program that helps its user explore a polygon shapefile. The program should first ask the user to provide the path to a polygon shapefile. If the shapefile does not contain polygons or …
    • Draw the outline of only 2 buildings. Each building MUST include at least 2 windows+1 door . Rather than a night scene with stars,it should be daytime scene with a sun and 2 clouds. Each cloud will ha…
    • Part 4 Textbook Exercises – Dictionaries, Lists Tuples and Arrays (1) ( Single – Dimensional Arrays ) Write a complete program that declares an array of any five integers, from 0 to 100 , and averag…
    • From the Book: Shmueli, G., Bruce, P., Gedeck, P. &amp; Patel, N. (2019). Data Mining for Business Analytics: Concepts, Techniques and Applications in Python, 1st Ed. Hoboken, NJ: Wiley. (ISBN-13: 978…
    • from typing import List, Set, Dict, Tuple, Optional, Text from operator import itemgetter ¬† # import spacy package ¬† # load the small english core web model from spacy. ¬† def tokenize_text(text: Te…
    • SPECIFICATIONS: Given the following form representing a client HTML page: client form ( https://www.bitsandbots.ca/danny/prg550.213/labTests/labTest2/form.html) Write a Python CGI server program on th…
    • Provide a timeline for the various activities that need to be completed. You must include a start date and an end date. Each individual activity should have its own start and end date. Indicate which …
    • Question Write Python notebook that generates a file containing the following data:‚Äč ‚Äč Email addresses‚Äč. Must have an “@” Phone numbers‚Äč Home Address‚Äč Person’s name‚Äč Year born. Use realist…
    • To be done in Python . Please also include comments (preudo code). Thank you for your help. Battleship You should write a simplified version of game Battleship. While the game is normally played with …
    • Can you explain this part of code? How it works and what it do? It’s in Python.. [2]: # building an inverted index inverted dict = {} with open ( ‘StemmedDocs . csv’ ) as f: reader = csv.reader (f) i …
    • Code for a game of blackjack please, ¬†rules and requirements as follows: I have put a sample output code at the end as well as a copy of the playing_cards.py file. Blackjack game play: To begin, the …
    • Hi, how can I improve my function def unique_words(filename). I¬īm trying to count all unique words in a file. I¬īm not getting an error but it does not work properly either.¬† ¬† You can imagine that…
    • Please help me with 4.2 and 4.3, I get stuck in that. Below is the instructions (in photos) and my code and test case. Thank you my code: def load_maze(line_lst): ¬† ¬†raw=[] ¬† ¬†maze=[] ¬† ¬†start_p…
    • how to solve these function? from . typing . import . List, Dict, TextIO, UnionLF LF LF # . DO . NOT . ADD . ANY . OTHER . IMPORTS LF ProgramDict .= Dict[str, . Dict[str, Union[List[int], str]]]LB Pre…
    • // Program lets user input scores on four tests // Average is computed and letter grade is determined // Letter grades are based on 90 for an A, 80 for a B, and so on start string name num score num N…
    • #!/usr/bin/env python3 ”’ Enter docstring here. ”’ test_strn = ‘test:x:999:999:/home/test:/bin/bash’ from_passwd = \ [ \ ‘arthur:x:1001:1001:Arthur Smith:/home/arthur:/bin/bash’, ‘avahi-autoipd:x:10…
    • Create flowchart that determines whether the positive number typed by the user is a prime or not.
    • Use Python to resolve ¬† The question has been answered using excel but there’s need to use python codes to read off the data from a text file provided and eventually be able to draw the hydrograph of…
    • This assignment is based on the video discussed in module 1. John Rauser ( 2014). Statistics Without the Agonizing Pain. Strata Hadoop 2014. Retrieved from https://www.youtube.com/watch?v=5Dnw46eC-0o …
    • . By one dimension, we mean that the object is moving in a straight line. There are five variables that put together in several equations for describing this motion: Eql: V =V, taxt Eq2: d = average…
    • 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!
    • Q1)Find the complexity of the following blocks of code or algorithm’s description. [Note: your answer must show the steps that lead to your final answer] important note I need the answers in each part…
    • Please I need HELP with this: Develop and fully test a set of tools and Web Forms to perform the following functionality: a. Password Login form – This Python form allows a user to login to a simple w…
    • Please help code. I have attached the framework for your viewing pleasure. REQUEFEITIEHt for this Assignment Thu have been provided with a framework for this assign ment: &quot;Assignment 3 – Fra mewo…
    • . Task 2 (15 marks) Consider the UML diagram below. Person Book -names: string[1..*] -authors: Person[1..*] -age: int -title: string +_init_(names, age) author wrote book -publisher. string +getFull…
    • Step 1 (2 pts). Read from input the carpet price per square foot (float), room width (int) and room length (int). Calculate the room area in square feet. Calculate the carpet price based on square fee…
    • Jimmy downloaded a large number of poorly named files, e.g. “cute_cat[20150203].jpg”, “[quick]brown_fox.png”, “[x264]lazy_dog[1280×720].mp4” and would like to automatically clean up these filenames by…
    • Please write a function (fn) to take x, m and return the following expression ¬† fn(x.m)=¬† x-(x^3/3!)+(x^5/5!)-(x^7/7!)+(x^9/9!)…+(x^n/n!)
    • write the following script on Python 3.8.1. Only use basic arithmetic including //, %. (a) Writea function GCD(a,b) which takes as input 2 non-negative integers a, b and returns gcd(a, b). Your functi…
    • You are going to enhance the prior assignment by implementing exceptions¬† *****¬†You need to tell me where you implemented the exception and why. ***** ¬† Show me 2 test cases that will trap the erro…
    • Magic-Candle-Shop makes candles in various sizes. How to make a¬†class for the business named Candle that contains data fields for color, height, and price and get methods for all three fields. How to…
    • I am getting an error for this program. Also, the total does not appear to be working. ¬† Could you look over the code and evaluate for the mistakes? ¬† ”’Sales Receipt Demo”’ #Import necessary comp…
    • Life Signs Develop and test a program that prompts the user for their age and determines approximately how many breaths and how many heartbeats the person has had in their life. The average respir…
    • Hi, some of the people in my class and I are stuck with this question: “Run the demo program fontdemo.py to explore the font families available on your system. Then write a code segment that centers t…
    • Inside the cells of living things are small organelles (biological ‘machines’) called ribosomes that construct proteins by reading and translating DNA. This mapping from DNA to proteins is known as th…
    • Need the code please2 X Content zy 6.6. LAB: Name format + learn.zybooks.com/zybook/CYB_130_53744141/chapter/6/section/6 My library &gt; CYB 130: Object-Oriented Scripting Language home &gt; 6.6: LAB:…
    • Rewrite the¬† while … loop¬† code segment below, using a¬† for … loop¬† to produce a code segment which is exactly equivalent. ¬† start=500 end = 100 total = 0 while (start &gt;= end): ¬†¬†¬†total…
    • (PYTHON) In Python, How do I use function and strings to do the task below for formatting mailing labels with the Main function?¬† My Code:¬† # getting the first name from user first_name = input(“Ent…
    • How can i use turtle graphics to make a recognizable picture of something with at least 3 colors and 7 shapes.(Python)
    • Instructions for submission¬† Do Exercise 6.4 from your textbook using recursion and the is_divisible function from Section 6.4.¬†Your program may assume that both arguments to is_power are positive i…
    • # Helper functions def primes (max=None) : p = 2 while max == None or p &lt;= max: if is_prime(p): yield p p += 1 # Generators must be able to iterate through any iterable. # hide is present and calle…
    • import stdio import sys # A data type to represent a point in 2D space. class Point: ¬† ¬†# Constructs a new point given its x and y coordinates. ¬† ¬†def __init__(self, x, y): ¬† ¬† ¬† ¬†self._x = x …
    • Hi, I have attached the question and also the solution to it using For loop. However, I need it to be done with lambda, map, reduce, and filter, and without list comprehension and for/while loops or r…
    • . Part 1 Write a Python function, make_array for generate and return a random Numpy array filled with random integers. This function can accpet the following arguments: . length: the default value o…
    • Every one of the elements for a significant catastrophe are available at Middleton. The master frameworks proposition is expected to roll out an essential improvement in the manner the organization ca…
    • A grocery store introducing items from Saudi Arabia is interested in analyzing buying trends of these new “international” items, namely Y, M, C, and J. The files Grocery Store List and Grocery Store S…
    • It is a type of substitution encoding in which each letter in the plain text is replaced by a letter some fixed number of positions down the alphabet. For example, with a right shift of 3, a would be …
    • How would I go about doing this in python? https://docs.google.com/document/d/1pCeEns_j5z-_0n36DxIzNUOKoyrhN5tk4dC_q3sRKiM/edit?usp=sharing (In case needed here are the Calculator and Heat index lab t…
    • Programming to be done in Repy. I have attached the document which has all the details &amp; step by step instructions for doing assignment. Security features must be implemented. Part1: Read this pap…
    • Python program which serializes a binary tree (each node contains a character) and deserializes back to the original binary tree with O( n ) complexity, where¬† n ¬†is the number of nodes in the binar…
    • You have a linear model; the average R^2 value on your training data is 0.5, you perform a 100th order polynomial transform on your data then use these values to train another model. After this step, …
    • The variable side contains the length of a side of a cube. Write an expression that returns the volume of the cube. write a single expression/statement that refers to the specified variables. (You sho…
    • Given one voting result,¬†v, complete the function¬†calc_partisan_vote_gap(v)¬†so that it returns the partisan voting gap as defined above. Assume that¬†v[“passed”]¬†is¬†True¬†if the vote was a passin…
    • Using Python The GUI for a mobile app has a Label component named phoneNumberLabel. Create an event handler that executes when the device receives an incoming phone call. The event handler should disp…
    • . I want the output to look as follows: The first column in 10 characters wide and is left aligned. All other columns are five characters wide and are right aligned. Column 12 Row 1 12 Row 2 24 Row …
    • code this in Java. Just add the listed things in here ¬†. 1. All listener classes must be anonymous classes. Add listeners as Follows 1.1 Add ActionListener to Walk &amp; Stop buttons, to make sloth w…
    • 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…
    • #”i cant figure out why im getting an error, i am just adding grocery_list to the dictionary grocery_history. can you help? below is my code and error message”# error message: Item name: Quantity purc…
    • QUESTION 21 class Student:¬†¬† ¬†¬†¬†def __init__(self, my_id): ¬†¬†¬†¬†¬†¬†¬†¬†self.__id = my_id ¬†¬†¬†¬† ¬†¬†¬†def get_id(self): ¬†¬†¬†¬†¬†¬†¬†¬†return self.__id Suppose student1 is a Student object…
    • . Slide Type Slide v Retrieving daily COVID-19 data with pandas Source: https://covidtracking.com daily.csv cases are cummulative . summarized daily by state we don’t need all columns, just cummulat…
    • Question: SeaPort is the largest operator of Sea Planes across sea shores in Europe. SeaPort doesn’t have planes of their own, rather they lease them on a short term basis based on passenger traffic. …
    • start //This program continuously prompts a user for miles driven until O is entered. While miles are not O, gallons are entered, and Declarations mpg is computed and displayed. num miles num gallons …
    • .. Design a program that first gets a list of integers from input. The input begins with an integer indicating the number of integers that follow. Then, get the last value from the input, which…
    • Explain how the else state works in a for loop in python. What is this snippet of code doing? Answer this question by explaining each line of code not just running the program ¬† for x in range(2, 6):…
    • Hi, i need this in python language just please right the codes for me for part Aand B tanks¬†. PART A 1. If you have not already done so, Install Python 3.9 (or later) on your laptop: a. Download and …
    • The lab ten box is the end result, please help.. Lab 10 X Name Age Status O Student O Staff C Both SAVE. indow Help Lab 10 – C:\Users\juboo\Downloads\main.py X main QQ i.py X to mainkay * records.csv …
    • I need help with the following questions Question 2: Use numpy array to create a 3D array. The shape should be (2, 3, 4) and elements are integers from 0 to 23 with step 1. After you create such a 3D …
    • alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬†¬† test_dups =¬†[“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]¬† test_miss = [“zzz”,”subdermatoglyphic”,”the quick brown fox jumps over …
    • Use turtle graphics to make a drawing from data stored in files. Here, the drawing commands will be read from a file specified by the user, rather than user input. Drawings will be stored in a text fo…
    • The problem that¬† merge sort ¬†solves is general sorting: given an unordered array of elements that have a total ordering, create an array that has the same elements sorted. More precisely, for an ar…
    • 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…
    • can you help me with a python sample program that Uses files – open, read/write, delete to handle data.The program needs to handle data from files (open, read/write, delete to handle data). It uses ex…
    • In the homework instructions, the professor uses the examples “The string ‘This is a test’ with n equal to 4 will be scrambled to ‘sihT is a tset’. The string ‘Another example’ with the n equal to 2 w…
    • Please answer in Python 3 Hashed Ports Packets are sent to different ports on a computer system based on the hash of their packet ID. The value of the hash is as given below. Hash = mod (packet_id, nu…
    • please input a function called isPalindrome which takes a string s and returns a Boolean value (true/false). This function should: Check if s is a palindrome (not case sensitive). If so, return True O…
    • Complete the #TODO portion of the Python program coseries.py, provided below, to compute the following sum: 14 16 x2n sum = 1 + 2! 8! … +(-1)n (2n)! The values of x and n are provided as user inputs…
    • Code to be written in python please assist Steward Servicing The Steward car dealership is a company that deals in specific types of vehicles. They import vehicles directly from manufactures around th…
    • Tuition Fees Increase¬†PB, which currently charges $115 per credit, has announced it will increase its cost per credit by 4% each year for the next five years. Need to write program that uses a for lo…
    • The table below gives the frequency with which a sample of women drink tea and coffee (Arab, Lenore et al. “Gender differences in tea, coffee, and cognitive decline in the elderly: the Cardiovascular …
    • Write the code that will produce the outcome above.. List List 1: BB218 Internet in Practice List 2: 1. BB218 2. Jan-April
    • 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…
    • hii i need help with this flowgorithm¬† ¬† ¬† Design a program that asks the user to enter a store’s total sales for each day of the week. Add up the daily sales to determine the total sales for the w…
    • write answer. ed Write a Python program to ask user enter an integer, and display the following messages accordingly using if-elif-else: O Ask the user to input an integer as in the sample output show…
    • How to use python3 to write the code for these two required function,? Please include detailed explaination for thoughts and codes , thanks. For example, consider the following database of phones usin…
    • A survey of 100 households gave the following results for weekly income $x.¬† ¬† weekly_income = [ 1575, 2239, 6459, 7599, 2502, 2251, 2017, 3949, 7581, 3981, 7151, 3353, 5311, 1743, 2600, 3160, 3846,…
    • Create a program that allows the user to enter the weight, size and quantity of their steak order. It should then display the appropriate cost of their order, including a 5% sales tax. The program wil…
    • Why do I get the error iloc has no member. ¬†I’m stuck ¬†. \Brittany Wynne\ PycharmProje 4 import matplotlib . pyplot as pit 6 J housing = pd. read_csv(&quot;Housing. csv&quot;) 8 house = np. array (h…
    • #strings an array of characters string1 = “hello” string2 = ‘hello’ string3 = ‘hello you thing you’ ##doing things to strings – format methods Truth = “squareonthehypotenusewasagreatarchitect” #print …
    • I am creating a hotel reservation code in pyhton but unfortunately i could not make it work. I wonder if you could help me about that thank you. room ? ` Idige` regular def display _ hote ] Info ( ) :…
    • Could you help me find a python code for this question? Thanks. 1. Create a function table that models a mortgage approval process. The function should be provided the salePrice [float] of the home an…
    • Write a program that produces the following output: CCCCCCCCC ++ ++ CC ++ ++ CC ++++++++++++++ +++++++++++++++ CC ++++++++++++++ +++++++++++++++ CC ++ ++ CCCCCCCCC ++ ++
    • QR codes The code consists of a number of dark modules (square dots) on a light background. The additional light area around the code itself is called the quiet zone , and is provided to clearly separ…
    • need a function contacts() with an output like¬†. r Allows the user to enter a set of 10-digit phone numbers for each contact , The program will keep prompting the user for a contact’s Ô¨Ārst name a…
    • please use python to help with question displayed. the link for the file is below and pls include output with code, thanks File: https://drive.google.com/file/d/1KN7LyEQD7XKkRV7hDBYyfmjB4TTg3NZ5/view?…
    • Using Python language perform the following either in Linux PC or in Windows PC.¬† 1. Read and display CPU usage in reference to time in graph, every second¬† 2. Read and display Memory (RAM) usage in…
    • num_guitars = 4 player_name = ‘Tasha’ print(‘ \’s father has guitars.’ % (player_name, num_guitars))
    • I dont know what to do 2.21 Chapter 2 Heroic: Ceiling and Floors In this lab, we will use functions from the math module, and practice a bit of string printing. We will show that, given any odd number…
      • Add a function named analyze() to this program that takes a string as an input parameter and prints the following to the terminal. prints how many lowercase letters the input string has. prints i…
    • I need help with python coding, specifically creating and using dictionaries?
    • Hi, I have a homework question for my coding class and I do not seem to get it. I did some code for the loop question somewhat. I need to find the ith number in the following recurrence equation using…
    • CPSC-51100: Statistical Programming Programming Assignment 5 – Data Preparations and Statistics Introduction The file cps.csv (attached) contains school profile information for Chicago Public Schools….
    • txt aahed#aalii#aargh#abaca#abaci#aback#abaft#abaka#abamp#abase#abash#abate#abaya#abbas#abbes#abbey#abbot#abeam#abele#abets#abhor#abide#abled#abler#ables#abmho#abode#abohm#aboil#aboma#abo…
    • #!/usr/bin/env python3 # Student ID: [seneca_id] from lab7a import * t1 = Time(8,0,0) t2 = Time(8,55,0) t3 = Time(9,50,0) td = Time(0,50,0) tsum1 = sum_times(t1,td) tsum2 = sum_times(t2,td) tsum3 = su…
    • I have to write some python programs which all the function according to the python file printed here class base_class: ¬†¬†”’ ¬†¬†base class, will use a template for children classes; will not be us…
    • I have the following json, it will always follow the same pattern. There will always be only one “items” key that can contain multiple tags and a single params or separate tags with the params next to…
    • . Chapter5: Problem 4 Previous Problem Problem List Next Problem (1 point) This question concerns block cipher padding. Suppose the block cipher has a block size of 20 bytes. A certain message ends …
    • Hello I need some help with Math. You see were using python for this and I’m just a little confuse if I am doing this right? Down below is what I have so far.. Problem 1: Solve 2y&quot; + 4y’ + y = 0 …
    • Groupby aggregates 2 #¬†Calculate¬†total_delay flights[‘total_delay’]¬†=¬†flights[‘dep_delay’]¬†+¬†flights[‘arr_delay’] #¬†Mean¬†total_delay¬†by¬†carrier tdel_car¬†=¬†____.____(____)[____].____().rese…
    • using: ¬† def¬†¬†lettergrade(scorelist):¬† ¬† ¬†¬†¬†¬†¬†¬†¬† Anyone know how to code this?
    • Network program may be in Python or C ¬†(preferably python): To measure the average Round Trip Time (RTT) between your client and my server¬† To estimate the amount of segment loss over some testing…
    • . The following code is intended to generate the next num numbers in the sequence deÔ¨Āned as follows: beginning with start, each successive number n + 1 in the sequence is formed fro…
    • Which module in Python supports regular expressions?
    • in this assignment, you will develop a simple graphical simulation that analyzes how forest fires spread and how forests regrow after fires. Each time step of the simulation represents one day. On eac…
    • Question : New DG Food Agro are a multinational exporter of various grains from India since nearly 130 years. But their main product of exporting since early 1980s has been Wheat. They export wheat to…
    • Write the code for this part in the part2.py file. For this problem, you are given several files (volumes0.txt – volumes4.txt) in the ‘exam’ directory that contain the dimensions of boxes. The structu…
    • By K nearest neighbor (KNN) classification, an instance is classified by the majority label among its k nearest neighbors. One issue with identifying the majority label is to break the tie between two…
    • I’m stuck on this study question and need help writing it in LISP, this was all the info provided…………………………………………………………………………………………….
    • Python Programing: Need a python program that does the following: It counts the collection of devices every time a new device is added to the lab. It also keeps track the count when a device is remove…
    • This task relates to the calculation of property taxes for a fictional community. Property taxes are based on the assessed value of a house, as follows:¬† ¬† The first $20,000 is tax-free.¬† The remai…
    • Could you help me solve this python question without for loops? You can use any dataset to present the code. What was the worst possible &quot;buy&amp;sell&quot; operation? Find the two days x and y s…
    • 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…
    • Write a Python program that uses two nested FOR loops. The values used in the outer loop will be a user input value.¬†The inner loop will use the input value divided by 2. Print a simple statement sho…
    • Finally, use your calc_covariance, calc_variance, and calc_mean functions to compute the closed form solution for the slope and y intercept values. Set these equal to variables named m_closed and b_cl…
    • Write pseudocode and a program for the follwoing in python:
    • Indices refer to a position within a string or ordered list within Python. With the use of the provided indices, what is the correct output of the following code? &gt;&gt;&gt; str1= ‘PythonForEveryone…
    • Please help with the module 9 lab for Python Programming! Instructions Deliverables: You must submit your .py file. Name the file: lastname_firstname_lab9.py. Example: bond_josh_lab9.py Perform the fo…
    • This question provides an opportunity for you to demonstrate your understanding of the problem-solving approach taught in TM112 and the patterns introduced in Block¬†1 Part¬†4 ¬†and Block¬†2 Part¬†2 ….
    • . Question 1: For the following weights W1 = 1,w2 = – 3.5, w3 = – 2, WA = 1 For the following inputs X1 = -0.5,x2 = 0, X3 = 3. 5, x4 = 0 The activation function where: 0=1 (1, ifh &gt; e o = g(h) = …
    • Assignment 1 [Practice] Calculating your course grade Write a program that asks the user to enter the following information for¬†Python: full name,¬† test1 score, test2 score, Assignment score, Read a…
    • method headers below ¬† ¬† In this project, we will discover the basics of image processing, a key area in the computer science field.¬† In the digital world, images are defined as 3-dimensional matri…
    • I need help trying to build a menu-driven application that will allow a user to maintain their collections. For example, I might have a coin collection, or a record collection, or a collection of all …
    • I need a code for complete binary tree implementation. In insert method, new node should be inserted recursively and tree should remain a complete binary tree. details are in template below. Modify on…
    • How would i program the python loop that calculates the sum of 20+21+22+23..+189.
    • Consider the two lists: donors = [ ‘Bob’, ‘Joy’, ‘Lynn’, ‘Mary’, ‘Alex’, ‘Paul’, ‘Eva’, ‘Drew’ amta = [ 20. 65, 150, 35, 125, 75, 100, 50 Donors who donated between 50 and 100 dollars (including 50 an…
    • 9 Warm up: Automobile service cost (Python 3) ¬† ¬† (1) Prompt the user for an automobile service. Output the user’s input. (1 pt) Ex: Enter desired auto service: Oil change You entered: Oil change …
    • Has to be in Python 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, Nic…
    • PLEASE HELP ME OUT I’M HAVING A VERY ROUGHT TIME WITH THIS AND I REALLY NEED TO UNDERSTAND IT.¬† THANK YOU.. Objectives I Design own class in the Python programming language. I Implement ac…
    • I need help writing the code in python. The last part of the code is the important part. This is the website for the notebook: https://cs.nyu.edu/~kapp/python/ Part 3a Write a program that prompts the…
    • We all know that currently, we are going through a pandemic period. Several measures are now taken so that we can overcome this period and resume our daily activities like we did earlier. Educational …
    • An algorithm, flowchart and modular program based on the following: user will be prompted for their name and age, use the DATE module or class associated with your programming language to acquire the …
    • . Question 15 (4 points) Write a public getter and setter for an attribute self._title.. Question 16 (6 points) Assume we have a dictionary empDict that maps names to salaries. It may look something…
    • Can you please explain what is wrong what this?¬†. 2.13 LAB: Input and formatted output: House real estate summary Sites like Zillow get input about house prices from a database and provide nice summa…
    • Given a sequence of numbers¬†a 1 ,a 2 ,…,a n a1,a2,…,an¬†in the form of a list your task is to print the first¬†k k¬†numbers such that the sum of¬†a 1 a1¬†to¬†a k ak¬†is less than 100, but the sum…
    • What strip() does in pyhton? Like line= text_file.readline() line2=line.strip() what does strip do here??
    • . Exercise 1 (assignments_test: 1 point). Complete the function get_assignments. The function takes grades (a nested list structured similarly to grades above) as a parameter. It should return a new…
      • Fidelity¬†Stock Market The Fidelity Investments¬†webpage (https://eresearch.fidelity.com/eresearch/goto/markets_sectors/landing.jhtml) reports the stock market¬†changes by sector in an HTML table …
    • How do I do this?¬† ¬†. 5. longest_line [15] Write a function called longest_line which takes as input the name of a text file and returns the length of the longest line of the file, as well as the li…
    • Conestoga college. Home | 11 x B Topic Res X Subnettir X + conestoga.desire2learn.com/d21/le/content/483749/viewContent/10999263/View ACHIEVEMENT TASKS Task 1: Anna’s Calculator – https://classroom.gi…
    • Complete the function definition to output the hours given minutes. Sample output with input: 210.0 3.5 def output_minutes_as_hours(orig_minutes): minutes = float(input()) output_minutes_as_hours(minu…
    • Write a program using functions and mainline logic which prompts the user to enter a number, then generates that number of random integers and stores them in a list. It should then display the followi…
    • I’m working on adding additional code to a previously written script: Fashion a code that will do the following: a. Using an if statement, determine if both the practice1.txt file and the practice2.tx…
    • Find the first 6 terms of the recurrence relation given by a1 = -1, an = 2n – an-1 2. a. Create Python recursive function for the relation in #1. b. Create Python program that uses a for loop to r…
    • Create two stacks in Python That take inputs from user and in which store initial and goal state of block world problem. Display these state to user and then create¬† ¬†a heuristic value which give +1…
    • . QUESTION 1 – What is the difference between the indices and values (elements) of a tuple/list? QUESTION 2 – What are the differences between tuples and lists? QUESTION 3 – How can you get the valu…
    • what is the code that for each of the numbers in the List1, print a line containing twice the original number. For example, List1 =[3, 1, 5] would print 6 2 10 To answer correctly this question you sh…
    • Can someone explain this code.. ¬† def sortedSquaredArray(array): ¬† ¬† ¬†sortedSquares=[0 for _ in array] ¬† ¬† ¬†for i in range(len(array)): ¬† ¬† ¬† ¬† ¬† ¬†value=array[i] ¬† ¬† ¬† ¬† ¬† ¬†sortedSq…
    • Hello please see below are homework questions I am working on for this week. Please show me how I would do these? The first one I wrote code for and it just needs to be fixed. Thank you for all your h…
    • I extremely need help with this in Python!!!! This program will requires me to make a basic parser for an input string that is somewhat like Python. Python has an older parser module and a newer ast m…
    • Please give me the py file thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 4. Write a client function Earenthesesl-Iatch that given a string containing only the characters for parentheses: braces or curly bra…
    • Python computations needed: Generate i.i.d. Sample (Y i ,X i ) n i=1 of sample size n=400 such that: Y i = 0.5 +1.5X i + U i And X i and U i are independent standard normal random variables. Regress Y…
    • { ¬† “cell_type”: “markdown”, ¬† “metadata”: {}, ¬† “source”: [ ¬† ¬†“## Part C. Program II (25%)\n”, ¬† ¬†“Write a program to help you calculate a CD (certificate of deposit) in US dollar.\n”, ¬† ¬†“…
    • import csv import sys #The password list – We start with it populated for testing purposes passwords = [[ “yahoo” , “XqffoZeo” ],[ “google” , “CoIushujSetu” ]] #The password file name to store the…
    • Can you please write the following code in python? An efficient way to find individual roots of a polynomial is to use Newton’s method. However, as we have seen, Newton’s method requires an initializa…
    • Compulsory Task Write a program that reads the data from the text file called DOB.txt and prints it out in two different sections in the format displayed below: Name A Masinga Etc. Birthdate 21 July 1…
    • Assume Arko and Riyad are two friends. Riyad is engaged in collecting funds for the upcoming fresher’s orientation party. Map the above mentioned minimax algorithm to solve the problem. Assume each of…
    • INSTRUCTION : Python Code Home Task Polar Co-ordinates are an alternative way of representing Cartesian Co-ordinates or Complex Numbers. A complex number z is represented by: z= xtyj Where x is the re…
    • Your task is to create a program that will report what the stress is for a given strain, for structural steel You will be creating a simplified model for the relationship between stress and strain, an…
    • There are three types of Machine Learning Algorithms; Supervised Learning, Unsupervised Learning, and Reinforcement Learning? Describe each one of them and provide some examples of each algorithm Queu…
    • How can you use the python turtle to draw the following picture?. O DO ceego
    • The Assignment In this assignment, you will write a program that calculates a dog’s age in human years. The program will prompt the user for an age in dog years and calculate that age in human years. …
    • Can anyone help coding this question: Stark is a 10 year old kid and he loves stars. So, he decided every day he will capture a picture of a sky. After doing this for many days he found very interesti…
    • Please, I need help to fix the error message of STEP 5 or write out the code for me to input. Thank you.
    • Describe the difference between a¬† chained conditional ¬†and a¬† nested conditional . Give your own example of each.¬† Do not copy examples from the textbook. Deeply nested conditionals can become di…
    • how to write the code to match the output. exercise_1.py def rearrange (number) : Returns an integer consisting of all nonzero digits in &quot;number&quot;, from smallest to largest. You can assume th…
    • Python Programming: Take a txt file from user and print the count of every word in the file. 1) Remove all the blank lines 2) Only count the words with alphabets 3) Remove all the special characters
    • Hi, I’m attempting to access a list from another class but am getting the following output: “AttributeError: type object ‘KeyPeg’ has no attribute ‘colours'” Now I quite clearly have a colours list in…
    • Programming using Python. Programming Exercises 1.¬† [my_formula_calculator.py] ¬†Programs can make laborious tasks much easier, and mathematical calculations are very common.¬† Formulas can be rather…
    • How do you code and graph for a 2-state HMM with the Viterbi algorithm using randomly generated data? Problem 2, HMM: Assuming a 2-state HMM with known transition matrix and known emission parameters …
    • Hello, I am having a very difficult time understanding this question and implementing it into last weeks assignment I submitted in Python here is the question below You are going to enhance the prior …
    • Intro -10 _ . O 5 , A cubic polynomial is a function ofx of the form A x3 + B x2 + C x + D, where parameters A, B, C, and D are real numbers. Consider three concrete examples: P1(X) =x3‚ÄĒx2+4x‚ÄĒ30 …
    • Matplotlib Plot a line graph that shows in the figure for the given data. The runs scored between two-wicket fall in a one-day international match between India and England is generated using randomly…
    • In this lab, you complete a partially written Python program for an airline that offers a 25% discount to passengers who are 6 years old or younger and the same discount to passengers who are 65 years…
    • Problem 1: Based on the Python regression example code, apply the polynomial feature and fit the diabetes data set. Plot your new model and compare it with the linear model Problem 2: One of the data …
    • Write a Python program for the following problem. Please use PyCharm to type and test your programs. Submit the Python files to Blackboard for credit. A sorted bag is a bag in which all elements are s…
    • The bottom rests on concrete and is not accessible. It has a height h and a radius r, A mathematical bug is sitting on the cistern at point A, and has established a coordinate system to cover the enti…
    • def main(): ¬† ¬† print(“Initiaing main function”) ¬† ¬† while 1: ¬† ¬† ¬† ¬† x = input(“What Game Would You Like To Play. Choose 1 or 2 or 3. 1: Heads or Tails or 2: Rock, Paper, Scissor or 3: quit. …
    • Please assist with executing these two problems: Problem 3-4 Execute¬†a program that prompts for your weight, gender, number of drinks, the amount of alcohol by volume of the drinks consumed, and the …
    • Emulate the stack behaviour using the list data structure. Part-a- Complete the methods of the following¬†Stack¬†class according to their description class Stack: ¬†def __init__(self): ¬†¬†“”” Initial…
    • #Design and code a structured into a Python program !!!!!!!!!!!!!!!!!!!!!!!!! # Making a Call from twilio.rest import Client account = “ACXXXXXXXXXXXXXXXXX” token = “YYYYYYYYYYYYYYYYYY” client = Clien…
    • Part I: Summary of Bokeh’s Main Components Bokeh is a python visualization library. In this part you will research the main components of Bokeh. Among the most important packages of Bokeh are: io plot…
    • Please help me! Full steps answer~ btw I don’t want the answer from other sites Thank you ¬†Q1 ¬†(1-10) ¬†. Q 1) In this question, you will use the W method to solve systems of linear equations. The P…
    • Having trouble with the following python program. I understand why y=6 doesn’t work but having trouble making it work in all cases. This is what I have so far but it does not work in the case where x&…
    • How to solve this problem?¬† ¬† https://doc-0c-9k-docs.googleusercontent.com/docs/securesc/29314ftq6u7pt6ln7iclpu1h8bbt5mek/sjpqtsa4u27toekrmvf5au7e9rlp9d94/1634266425000/06681915423969605569/06681915…
    • Need help with the code below. This is a Turtle Lab. So for the function shown (look for red arrow in pic), I need the function handle drawing the ice, adding the milk (changing tea to a lighter color…
    • How would I create a flow diagram for the following code? The program basically a loop that turns a led on and off 100 times before the program ends. Every 0.5 seconds it will turn off and after anoth…
    • Example: Overview: Consider a rectangular grid (width x height) in which it is possible, at each turn, to move from one square to another adjacent square. When KingMode=false, one can move only up, do…
    • Microsoft Word – CS 1301 – Homework 5.docx Function Name: defineTAs (15 points) Description: Define a function that accepts a tuple of tuples as the parameter. Each tuple contains information regard…
    • i need python code for this question¬† i need code which i can copy paste in my IDE …. … . … Example 3 Suppose that for every hso 4(h) is an approximation of the value of M and M = p(h) + Kjh + …
    • from Stack import Stack from sys import argv class PostfixEvaluator(): def __init__(self): self.stack = Stack() def evaluateExpression(self, expression): l = expression.split(‘ ‘) for x in l: if isOpe…
    • I’m having a problem with running the code below, it stops after getting to def. What kind of assert statement would i write to find out why its not running properly? def get_index (lst, x) : ¬† ¬† ”…
    • Participation Activity 11.724: Recursive exploration. EM You wish to generate all possible 3‚ÄĒ ShoppingBegCombinatioos letter subsets from the letters in an N‚ÄĒletter word {N36}. Which of the above…
    • I need help getting my output to list the flavors in descending order like the picture above. But mine is doing it one be one as seen in the picture with each iteration. Everything else is correct i j…
    • Answer and explanation would be great. 3. Consider a function: 1,ifn = 1 f (n) = 2. f(n – 1) + 1, ifn &gt; 1 What is f(5) ? Write the equivalent python function and confirm your answer.
    • Please dont use dictionaries or complex code¬†. 2. bestStudentAndAvg(gradebook) [15 pts] Background: for this problem, a gradebook is a multiline string where each row contains a student’s name (one w…
    • Utilize looping to make your Python script for Functionality 2 (developed in Week 2) to run constantly. Separate Functionality 1 (developed in Week 1) into the following two functionalities: Add Emplo…
    • Write a program that will ask a user to enter how many set of numbers to input. For example, if the user input 4, then the program will loop four times and ask the user to enter four numbers. The numb…
    • Multi-Period Planning ¬† The Toute de Suite Candy Company includes in its product line a number of different mixed nut products.¬† The Chalet nut mix is required to have no more than 25 percent peanut…
    • def feet_to_user(feet): ¬† ¬†# // for floor division ¬† ¬†a = feet // 2.5 ¬† ¬†# type-casting to return an integer ¬† ¬†return int(a) # main driver code # taking input from the user as a float value n…
    • . def write_elevation_maps (maps_file: TextIO, maps_list: list[list[list[int]]] ) -&gt; None : Given an open csv file &lt;maps_file&gt; and a list of maps &lt;maps_list&gt;, write the maps back into…
    • How to translate relative links to absolute urls? I want to extract all links from web using python + BeautifulSoup. Here is my coding: from bs4 import BeautifulSoup from urllib.request import urlopen…
    • I made a Python Program that displays information about the US States. I have my code written and I keep getting the following error: Traceback (most recent call last): ¬†File “/home/ec2-user/e…
    • Consider again a list of fridge temperatures that should be kept within a certain range, as described in Question 9. Write a program that prints the percentage of readings that are outside the allowed…
    • Need to convert data set into at least three graphs and come with basic Dashboard with on any data variables associated in data set Have to use data set for the analysis. use dataset from this link ht…
    • Suppose u and v both denote sets in Python. Under what condition can we guarantee that u-(v-u) == u? The sets u and v should be disjoint. The set u should be a subset of the set v The set v should be …
    • Dear instructors, I would like to ask for answers with more details please def b(z): prod=a(z,z) print(z,prod) return prod def a(x,y): x=x+1 return x*y def c(x,y,z): total=x+y+z square=b(total)**2 ret…
    • Write an expression that whose value is the fifth character of the String¬†name.
    • Conversation with an Education Chat Bot Use this starting file¬†(Links to an external site.) to begin your Project 1 assignment.¬† Learning Outcomes: Use the print() function to output a variety of da…
    • Instruction: Implement the finite difference method in one-dimensional and include the graphical output of the solution and the error. Use comments to describe the steps you are doing. Model problem: …
    • #3. Study the following code: import math c1,c2,c3 = input(“Enter the coefficients c1, c2 and c3 separated by commas: “) d = c2**2-4*c1*c3 if d &lt; 0: ¬†¬†print “Equation has no real solution” elif d…
    • Hello, I need help debugging my code for this assignment. Here’s what I have so far. class Customer : def __init__ ( self ) : self .vehicles = [] # Add this vehicle to list def add_vehicle ( self ,veh…
    • In Python Write a program that reads a list of integers, and outputs whether the list contains all even numbers, odd numbers, or neither. The input begins with an integer indicating the number of inte…
    • We got a python script which is in html format. ¬†How to execute that python script which is in html format in jupyter notebook?
    • Suppose you are given the following in-fix notation: {4*(x-1)^3/(2*3+2)^m}*2%[2*(2*y-2)^3]-5 The precedence of the operators are given below, with 1 being the highest precedence and 3 being the lowest…
    • #1 Write a function named sum_of, that takes two arguments (you can safely assume that both arguments will always be integers). When this function is called, it should print the sum of the two argu…
    • This should be the output of on the console of this code.am stucked with the backend.
    • if cmd.lower() == ‘Confirm’.lower(): ¬†¬†¬†¬†print(‘You are using x Dice’, x) Here I am trying to enter confirm in console and have it return the number that has been entered in the code below. If…
    • Write a Python Programing Code according to the following scenario: Your friend has a small accounting firm. They want a way to keep track of their client’s tax information in a small application. For…
    • . Assume that you are the lead officer in monitoring traffic violators in an expressway. You are tasked to identify the traffic violators using a system that uses speed sensors. The system returns 1…
    • Write function geometric() that takes a list of integers as input and returns True if the integers in the list form a geometric sequence. A sequence a0, a1, a2, a3, a4, . . . , an‚ąí2, an ‚ąí 1 is a…
    • What is the output of the following Python code: SIZE = 10 numbers = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0] index = 0 while index &lt; SIZE: ¬†¬†¬†numbers[index] = index * 10 ¬†¬†¬†index = index + 1 while ind…
    • . 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 t…
    • I need to check with my answer. Thank you very much program4_1.py uses a¬† for loop with the range function¬† to inspect all integers¬† from 300 down to 1 . See page¬†170-172 to learn about the range …
    • program that asks the user to enter a number n, where -6 &lt; n &lt; 2
    • Please see the attachment . Write Python code that solves the change-making problem. . The change-making problem addresses the question of Ô¨Ānding the minimum number of coins (of certain denomination…
    • QT – Loops: Division Write some code that uses a loop to find all the values from data_list that are perfectly divisible by 4. Use a for loop with a conditional to do this, and save any values from da…
    • 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,…
    • The following is an outline of the assignment: Given a prompt, the program will find the first paragraph of the corresponding Wikipedia page. The program will select N (default N=10) random words, whi…
    • Write a program that displays a heart. Use the author’s graphics packages, graphics.py. It is left up to you what the details of the finished product should look like. To make the program more fun, th…
    • Many companies use telephone numbers like 555-GET-Food so the number is easier for their customers to remember. On a standard telephone, the alphabetic letters are mapped to numbers in the following f…
      • Reads information from a text file into a list of sublists.¬† o¬†¬†Be sure to ask the user to enter the file name and end the program if the file doesn’t exist. o¬†¬†Text file format w…
    • Design a Python 3 program that prompts the user to provide the file name for a CSV file [provided]. Example: Terminal output: What is the class file name? Terminal input: CIS150-1.csv, CIS150-2.csv, e…
    • Use Simple Linear Regression analysis on Salary_Data.csv with the following algorithms: a) Importing the libraries b) Importing the dataset c) Splitting the dataset into the Training set and Test s…
    • Press Esc to exit full screen ECE 102 Analysis Homework #2 Winter 2022 Required Tasks Design and write a Python function named savings401k that meets these specifications: Accepts the employee’s salar…
    • Describe how¬† tuples ¬†can be useful with loops over¬† lists ¬†and¬† dictionaries , and give Python code examples. Create your own code examples.¬† Do not copy them from the textbook or any other sou…
    • https://ourworldindata.org/coronavirus-source-data i. Choose 15 countries from the “owid-covid-data.csv” dataset you think would be applicable to the case study, ii. Retain the most current day’s stat…
    • #queues.py class BoundedQueue: # Creates a new empty queue: def __init__(self, capacity): assert isinstance(capacity, int), (‘Error: Type error: %s’ % (type(capacity))) # throws an assertion error …
    • Using the bisection method, calculate the root of the following equation: x^3 – sen (x) – 1 = 0 Input None Output Root Value
    • Competencies In this project, you will demonstrate your mastery of the following competencies: Write scripts using syntax and conventions in accordance with industry standard best practices Develop a …
    • Write a program to remove all duplicates from a list. def createList()- allow the user to input data into the list def removeDuplicates() – function will remove duplicates def main()- call the above f…
    • (Coding) Generate 100 synthetic data points (x,y) as follows: x is uniform over (0,1)^10 and Y=i=1:10 ő£ i*x(i)+0.1*N(0,1) where N(0,1) is the standard normal distribution. Implement full gradient des…
    • Turn in 8 programs having FUNCTIONS with outputs. No output, no credit.¬† Paste the code and output from the Python compiler into one Word document.¬† Submit a single Word document.
    • Please convert the following matlab code to python code. ¬† clearvars; close all; clc; load(‘irf’) irf = IRF; % get block Toeplitz matrix h = IRF; N1 = round(size(h,3)/2)-1; M1 = size(h,2); for oo=1:N…
    • Please provide an answer to each part of the following question. You have been asked to create a DataFrame object to store this data: number one two three state Ohio O 1 2 Colorado 3 4 5 And produce t…
    • Im learning how to retrieve data from excel spreadsheets with python. What im trying to do is retrieve all data in 2010 on an excel spreadsheet that looks like below: A B C D E F 1 4/01/2010 IBM 131.1…
    • Use python to implement Binomial Probability Sums. Program should include a user-defined function that should compute Binomial Probability Sums and should plot the corresponding graph. It should consi…
    • Here is the file link for the second question: https://www.py4e.com/code3/mbox-short.txt 1. Write a program that first gets a list of integers from input. That list is followed by two more integers re…
    • Please answer the following questions in the picture AutoSave . Off H web b scraping assignment.docx – docx – Saved to this PC harsh X File Home Insert Draw Design Layout References Mailings Review Vi…
    • Make a regexp which detects legal Microsoft Word file names.¬† The file name must end with “.docx” or “.DOCx or “.doc” or “.DOC” There must be at least one character before the dot. We will assume the…
      • Program design type program, in a file called countdown.py, that includes and utilises the functions described above to simulate the letters game from the Countdown game show. The program should a…
    • Here, you are asked to predict the forest cover type (the predominant kind of tree cover) from strictly cartographic variables (i.e., geographic mapping data etc.). The actual forest cover type for a …
    • String Manipulation. Let’s start with two expressions In¬†[¬†]: s1 = ‘-‘ s2 = ‘+’ Write string expressions involving s1 and s2 and operators + and * that prints out: -+ -+- +–+– +–+–+–+–+–+–+-…
    • . Question 4 (1 point) What is the type of the previous answer? O str int list float O bool O dict. Question 2 (1 point) What is the type of the previous answer? O str int O list O float bool O dict…
      • Find a Hamiltonian circuit for the following graph. Write your answer as a list of vertices, starting and ending with the same vertex. Hint: Do not overthink this one! 8. Write a Python program whi…
    • Please explain your solution . Option 2: o The goal is to solve a particular problem of your choosing using machine learning. o Apply the off-the-shelf algorithm using your own dataset. Consider the c…
    • please help solve this code starter3 complete and correct.py #Complete and correct code 2 print (Martys Even More Marvelous Multiplier) print( ) total = 5 6 #enter the number of items to multiply toge…
    • I am trying to build an easy forecasting model with Python and would like some advice on how I can approach it. Let us say we are given one-dimensional data and would like to forecast each of the obse…
    • DESCRIPTION: 1-Assume the network graph in the picture above and use Dijkstra’s algorithm to manually find the shortest path from vertex t to all other vertices in the network. Show each step of the a…
    • http://courses.cs.purdue.edu/_media/cs17700:fall15:final-spring15.pdf Need ¬†a detailed explanation for Number 14 &amp; 15.
    • . Plot prices, quantities, and revenues In [29] : import matplotlib. pyplot as pit # Print graphs inline instead of a separate window *matplotlib inline In [30]: # (width, height) = (10, 10) in inch…
    • Printing a 2d list into a table with row and column headings as shown bellow in python.
    • Question 2¬† ¬† This question requires you to discuss about a Python solution for the company to conduct entity recognition analysis in Question 1.¬† (a) Explain the meaning of each section of the cod…
    • Write a function shampoo_instructions() with parameter num_cycles. If num_cycles is less than 1, print “Too few.”. If more than 4, print “Too many.”. Else, print “N : Lather and rinse.” num_cycles tim…
    • What is the expression that starts the interactive help feature? 3. What is the expression that terminates the Python REPL? 1. What is the function that reports the type of an expression?
    • solve Having an issue getting sweep the 5 addresses above and the 5 addresses below your PC’s IPv4 address and determine if they are up or down. Remember to use the fourth octet to vary.¬† Ping Sweep …
    • Hi, I unlocked a question expecting a step-by-step solution so I could work through it, and the solution isn’t popping up? This was the problem: https://www.coursehero.com/tutors-problems/Python-Progr…
    • Microsoft Word – CS 1301 – Homework 5.docx Python Programming Question¬† Function Name: createActors (15 points) Description: Define a function that accepts two dictionaries as parameters. The first…
    • Write a program that calculates and prints the value according to the given formula: Q = Square root of [(2 * C * D)/H] Following are the fixed values of C and H: C is 50. H is 30. D is the variable w…
    • Homework help, in python Use the OOP style to replicate the figure in PlottingVI.ipynb file. You can refer to this link https://matplotlib.org/3.2.1/tutorials/introductory/usage.html or search more br…
    • Modify the guessing-game program so that the user thinks of a number that the computer must guess. The computer must make no more than the minimum number of guesses, and it must prevent the user from …
    • 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…
    • Write an bash script to define a array of 10 number where the value can be positive, negative and zero. Find out the prime numbers from the array items and print the values.
    • I can’t figure out what i am doing wrong.. I am not looking simply for an answer but an explanation on where i am incorrectly typing code. &lt; &gt; learn.zybooks.com C + B Grades – IT-140-X3244 Intro…
    • I have to write, a program in which it allows the user to enter an R for residential customer or B for business customer, and enter the number of gallons of water that were used. and print the amount …
    • Hi, so I am doing my assignment for Python, and I got the first 3 question functions to work. However, the last four I have been stuck on for a while now, and a tutorial on how to achieve these would …
    • Could you please help with answering these python questions (list) from this link https://firas.moosvi.com/courses/2020_WT1/data531/practice/04_lists_exercise.html
    • Need help with this hacker rank code. Needs to pass all of the test cases. And also hacker rank wants the same output. Thank you.
    • Hello, I’d like some help on my Python course, been stuck on it for a while and would like a solution, I have listed at the bottom my own personal attempt and what is wrong with it. ¬† ¬† Instructions…
    • Compulsory Task 1 Follow these steps: ‚óŹ In a file called sum_recursion, create: o a function that takes a list of integers and an integer as 2 arguments. The integer will represent an index point. o…
    • Often sophisticated output reports that support the decision-making process would require data to be filtered and aggregated. While SQL provides its set of relational operators and groupby clause, Pyt…
    • The code below should output all pairs of numbers¬†(i,j)¬†such that¬†i &gt; j. However as it is currently implemented all pairs of numbers are output. Fix the code so that # Print out all pairs of num…
    • What is the output of the following few lines of code? A=[1,2,3] for a in A: ¬†print(2*a)
    • (25 pts)¬† a. Use your pseudorandom number generator from question 4 to generate a list of 1000 uniformly- distributed, random, floating-point numbers between 0 and 1 (duplicates are okay). Conside…
    • A show ticket costs $90.00with $5.00tax added to the total price. What is the output of following Python code? ¬† cost= ’90’ tax=’5′ total=cost+tax print(total) ¬† a. 95 ¬† ¬† b. ’90’+’5′ ¬† ¬† c. 905…
    • Can you help me with this error PYcharm program:¬† ¬† def main(): ¬† ¬† print(“Welcome to the feedback generator”) ¬† ¬† print() ¬† ¬† print(“Please enter multiple feedback phrases, each ending in a !…
    • from¬†random¬†import¬†randint def¬†guess_game(num_guess,¬†rand_guess):¬†¬†¬†¬†¬† ¬†¬†¬†¬†while¬†rand_guess¬†!=¬†num_guess: ¬†¬†¬†¬†¬†¬†¬†¬†if¬†num_guess¬†&lt;¬†rand_guess: ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†prin…
    • Please check picture below for more details.¬†. Step 3: Create a reduced data set by deleting any rows that have all FALSE values for every column in that row. Note: This is the reduced data set that …
    • How to create the function is_burger(breads)¬†that determines whether a stack of bread is a burger. It is only allowed to use stack operations, i.e: append( ) at end, pop( ) from end, and the size: le…
    • import unittest #¬†Part¬†2.0 def¬†substring(sub:¬†str,¬†s:¬†str¬†)¬†-&gt;¬†int: ¬†¬†¬†¬†start¬†=¬†0 ¬†¬†¬†¬†end¬†=¬†0 ¬†¬†¬†¬†while¬†start¬†&lt;¬†len(s): ¬†¬†¬†¬†¬†¬†¬†¬†if¬†s[start¬†+¬†end]¬†!=¬†sub[…
    • I have a question. I have a txt file save on my computer and I have a python program that supposed to edit the txt file to arrange the information in a table. The program runs, but when reopen the txt…
    • The current selected programming Ganguage is Python We emphasize the submission of a fully working code over partially correct but efficient code. Use of certain header files is restricted. Once submi…
    • Please provide python code for this question. Typing the question below also: # Enter codes here. # Do not change the following lines of code. print(“Total Books: “, Author.totalBooks) print(“========…
    • returns true if the centroid remains the same after recomputation; false otherwise
    • Write definitions for these functions:¬† ‚ÄĘ sphereArea(radius) Returns the surface area of a sphere having the given radius.¬† ‚ÄĘ sphereVolume (radius) Returns the volume of a sphere having the gi…
    • python code please Define a class rectangle. Write ¬†program that prompts the user to enter the width and height of a rectangle and displays the perimeter, area, and the length of diagonal.
    • Write a function called is_identity that takes a list of lists representing a matrix of integers as its only argument and returns True if it is an identity matrix, False otherwise. Identity matrices h…
    • There is a survey about how players name their characters in Overwatch. After getting the name list of all the players, we decide to analyze the pattern of naming by counting how many names in the lis…
    • Why does the following code fragment print out 129.09? x = 12 y = str(x/2 + 3) x = str(x) print(x + 2*y)
    • Task 1: Basic Calculator &lt;¬ß2.1 Conditionals; ¬ß4 Functions&gt; Implement a function calculate(x, y, operator) that takes three arguments: two integers, and one of ‘+’, ‘-‘, ‘x’, ‘/’. The function …
    • What is the 10-minute mean 100m wind speed at H√łvs√łre at 00:30 on the 1st of January 2005? Use the read_csv function from the pandas library to read in data from the H√łvs√łre dataset
    • You have a group of friends coming to visit from out of town and you want to take them out to eat at a local restaurant. You’re not sure if anyone has any dietary restrictions, but your restaurant cho…
    • Need help on these two programs. Specifically the line that contains the format function. I’m doing both programs through PyCharm if that matters.. Program 1 (50 points): Create a python program that …
    • python programming question Chapter 5: Test and debug the program Specifications Create a list of &quot;valid entries and the correct results for each set of entries. Then, make sure that the results …
    • SQLite and pandas create a class to create a class Database to create a local database table “Emission” Should include methods – add passed pandas data frame with 2 columns,¬† – sort table by the seco…
    • Try to get the running time of the code it should be expressed as big- őė as a function of the parameter n. Where we can assume that it is a nonnegative integer. Give a short justification…
    • I’m trying to convert this Pseudocode into Python code and I have done all the functions. I am a bit stuck on where I go from here. I keep getting this error code below. If someone can help walk me th…
    • https://learn.snhu.edu/content/enforced/574637-CS-340-X2140-OL-TRAD-UG.20EW2/course_documents/aac_shelter_outcomes.csv?_&amp;d2lSessionVal=uif5o3abrn785D7759aHlTY0Y&amp;ou=574637 Project One Guideline…
    • To be written only in python and take note of all the classes to be created. AND STOP COMMENTING INCOMPLETE QUESTION!! as this is the full question given Create an exception class InvalidDepthError. D…
    • (9) Manipuate the “iris” dataset as follows:¬† (a) exclude “Sepal.Length” and “Petal.Length” variables from the data set¬† (b) form a small data set using Species, Petal.Length variables¬† (c) select …
    • 18 Ch 2 Warm up: Variables, input, and type conversion (Python 3) ¬† (1) Prompt the user to input an integer between 0 and 155, a float, a character, and a string, storing each into separate variabl…
    • I need program with nested loops to draw this pattern: ******* ****** ***** **** *** ** * I need program very detailed and easy to understand for a beginner. Thanks.
    • def find_outliers(data: List[int], outlier_threshold: int) -&gt; List[int]: ¬†¬†“””Return a new List consisting of the values in data that are ¬†¬†ABOVE the outlier_threshold value, keeping the values…
    • Write function¬†sequence(n)¬†which takes any positive integer¬†n, if¬†n¬†is even, divide it by 2 to get n/2. If¬†n¬†is odd, multiply it by 3 and add 1 to obtain 3n + 1. Store the results in a list and…
    • Task 1: Create an algorithm to meet the program specs below. It must use sequence, selection and iteration constructs where appropriate. ¬† Task 2: Develop code in python ensuring you have: apply rele…
    • What would the output of the following be? #!/usr/bin/env python3 cities=[‘London’,’Paris’,’Moscow’] flag=False for city in cities: ¬† if flag: ¬† ¬† print(“City ; ” + city) ¬† else: ¬† ¬† print(flag)…
    • Take any one of the three BSTs generated ¬†and after processing the file with it, display a table of the Letter counts (not comparisons!) and their relative percentages. Your table should look like th…
    • 1)Please put it into a function as shown below. 2)Please check your code and follow the instructions as shown in the image. 3)All the codes must go inside the function A3_MatricNumber (as seen in t…
    • Hello, I need two python functions written: extractLetters and extractDigits2. ¬† 1. extractLetters: This function must accept a single string as its argument, and return a string that consists only o…
    • In Python and SQlite.¬† A program that imports customer data from a CSV file into a database table. i added all the files needed¬†as screen shots as i wasn’t sure how to add them¬†sorry.¬†¬† thank you…
    • Please answer the following python questions as best as you can :). Q2.1 3 Points The Bubble Sort and Selection Sort algorithms discussed in lecture and the textbook traverse the list in similar ways….
    • 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…
    • Create 4 functions that cover the basic mathematic operations (+,-,*,/) taking as parameters two numbers. Use the main function and test the functions within the main with two number inputs from the u…
    • Find a string with two characters which produces the same output as the null string when printed on the screen?
    • Convert following flowchart into python program. Convert the following flowchart into a Python program [ Start Read i No if i&lt;=6 Yes i=i+2 Stop print (i+1)
    • Add an if branch to complete double_pennies()’s base case. Sample output with inputs: 1 10Number of pennies after 10 days: 1024 Note: If the submitted code has an infinite loop, the system will stop r…
    • Hello the following is the work i have to complete just as a reference I am showing you this. In no way am I asking anyone to do this assignment for me. Any ways so what I have down so far is this: Pr…
    • https://en.wikipedia.org/wiki/Hasami_shogi ¬† I’m trying to make the Hasami variant of the game Shogi and am having an issue with my code. When printing out the board, it says the square occupant when…
    • must work in wing takes a dictionary and puts books in alphabetical order. Function 1: sort_books_title Use the function design recipe to develop a function named sort_books_title. The function takes …
    • Q1)¬† Following is the information release after the Indian budget is declared. Plot a donut chart for it ¬† Income Form Amount (in paise) Corporation Tax 21 Income Tax 16 Customs 4 Union Excise Dutie…
    • Below is a question that I have been staring at for about 40 minutes.¬† I understand the first steps: data_by_line = january_temp_data.split(‘/n’) january_lows = {} but I don’t understand how to conve…
    • I am trying to list the months of the year and ask if the user would like to add numbers to the months. I need to create a loop so if the user wants numbers, I need them to be added to the months if t…
    • Task 1: Partial Sums &lt;¬ß2.2.2 For-loops&gt; Implement a function partial sum(start, end, step) that takes three integers and returns the partial sum of a sequence. The function will return the sum …
    • I know thee data is not included so you cannot actually solve the question but can you write a code that would work with a csv file that has carrier, departure delay and arrival delay as the columns? …
    • you are given some students’ exam scores. The data are stored as a text file named data.txt. Each record is in the format of “name,subject,score” (items in the record are separated with comma and each…
    • . Explain how the Python program extracts the web links from the HTML code of the “Current Estimates” web link. . Explain the criteria you used to determine if a link is a locator to another HTML …
    • Could you please explain step by step how to print output of the following program manually (by hand), without use of computer. I’m now able to follow the loops and iterations.¬† ¬† class TreeNode: ¬†…
    • please answer question in picture attached [Ill/a 9 Describe (don’t coda) how you would implement duplioatoJImouertinUist: ArrayListiintl} -&gt; AmyLiBtIint], a function that takes a list of integer…
    • I am receiving an error when I select # 7 or #8 def calculate () : ¬† ¬†¬†¬† try : ¬†¬†¬†¬†¬†¬†¬† import Mylib ¬†¬†¬†¬†¬†¬†¬† lowRange = float(input( “Enter your lower range:” )) ¬†¬†¬†¬†¬†¬†¬† highRa…
    • Implement the GuessNumber game. In this game, the computer ‚ÄĘ Think of a random number in the range 0-50. (Hint: use the random module.) ‚ÄĘ Repeatedly prompt the user to guess the mystery number. ?…
    • 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…
    • Hello, please i need this help for my proyect: How do I create an average raster from 2 individual .nc files using Python donwloaded from this link ? I want the code ftp://ftp.nodc.noaa.gov/pub/data.n…
    • 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 of Bloc…
    • Q4 ## Fold the image in half (Solution) #%% pixels = copy . deepcopy (orig_pixels) for index in range (len (pixels) ) : row = index // ing_width col = index % ing_width if (col &lt; img_width//2) : pi…
      • Forward engineer a Logical ER model (3rd Normal Form) from the data. (Note that you do not need to show any workings – just the final ER model.) (12 marks) b) Consider a Python script to create and…
    • #!/bin/python3 import¬†math import¬†os import¬†random import¬†re import¬†sys # #¬†Complete¬†the¬†‘strmethod’¬†function¬†below. # #¬†The¬†function¬†accepts¬†following¬†parameters: #¬†¬†1.¬†STRING¬†para…
    • Suppose you have a list named my_list as given below. Your task is to sort the list in ascending order and print the count of numbers that have changed their positions in the process of sorting. ¬† my…
    • hi! i am working on this project but I’m lost on where to start – any help or guidance would be appreciated!¬†. Problem 1 Your first task is to read in the data and do the following: . delete rows wit…
    • Hello I have ¬†a final output here in my zip file. I just needed some changes from what my professor said. Zip file:¬† https://drive.google.com/file/d/16E-ePWZCm4hV9SGAUmonK6qSw0_yeUlD/view?usp=sharin…
    • The mutating variant will return None, and will instead modify the list that it’s given. def reverse_mut(xs): “”” signature: list(int) -&gt; NoneType Reverses the list of integers in place “”” pass ex…
    • Problem1- Create list of strings of quarters and year starting from ‘Q1 2019’ till recent quarter ‘Q4 2020’ This list should be dynamic ,means if anyone runs your program after 1 year,your list should…
    • i need some help completing this With the attached file, attempting to decrypt the individual lines of ciphertext.¬†Answering the following questions (5pts each) What were the decryption results for e…
    • You all have used the random library of python. In this assignment, you will sort a list let’s say¬† list_1 ¬†of numbers in increasing¬†order using the random library. Following are the steps to sort …
    • functions and tConsider the functions and terminology within Python and other programming languages. Define the use of these elements in Python: if statements, loops, lists, and indices. Why is syntax…
    • How would we solve question number 6. I have pasted the relevant question 4 but we have to do only question 6. Please guide and question 6 only which is a practice question. It will help me understand…
    • please help in coding the below in python Import the students list from the given Python script (i.e. data.py ¬†) data.py link: https://drive.google.com/file/d/18U9pGRpKZEVNE10Z5Z2YSmZIMHe1rRAY/view?u…
    • Here is the image of breast cancer and this is a classification problem. Use PyTorch for classification. Provide code and code summary¬† ¬† (Data available from:https://www.kaggle.com/uciml/breast-can…
    • I need help with this Python code: ¬† =================================== All my previous Python code is here:¬† ¬† # Import the required libraries import numpy as np from sklearn.linear_model import …
    • Computing summary stock-price data, now with CSV files ¬†In this part of the assignment you will utilize file-input operations to retrieve data stored in CSV files themselves. There have been given a …
    • Write a function ¬†that asks the user to Input an integer containing 0s and 1s (i.e., a “binary” integer) and display/returns its decimal equivalent. Hint: Use the modulus and division operators to pi…
    • I have an encyrypted string that I am trying to decipher. I have a string that contains characters in the order that they are most commonly used: common_string = ” .ETOIANRSHLDUCFMGPYWB.VKXJQZ” ¬† And…
    • Demonstrate array slicing.Create an arraywwith values0,0.1,0.2, . . . ,3. Write outw[:],w[:-2],w[::5],w[2:-2:6]. Convince yourself in each case that youunderstand which elements of the array that are …
    • Need assistance with below mcq’s 1 .How are lambda functions useful? Select all that apply: A) They can be useful as quick,¬† throwaway ¬†single line functions. B) Lambda functions make it easy to rea…
    • You are not supposed to use any library to solve this problem. A website requires the users to input username and password to register. Write a program to check the validity of password input by users…
    • Use the IDLE editor to write a Python program that does the following: Opens and reads a text file. Uses a loop to calculate the average of the numbers in the file. After the loop, displays the number…
    • def average ( data, event ): “””Take a list of dicts of fitness test entries and return the average for a single event Parameters: data: List[dict] — a list of dictionaries of fitness test data event…
    • The codes is needed below the line “your implementation’ ¬†. Count jumping scheme The expected input of this module is a positive integer. Assuming we want to go to a destination that needs to jump nu…
    • Write a program that will create a table of future values (FV) for a range of starting investments and a range of interest rates, assuming annual compounding of interest. ¬† FV=P√ó(1+R/100)N ¬† ¬† Whe…
    • 2 Longest Individual Challenge This is an Individual Challenge. You must work alone to solve this problem. You may not collaborate or share work with other students. Everything you need to know to …
    • Class Cats with public members varibles: Cats names and cate age are required. Using the class definition above, you are required to create five class instances
    • Statistical distance between records can be measured in several ways. Consider Euclidean distance, measured as the square root of the sum of the squared differences. For the first two records in Table…
    • Tasks You will use the yellow_tripdata_2019-01_short.csv dataset. This dataset is a modified record of the NYC Green Taxi trips and includes information about the pick-up and drop-off dates/times, pic…
    • a = ‘abd’ b = ‘12345’ s1 = ” s2 = ” s3 = ” for i in a: ¬†¬†for j in b: ¬†¬†¬†¬†if i == ‘a’: ¬†¬†¬†¬†¬†¬†s1 = j + s1 ¬†¬†¬†¬†elif i == ‘b’: ¬†¬†¬†¬†¬†¬†s2 = s2 + j ¬†¬†¬†¬†else: ¬†¬†¬†¬†¬†¬†s3 = s3 …
    • A fridge should keep food at a temperature between 0 and 5 degrees Celsius (inclusive). Assume you have a non-empty list of integer and/or floating-point numbers representing the hourly temperature re…
    • Please do a screenshot for this Python file so I can see the indentations clearly. Thank you!. Develop a crawler that collects the email addresses in the visited web pages. You can write a function em…
    • Use GIS to answer following questions: What are the key similarities and differences between the Describe() and da.Describe() functions? Explain the difference between system and catalog paths, and ho…
    • Having trouble simple Python Question! will rate thank you! x # Copy the value in x into y 6 # Change the value in x print(y) # Does it affect what’s in y? 0.11 Exercise: In your module pdf, draw the …
    • pdf Link is¬† http://web.eecs.utk.edu/~kaisun/Oscillation/2021Contest/. In the attached zip Ô¨Āle problem_4_data.zip, you’ll Ô¨Ānd four .csv Ô¨Āles and a HEADME.pd:E Ô¨Āle describing the data…
    • . Introduction to Programming $1 x f Facebook X CO chicagosouth-chancelight.agilixbuzz.com/student/175566611/activity/hqwje6d8089f145a8ae6f7a32a3c7fe3_QEDYE OT https://www.google… Odysseywar…
    • DESCRIPTION¬† Modify the constructor so that it checks if the provided numerator is an integer and raises a TypeError if it is not. Modify the constructor so that it checks if the provided denominator…
    • 3]: The Nursesj Health Study (NHS) is another very large observational study which has brought many insights into women’s health. It began in 1976 by Dr. Frank Speizer, with questionnaires that wer…
    • Please, I need help to fix the error message of STEP 5 or write out the code for me to input. Thank you.
    • Please help me answer these questions on this link – for functions ¬† https://firas.moosvi.com/courses/2020_WT1/data531/practice/07_functions_exercise.html
    • Python Def Set (): Create a set by iterating string “CUNY” and repeat each char for 3 times: P = ¬† Check whether “UUU” and “NNN” are both in set P.¬† R =
    • What is the output when following statement is executed? “a” + “bc” (1 Point) ¬† “a” “bc” “bca” “abc” ¬† 2.What is the output when following statement is executed? “abcd”[2:] (1 Point) ¬† “a” “ab” “…
    • Computer games often contain different characters or creatures. For example, you might design a game in which alien beings possess specific characteristics such as color, number of eyes, or number of …
    • p= 20000 count = 1 while count == 1: bank 1 = str(input(” Enter name of Bank 1″)) bank 2 = str(input(“Enter name of Bank 2”)) bank 3 = str(input(“Enter name of Bank 3”)) r1 = float(input(“Enter intere…
    • . 1. First, generate a vector that starts at 0 and ends at 3*pi with steps of 0.1 between elements of the vector. Then generate two vectors: make the vector y1 the cosine of x, and y2 the square roo…
    • Debug, fix all possible errors and run Program.py #Name: &lt;Put Your Name Here&gt; currentSum = 0 powerSum = 0 resistance = [16, 27, 39, 56, 81] For i in range(1,5): ¬†¬†current[i] = (eval(input(‘Ent…
    • Task 15 pt 1 Cash Register Input ¬† create a empty list purchase_amounts populate the list with user input for the price of items continue adding to list with while until “done” is entered can use whi…
    • How is a program written that request a state abbreviation as input and then displays the names and years of the justices appointed from that state? Enter a state abbreviation: NH David Scouter 1990 L…
    • please include explanations Written #1 Examine each of the following Python statements. If there is no error, write &quot;no error&quot;. If there is an error, briefly describe what is wrong, and how …
    • The Adventure Game (PYTHON) As discussed in the Introduction to the Adventure Game Project, this project is a text-based adventure game in which you will need to fulfill a number of requirements that …
    • Please let me know how will I solve this problem . working code or hints will be great for more info check this link out I am practicing some competitive problems but I have no idea on how to solve th…
    • Create a program and explain how it works PROBLEM NO. 2 Drinking Problem Description Bob has a drinking problem .. not that kind of a problem. Bob drinks Gatorade, but he likes to have several glasses…
    • Describe the difference between a¬† chained conditional ¬†and a¬† nested conditional . Give your own example of each.¬† Do not copy examples from the textbook. Deeply nested conditionals can become di…
    • program to implement one round of rock paper scissors game. Your program should represent the three moves ‘rock’, ‘paper’ and ‘scissors’ with numbers 1, 2 and 3 respectively. When the program is run, …
      • I wanted to create a database from this table called city.db ( please look at the picture attached ) using sqlite3 package in python (library). – Demo the table properties and data on the console. ?…
    • I want a solution of this example: ¬†. Assignment 3 COMP 216 /Networking for Software Developers Data Generator Most application depends on data. In IoT data is collected/generate by sensors. Since, w…
    • Design and Build a Web Blog Application: ¬† ¬† ¬† 1. Web application should be a blog having 3 posts on home page ¬† 2. Each post should be saved in the SQLite database ¬† 2. Each post should display …
    • . Assignment 3 COMP 216 /Networking for Software Developers Data Generator Most application depends on data. In loT data is collected/generate by sensors. Since, we do not have access to sensors, we…
    • Python Assignment https://drive.google.com/drive/folders/1igVyWLENfuF27tGxAJ__eisPLaHU2dVw?usp=sharing ¬† Find in the document the Assigment_Project Transversal Exercise, and the Distributed_P.txt fil…
    • i’m looking for direction on the sections that are asking for my code. The directions are stated below. I put in code and it starts to run but when I enter in a selection, I get an error on my entered…
    • I need someone to show me an example of a blackjack game in PYTHON and run it showing the output along with a description of the programming. Maybe doing it with madlib would help me understand. Not t…
    • #In the previous problem, you were given a dictionary where #the keys were names and the values were days of activity #on a class forum. You returned the name of the most active #student; or, more sim…
    • the file : https://file.io/ZLUvc0r4rOP4. 3. (25%) On Moodle, you are given a dataset (AssignmentSQBData.csv). This contains a data column of time intervals 1: and a signal y(t). Your objective is to d…
    • Assume we have the following greedy algorithm for the coin exchange problem:¬† def greedy_exchange(amount, denominations): denominations = sorted(denominations) res = [] s = 0 for i in range(len(denom…
    • Using Python ¬†. You are required to work out the annualised investment return required given a target wealth to be achieved some time in the future. For example, for a target wealth of $1,000,000 in …
    • We are trying to do a linear classifier one of the function is to select crucial sample for training. one way to do this it to check the hinge loss of a sample point by using current classifier. If th…
    • Make 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. The plotscan be made using Excel, Octa…
    • Implement a class named HeadingParser that can be used to parse an HTML document, and retrieve and print all the headings in the document. You should implement your class as a subclass of HTMLParser, …
    • PowerBI how to explain this graph? ¬†chambers grill is a restaurant
    • https://www.dropbox.com/s/dvfrj6lxjjs5v1r/owid-covid-data.csv?dl=0 –&gt;csv file https://www.dropbox.com/s/3gwe0a0bu5uoqyu/assignment1_notebook.ipynb?dl=0 –&gt;jupyter notebook. Instruction 4 Let’s …
    • I need help for python code, to estimate the velocity of a point moving in circle using it position(x, y) in space by time stepping (variation with respect to time). I think first I have to start with…
    • Create a new Python file in this folder called hash.py ‚óŹ Create a dictionary called countryMap, where the KEYS are the name of a country (i.e. a string), and the VALUE for each key is the name of th…
    • Please solve the above question and share the detailed answers
    • Can you make a flowchart of this. Generate a program flowchart that will ask a user to input a test score. The loop will continue to ask the user to input the test scores until the user decides to sto…
    • Hello, I am having a very difficult time understanding this question and implementing it into last weeks assignment I submitted in Python here is the question below ¬† 1) Need to create a class that c…
    • Python using QT Designer We are required to develop a single screen application. ‚ÄĘ To display two calendars (Today Calendar and Next Holiday Calendar). ‚ÄĘ The Today Calendar must show today’s date….
    • Write a program to check whether a string entered is a palin drome. A string is a palindrome if it reads the same forward and backwards. The words “mom, ‘dad”, “noon” for instance are palindromes. (in…
    • First, write ¬†class named Movie that has four data members: title , genre , director , and year . It should have: an init method that takes as arguments the title, genre, director, and year (in that …
    • What am I doing wrong?. You Tube Maps News Translate E mySNHU Login S ProQuest Ebook Ce… y library &gt; IT 140: Introduction to Scripting home &gt; zyBooks catalog ? Help/FAQ 14: LAB: Count input le…
    • Compulsory Task 3 Follow these steps: ‚óŹ Create a Python file called amazon.py in this folder. ‚óŹ Write code to read the content of the text file input.txt. ‚óŹ For each line in input.txt, write a n…
    • This first assignment will focus on coding in Python, applying knowledge students should already have about programming with functions and arrays or Python lists. When the assignment is complete, ther…
    • Read!! You only need to give me output which has everything, but has to work correct the code and has to show as desired output that is displayed on the picture. Thank you. Use Python.¬† Each question…
    • I know thee data is not included so you cannot actually solve the question but can you give an example of a code that would work with a csv file that has carrier, departure delay and arrival delay as …
    • I’m totally Lost on this format. Can anyone help me with this. 6.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 …
    • ABOVE IS THE STARTER CODE, PLEASE HELP! THANK YOU! ### DO NOT CHANGE CODE IN THIS BLOCK 2 import random 3 number = random. randint (1, 20) # This is a random number between 1 and 20. It will change ea…
    • PROBLEM 5 Residential and business customers are paying different rates for water usage. Residential customers pay $0.005 per gallon for the first 6000 gallons. If the usage is more than 6000 gallons…
    • I am stuck when splitting strings thanksūüôá‚Äć‚ôÄ WW .!. Safari &lt; &gt; ADD WE10:57 Q O groklearning.com Grok | 2 – Dictionaries GROK how to split a string python – Google Search nitroduction to Pr…
    • Using the logic designed for Assignment Six, create a sequential text file that contains the test data defined in assignment six.¬†Read this file into the two arrays used to create a linear search of …
    • Write a line of code that will show the first 7 records of a data frame named pets .
    • Please help implement this function. Thank you. Tools Education Terminal funcs.py X 25 Precondition: adict is dictionary mapping strings to ints Collapse ) E1: Designing Immutable Functions on Diction…
    • Write recursive (mod_rec) and an iterative (mod_it) function of the modulo operator. These functions should be able to handle both positive and negative whole numbers. You are not allowed to use eithe…
    • Given the dictionary below,¬† what is the syntax necessary to print the ‘make ‘ of the first nested dictionary in the value of the key ‘cars’, i.e., Ford should print.¬† Just include the expression to…
    • I cant figure out how to structure my function. Please help! def run_sim(lanes, capacity, block_lanes, block_time, rnd_gen) : ¬†¬†time = 0 ¬†¬†curr_wait = 0 ¬†¬†while curr_wait &gt; 0 :¬† ¬†¬†¬†¬†curr…
    • What is the difference between precondition and post condition in python? Describe them with the aid of a python function.
    • Use a dictionary: make a dictionary of your friends (key) and their birthdays (value).¬† Then make a program that allows you to: 1.¬†Look up a birthday (ask for the friend’s name and then tell them th…
    • How do I solve this problem? ¬†. Taxi Zum Zum def taxi_zum_zum{moves} : A [one taxicab cruising the street grid of the dusky Manhattan that we know and love from classic Ô¨Ālm noir works such as “W&…
    • Write a function to ¬† calculate the Gaussian ¬† f(x)=(1/(sqrt(2*ŌÄ))*exp[-1/2*((x-m)/8)^2] for arbitrary mean value m and standard deviation s as parameters. ¬† ¬† Name it as you like such that you c…
    • I am doing the tutorial of Federated Learning for Image Classification, which is supported by Google Tensorflow(Here is the source code: https://www.tensorflow.org/federated/tutorials/federated_learni…
    • I am not sure how to approach this question. Can you follow it step by step. ¬† Thank you
    • Hi Could you please explain the code in red box below? What does {:.if} means here ? Exercise 6 (report_exam_avg_test: 1 point). Let a, b, and c represent three exam scores as numerical values. Comple…
    • How can I get the below result? Tabula Smaragdina programming for your reference: strRef¬†=¬†“ABCDEFGHIJKLMNOPQRSTUVWXYZ” #Open¬†the¬†file¬†newton.txt fileMsg¬†=¬†open(“newton.txt”) #For¬†each¬†line¬†…
    • Question: Lab Assignment – General Instructions 1. The purpose of this assignment is to get some hands-on experience and gain confidence in the basics of setting up data base tables, how to query thos…
    • URGENT: What is the computational complexity (using big-oh notation) of the function below? def inferred_conditions(pos_examples, neg_examples): pos_examples_lst=[] neg_examples_lst=[] index_lst=[] in…
    • In python construct a recursive function allTxtDirs () that takes a string representing the name of a directory as a parameter and returns a list of all the directories that contain at least one text …
    • I am trying to create a gui to translate uno to one. ¬†When I run my code I get the following error. ¬†Can you help me find out what I am doing wrong? ¬† &gt;&gt;&gt; = RESTART: D:\M8A1_Lab_Excersise1…
    • the first part that is the code i came up with and part 2 i am just confused ¬† https://drive.google.com/file/d/13FUZ9yuyahhrPLLfUA0NaaMnl8VSgeet/view?usp=sharing. csci1040-Test2- (auto-E : 2) – Jup x…
    • what is expression using Boolean operators that prints “Eligible” if user_age is greater than 17 and not equal to 25. Sample output with input: 17
    • . Consider the following program: def main () : X = 4.5 y = 3.4 f1 (X, y) def fl (x, y) : X *= 2 y * = 2 main () If I want to display the new values of x and y after updating, where should I put pri…
    • solve in one program 9. Write a program that draws &quot;modular rectangles&quot; like the ones below. The user specifies the width and height of the rectangle, and the entries start at 0 and increase…
    • please Note you need to only write a pseudo code for “admin.py” second I’ve already attached the two programs “admin.py” and ”quotemaster.py” to start working on them… # Name: # Student Number: # T…
    • I have Chosen Tkinter For the Table Please Make for 5 different Tkinter Research and prepare a report that evaluates three to five open source Graphical User Interface (GUI) libraries.¬†Based on your …
    • Hi, I`m struggling to get the last job done in my code below.¬† ¬† program instructions: I have two files each containing 10000 integer values. ¬† Write a program read_numbers.py that reads the two fi…
    • I was having trouble with writing the edges out as .csv def¬†write_edges_file(self,¬†path=”edges.csv”)-&gt;None: ¬†¬†¬†¬†¬†¬†¬†¬†“”” ¬†¬†¬†¬†¬†¬†¬†¬†write¬†all¬†edges¬†out¬†as¬†.csv ¬†¬†¬†¬†¬†¬†¬†¬†:p…
    • 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…
    • In this program you will take two tables cars = [“Buick”,”Ford”,”Honda”] colors = [“Red”,”Blue”,”Black”,”White”,”Green”] aType = [“Sedan”,”SUV”,”Sports”,”Coupe”,”Truck”] ¬† and place them in a two-dim…
    • Given these functions,¬†determine the value of x. ¬† def¬†f(x)¬†: ¬† ¬† return¬†g(x)¬†+¬†math.sqrt(h(x)) ¬† def¬†g(x)¬†: ¬† ¬† return¬†2¬†*¬†h(x) ¬† def¬†h(x)¬†: ¬† ¬† return¬†x¬†**¬†2¬†+¬†k(x)¬†–¬†1 …
    • What will be the output of the following Python code? print(‘{0:.2}’.format(1/3)) a) 0.333333 b) 0.33 c) 0.333333:.2 d) Error 2. What will be the output of the following Python code? print(‘{0:.2%}…
    • Write a function called missing_letters that takes a string parameter and returns a new string with all the letters of the alphabet that are not in the argument string. The letters in the returned st…
    • How do you combine a Boolean statement so that the output is two statements if true
    • Part 1 – Normalize Text The first thing we will do is normalize our input message so that it’s easier to work with. Write a method called normalizeText which does the following: ‚ÄĘ Removes all the sp…
    • ################################################ # Lab11 Higher-Order Generators and CoRoutines # ############################################### #RQ1 def merge(s0, s1): “””Yield the elements of stric…
    • class VariableTreatment(): ¬†¬†¬†def drop_nan_col(self, df, threshold): ¬†¬†¬†¬†¬†¬†¬†“”” ¬†¬†¬†¬†¬†¬†¬†Objective: Drops columns with many missing rows. ¬†¬†¬†¬†¬†¬†¬†For example, datasets may include…
    • Hi, i just need one python program using this condition below. Thank you for your time. Uses files – open, read/write, delete to handle data.¬† Uses exception handling – try and except to catch and ha…
    • #this code was based on the given problem seen on the attached picture #THIS CODE NEEDS TO HAVE A GRAPH USING MATPLOTLIB. I NEED A HELP WITH IT. IF YOU CAN CODE SOMETHING THAT IS BETTER WITH THIS THE …
    • Hello, I’ve been trying to make this pseudocode work in python but it keeps telling me a syntax error, please help and thank you
    • Hello I need help with the following in python: ‚ÄĘWrite each card of your shuffled deck to a file named shuffledDeck.dat ‚ÄĘRead each card in a loop and display the card to the console. ‚ÄĘThe user s…
    • Question 28 (5 points) Write a program that guards against invalid input. Your program must prompt the user to enter a menu option of 1, 2, 3, or 4. The output of your program must be one statement th…
    • x, y = 3, 5 b1, b2, b3, b4 = True, False, x == 3, y &lt; 3 evaluate the following Boolean expressions: (a) b3
    • Question: Assignment Create a program that analyzes a text file and counts how many time various words are used within it. User flow The program asks a user what file to open. The program then asks th…
    • The code needs to be in Python Problem 2A: No Train Delay – Given a schedule containing arrival and departure time of trains in a station. Find minimum number of platforms needed in the station to avo…
    • right a new recursive function count-up that expects a negative argument and counts “up” from that number. Output from running the function should look something like this: &gt;&gt;&gt; count-up(-3) -…
    • Python Pycharm make improve the Cafe Management System below. The GUI should be able to accept values and calculate costs. ‘Total’, ‘Receipt’, ‘Reset’ ¬†and¬† ‘Exit’ ¬†Tabs should be fully functional….
    • Question Part C: numpy data analysis In Part B of Week 7’s lab, you used numpy to analyse the data on the sea ice extent. U se the same data set to perform some additional data analysis using numpy. Y…
    • need assistance creating pseudocode Write a program to compute and display an investment’s total interest and final value when the user inputs the original amount invested, rate of¬†interest (as a dec…
    • We’ll be useing¬†http://example.com¬†for this exercise 1. Use requests library to get the content of webpage¬†http://example.com Use BeautifulSoup to parse the page content, name it page1 Display the?…
    • Write‚ÄĆ ‚ÄĆa‚ÄĆ ‚ÄĆprogram‚ÄĆ ‚ÄĆ‚ÄĆRGBtoCMYK in Python‚ÄĆ‚ÄĆ ‚ÄĆthat‚ÄĆ ‚ÄĆconverts‚ÄĆ ‚ÄĆfrom‚ÄĆ ‚ÄĆRGB‚ÄĆ ‚ÄĆformat‚ÄĆ ‚ÄĆto‚ÄĆ ‚ÄĆCMYK‚ÄĆ ‚ÄĆformat.‚ÄĆ ‚ÄĆ Your‚ÄĆ ‚ÄĆprogram‚ÄƬ†‚ÄĆmust‚ÄĆ ‚ÄĆta…
    • I am studying math for life sciences majors and I need this answered as easily as possible. We use sagemath in cocalc Remember that Euler’s method provides an approximate solution to differ- ential eq…
    • Arko and Riyad are two friends. Riyad is engaged in collecting funds for the upcomiAssumeng fresher’s orientation party. Map the¬† minimax algorithm to solve the problem. Assume each of them gets fair…
    • Write a Python program to check the given number is an armstrong number or not. If it is an armstrong number then print “An armstrong number”. Otherwise print “Not an armstrong number”
    • For the coin flipping problem: Simulate the coin flipping process by using the Python function random()¬†in a loop that returns a pseudo-random number each time through the loop.¬†See the Python funct…
    • Request to create India credit risk(default) model, using the data provided in the spreadsheet raw-data.xlsx, and validate it on validation_data.xlsx, and use the logistic regression framework to deve…
    • Write a program whose input is two integers, and whose output is 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…
    • Please give me the py file thanks!!!!!!!!!!!!!!!!!!!!!! 3. Inheritance [based on 8.38] You Du’fUST use inheritance for this problem. A stack is a sequence container type that= like a ¬ęqueue= supports…
    • Define the following fundamental concepts ¬∑¬†¬†¬†¬†¬†¬†¬†¬†Interpreted vs. Compiled Languages ¬∑¬†¬†¬†¬†¬†¬†¬†¬†Interpretive Overhead ¬∑¬†¬†¬†¬†¬†¬†¬†¬†Scripting (Procedural) vs. Object Orientati…
    • In this question you are going to program a set of stones. In this game two players sit in front of a pile of 20 stones. They take turns, each removing between 1 and 5 stones (assuming they at least 5…
    • def exercise06(n) : # The function exercise06( ) receives an integer n. Return an ndarray filled with ones of size n x n (n rows, n columns) # – – – – – Place code below here \ \/ \/ — – – — – – – …
    • 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 …
      • .” Nya’s uncle, the chief of their village, knew of a medical clinic a few days’ walk away. He told Nya’s family that if they could take Akeer there, doctors would give her medicine to help her ge…
        • give a python code to add two given numbers. Iam new to python Programming. Please help me.
      • Problem 1: Clustering 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 pa…
      • Create a game that should look like a game someone might want to play (i.e., probably not just a lot of colored boxes).¬† This should be a Python code . ¬† It must include all of the following: User I…
      • Write a program that asks the user’s budget for a month as well as a series of expenses in that month. The program calculates the total cost and determines whether the user is in¬† Surplus ,¬† Deficit…
      • please help me to revise this code in letter A-Smile- put a happy face B-piece – add line below C-ball – no need to change it s={“S”:10,”M”:20,”L”:30} t=input(“Input type ( A – Smile, B – Piece, C – B…
      • I have added the code below please help me get the add function working in simple python code. I have added my previous code below which should help. Any help is greatly appreciated thank you! All A4 …
      • Load dataset from the internet Consider the twitter data provided in¬†https://github.com/zfz/twitter_corpus/blob/master/full-corpus.csv. Consider the twitter data provided in https://github.com/zfz/tw…
      • how do i go about this, please use for loops. 2. Implement the following function in the PyDev module functions. py and test it from a PyDev module named to2. py: def sum_odd (num) : Sums and returns …
      • Questions about python class functions. Read sections 9.5 – 9.11 of the tutorial at: https://docs.python.org/2/tutorial/classes.html. 7.1 Create a base class and at least two derived classes. Includ…
      • Question 2Quadratic Equation Solver a) Create a program to take 3 inputs from the user and use them as co-efficients to solve a quadratic equation.¬† b) Towards the end of the program, print “The solu…
      • Please generate Random vectors and matrices (using numpy) for weights and bias. (seed =289)
      • python codes. Question 13 8 pts Using a turtle, write a function, rectangle, that takes the width and height of the longest sides as parameters and draws successively smaller rectangles by turning 90?…
      • if username != False: ¬†¬†¬†¬†¬†¬† ¬†print(“Welcome back, ” + username + “!”) ¬†¬†¬† else: ¬†¬†¬†¬†¬†¬† ¬†username = get_new_username() ¬†¬†¬†¬†¬†¬† ¬†print(“We’ll remember you when you come back, ” +…
      • 4 (Class Average: Reading Student Records from a CSV File) Use the csv module to read the grades.csv file from the previous exercise. Display the data in tabular format.
      • Complete all TO DO items in the attached Assignment13Starter.py file. Complete the Python program that prompts the user to enter a password, hashes the password, and then compares the hashed password …
      • Python Please do not use break or continue in the programs Write programs as easy as possible to understand.¬† ¬† ¬† ¬† ¬†. 5. Write a program to print the number of horizontal asterisks * . User inpu…
      • convery the existing FOR LOOP into WHILE LOOP convert the existing FOR LOOP into WHILE LOOP es Google X Invention/Pre-writing – x INVENTION/PRE W bapps/blackboard/content/listContent.jsp?course_id=_78…
      • Python Problem Note this assignment uses a number of topics from earlier sessions (flow of control, functions, lists), in addition to the latest topics (files, parsing, dictionaries). You should devel…
      • In Python: ¬† Write a program in Python that prompts the user for their classification. If they are a junior or senior, prompt the user for the following: Attending post-graduate school Going to work …
      • Hello, please what will the command, command_parser and room codes be for this text based adventure game in python based on the game described in the game manual section below. I don’t need the final …
      • For this part you can choose to write a playable game of Blackjack for extra credit. In Blackjack the players is dealt a series of cards that have an associated point value. The goal is to collect a h…
      • could you help giving me explanations on this R Programming problem ? Thank you Rstudio as software ! BaseR functions only, please follow the instruction and tips . Part 1 Tips : Part 2 Tips: _ I – – …
      • Need help with this. Can be carrots, cucumbers, or any other vegetable or fruit that can be farmed. It is python. ¬† Instructions: ¬†¬†1. Create/make a Crop class, ideally in a separate file and then …
      • Please create a python¬†module named¬†homework.py¬†and implement the¬†classes and methods¬†outlined below.¬†Below you will find an explanation for each class and methods you need to implement. When yo…
      • Question: a series named heights_A with values 176.2, 158.4, 167.6, 156.2, and 161.4. These values represent heights of 5 students of class A. Label each student as s1, s2, s3, s4, and s5. another ser…
      • I have no idea what to do for parts 3-6 on my programming assignment. I was trying to follow the guidance document we were provided but have not been successful due to syntax errors. Could I please ge…
      • Think of a problem statement that may be solved using a combination of two or more of the following operations: stack operations: push(p), pop(), peek(), is_empty() queue operations: add(p), remove(),…
      • Need help with the below: 20. Simple Class DeÔ¨Āne the class Practiceclass . This class should not have a constructor, any attributes (instance variables) or methods. After you write the code to creat…
      • What the best logical way to get 3 cannibals and 3 missionaries from one side of the river to the other. Understanding that the cannibals can never outnumber the missionaries and only 2 objects on a b…
      • What are the two uses of the (+) sign? a) ___________________________________
      • Write a python program following the Object-Oriented Programming paradigm. The details are as follows: * Person class: – It has two class variables named firstname (str) and lastname (str). [1 mark] -…
      • . Q2 18 Points Write a function named classify that reads words from a text file (whose name is passed as a parameter) and classifies them according to word length. For example, given this sample in…
      • # Complete the function to remove the word WGU from the given string # ONLY if it’s not the first word and return the new string def removeWGU (mystring) : # Student code goes here # expected output: …
      • use your programming environment to develop and fully test a set of tools and Web Forms to perform the following functionality: a. Password Login form – This Python form allows a user to login to a si…
      • I am currently working on taking a string containing a linear expression of the form mx + b and returning a list containing the slope (m) and vertical intercept (b) as float values.¬†¬†I have gotten t…
      • Write an expression that executes the loop body as long as the user enters a non-negative number. Note: These activities may test code with different test values. This activity will perform three test…
      • 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…
      • i couldnt worked this code writing in idle and using command prompt Problem 2. (Normalization) Compose a function called normalize () in normalization. py that takes an array a of strictly positive fl…
      • Exercise 3: PrettyPrint following JSON data PrettyPrint following JSON data with indent level 2 and key-value separators should be (&quot;,&quot;, = &quot;) . sampleJson = {&quot;key1&quot;: &quot;val…
      • So far I have this: def main(): boysList = [] girlsList = [] try: boysFile = open(“BoyNames.txt”, “r”) girlsFile = open(“GirlNames.txt”, “r”) for Boysname in boysFile: boysList.append(Boysname.strip()…
      • (Conditionals, and Loops) How to design and implement a¬†program that prompts the user for numbers.¬† the program should continue prompting for values until the user enters -1, at which point it sho…
      • Do programmers need to develop the ability to break a large problem into a set of manageable components, each of which can focus on handling one specific task programmed as a separate function or mod…
      • I cannot get my head around this question from my recent coding assignment, kindly share the solution for this.. Design the function get num that takes as an argument an integer that represents a mini…
      • please help me with this 1. This program has multiple options. The first number entered by the user indicates the option. Note: The point of this assignment is to demonstrate you can complete the prog…
      • 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 to you. …
      • Write a parentheses checker using the¬†Stack you just implemented (code below) . You should copy and paste your code from Lab10 into the util.py file. The checker will look for three kinds of parenthe…
      • Need a python script that reads a file that has numbers and non-numeric data: The script must read the file and skip over the elements data that are non-numeric. in other words, we need the python cod…
      • Hello, I got a problem about Google Federated Learning for Image Classification(This is the officila tutorial web:https://www.tensorflow.org/federated/tutorials/federated_learning_for_image_classifica…
      • write a Python program that uses the Regular Expression “re” module to perform the following: Read the input file name “infile.txt” and get rid of duplicate characters where the duplicate character do…
      • The goal for project 3 is to extract the lat/lon for each of the 4 sample data points and use haversine to calculate the distance for each location from the original longitude and latitude of Richland…
      • 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. Documentation …
      • You are not allowed to import anything. Yes, we know about the csv module, and no, you may not use it. It’s an automatic zero for the use of import anywhere in your code. Ôā∑ You are not allowed to us…
      • What we mean by “match” In the following, we say things like “14:20:30 AM should not match.” This means that the full string 14:20:30 AM will not appear in the set of answers returned by finditer. Sub…
      • Given the following function, what input would return : [0, 2, 8, 5, 5, 5, 10, 20, 3] ? def mystery(x): result = [] for i in x: if i % 2 == 0: result.append(i) else: for j in range(i): result.append(i…
      • find all the people in a list of customers that have an “X” in their name. Use the regular expression module to determine who all in the following customers has an “X” in their name: Xander Harris, Je…
      • import pandas as pd ¬† data = [[‘tom’, 10], [‘nick’, 15], [‘juli’, 14]] df = pd.DataFrame(data, columns = [‘Name’, ‘Age’]) ¬† how to make a new column ‘new_age’ which is the return of the next person’…
      • Using python mrjob (mapreduce) How do I output all words from a xyz.txt file
      • Copy the countdown function def countdown(n): ¬†¬†¬†if n &lt;= 0: ¬†¬†¬†¬†¬†print(‘Blastoff!’) ¬†¬†¬†else: ¬†¬†¬†¬†¬†print(n) ¬†¬†¬†¬†¬†countdown(n-1) I need to new recursive function countup that …
      • Given an integer n , you need to print the following pattern:. ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬† Hint: Notice that the number 1 is surrounded by the number 2, and …
      • write the python program for document classification: Perform document classification for the Reuters Corpus: ¬† Reuters Corpus ¬†contains 10,788 news documents totaling 1.3 million words. The documen…
      • Python program to determine whether a password meets all the requirements for a secure password. Your program should prompt the user for the candi date password and output either that the password is …
      • How do I plot a normalised histogram for the data. I m not sure if I have done this right.
      • 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 the file.
      • In a minimum of three paragraphs provide your recommendation for the PyQT5 GUI library to use for the software project.¬† You will need to describe the library, its features, and why it is the best se…
      • Write a Boolean function that will check if a sentence contains any three letter words. The function should return true if the sentence has any three letter words or false if the sentence does not hav…
      • Medical imaging reconstruction: ¬† In this question, you will consider an example resembles medical imaging reconstruction in MRI. We begin with a true image image of dimension 50 √ó 50 (i.e., there a…
      • This needs a file that I dont have link. I dont know how to attach the file because it doesnt have the link. PLEASE contact me at 8482193435 to get the file if you can solve it. Please help. Thank you…
      • The Context: A high-speed train as planned for the HS2 line from London to Birmingham has a maximum acceleration of 0.76m/s2, about the same as a commuter train. While the trains can brake in an emerg…
      • Please help me 1) Write a Python script which checks whether a password is correct or not. Your code should incorporate a flow similar to the one outlined below. Ask the user for a password by printin…
      • I am working to enforce preconditions in my code. Can you help me show how to have more than one space? Right now I have the following: def before_space(s): ¬†¬†“”” ¬†¬†Returns the substring of s up t…
      • Question 2 (5 points) Programming question Assume this is the first line of your program: cities = [ &quot;van&quot;, &quot;wolfville&quot;, &quot;ottawa&quot;, &quot;TO&quot;, &quot;regina&quot;, &qu…
      • Project 2: Rock, Paper, Scissors ¬† Assignment Overview The purpose of this project is to familiarize you with the use of Boolean logic, branching statements and loops. For this assignment, you will c…
      • (+5) Given an unsorted list of n values, what is the time-complexity to find the k-th smallest value in the worst case? What would be the complexity if the list were sorted? 2. (+15) Given the foll…
      • A hospital wantsto determine whether there is any difference in the average Turn Around Time (TAT) of reports of the laboratories on their preferred list. They collected a random sample and recorded T…
      • Submit Python files only. No other format is accepted. Please develop a Python application that meets the requirements described below Write a program for a retail store that will allow them to calcul…
      • Don’t copy from chegg and course hero otherwise I will give dislike ¬†. Write a Python Program to solve the Fibonacci sequence using Recursion Function
      • Im having some difficulty with a python function and would appreciate any guidance on how I might ¬†fix where Im going wrong please. I am allowed to use and not use the following in my solution: Your …
      • Section 6.2 of your textbook describes¬† incremental development . Do the exercise at the end of that section: As an exercise, use incremental development to write a function called¬†hypotenuse¬†that …
      • 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 the number to the use…
      • please help me 6) Write a script that will perform the following jobs: a) Use dictionary data structure to store the data given in the table b) From your dataset, pick a random Car Model, calculate it…
      • . Portfolio Class Portfolio +name: String +stocks: List init_(self, name, stocks) +getName (self): String +getStock(self,s): Stock +getDividendStocks (self): Stock +getNonDivindendStocks (self): Sto…
      • Start your Jupyter Notebooks server Open Jupyter Notebooks in a browser Upload¬†( https://drive.google.com/drive/folders/1avtXtgycaUqmFZ7cxaHIsfeuQeXysMNQ?usp=sharing ) Download required files into th…
      • I am supposed to program a grocery list. This is the error I get: ” File “grocery_list.py”, line 34 item_total = 0 ^ SyntaxError: invalid syntax” This is my code: grocery_history = [] grocery_item = {…
      • Write a program which asks user to input a number (positive or negative) and then finds the sum of squares of all numbers between zero and the entered number. The result is printed on the shell . For …
      • Most Indigenous languages in Canada are considered endangered, and indigenous peoples are fighting for the survival of their language and culture. Indigenous languages are an integral part of Indigeno…
      • . Activity: The following code segment is a short program that has some lines that may raise an exception. Find these lines, and come up with 2 except clauses in a Try-Except to handle these excepti…
      • Read the information from a txt file, process it &amp; output some information regarding duplicates in the file path. ¬†The code should perform an analsis based on the size of each file &amp; output t…
        • code a Python promgram to print reverse of a number. Please help
      • Hello, I need help solving this Lab simulation, It uses Boolean operators: Combining test conditions for if-else statements and I am very new at python on so I need help solving it. It is very difficu…
      • Multiply¬†the¬†two¬†matrices¬†A¬†and¬†B,¬†assign¬†to¬†varialbe¬†C¬†and¬†display¬†C.
      • # —- Math Module — ## import math # use the math module to determine the factorial of the number 7 and print the result # expected outcome: 5040 # use the math module to determine the square root …
      • Solving this python class car problem. Please help me solve it. ¬† ¬†¬†1-¬†define a class Car that ¬†¬†¬†¬†– has a “brand”, “model” and a “year” all defined with type hints ¬†¬†¬†¬†¬†making them of st…
      • i need answer in r ¬† Load the ISLR package. ¬†View the documentation for the Carseats data set. ¬†What do the following variables represent? ¬†For each variable, state whether it is categorical or qu…
      • exam1_grade = float(input(‘Enter score on Exam 1 (out of 100):\n’)) exam2_grade = float(input(‘Enter score on Exam 2 (out of 100):\n’)) exam3_grade = float(input(‘Enter score on Exam 3 (out of 100):\n…
      • I need a python program that keeps names and email addresses in a dictionary as key-value pairs. The program should: Display a menu that lets the user: look up a person’s email address add a new name …
      • How is Multithreading achieved in Python? Please research and explain in a substantial manner.
      • def is_valid_index(idx, in_list): ¬† ¬†“”” ¬† ¬†Checks whether the provided index `idx` ¬† ¬†is a valid positive index that can retrieve ¬† ¬†an element from `in_list`. ¬† ¬†Returns False if `idx` is …
      • Hey guys , So I’m trying to compile a code that asks for an integer then which operation to use and use said math equation on the number from a range of 1 to 10. Q1 =int(input(” Enter a number 1 or gr…
      • . Help – Q&amp;A from On x project4.pdf X + /Local/Temp/Temp1_project4%20(1).zip/project4/project4.pdf 1 /5 – 110% + Project 4 (RSA Cryptosystem) Exercises Exercise 1. (Palindrome) Implement the …
      • I would like to scrape the table on https://hoopshype.com/salaries/ into a csv file using Beautiful Soup, and get the stats on the table (count ,mean, std ,min, max etc.) Based on the teams. Use panda…
      • Q1 – Working with lines The code below reads in the text of &quot;Alice in wonderland &quot; from mject Gutenberg into a variable called book as a list of lines. The first bunch of lines are just gene…
      • Please explain. I cannot get the menu options for all_in_one (or any menu selection) to function independently from the rest of the code. The def functions must stay in a lib file. #code import mylib …
      • I need help with a python command. This is the scenario. I have an excel file, with many columns of data. they are list of employees processing many invoices. The excel file has column with the name o…
      • # 1. ¬†Write a script that inputs a line of plaintext and a distance value and outputs an encrypted text using a Caesar cipher. The script should work for any printable characters. An example of the…
      • Scape content from page¬†https://www.cnet.com/topics/cameras/products/?filter=8a4b1-digital-camera-type_compact_8a4b1-digital-camera-type_dslr¬†(or you can pick any product category from the web site)…
      • NEED THIS ASAP. Final answer required only. NO programming
      • Question 12 (20 points) Write a function named inverse that takes a single parameter, a dictionary. In this dictionary each key is a student, represented by a string. The value of each key is a list …
      • . 4 Turing Machine Part 1 (20 points) Required knowledge: Loops, Strings, Conditionals. Download the q4_turing machine-part1. py Python program on MyCourses. 1/P,R. OP.L O/P.R. start B 1/P,L O…
      • ..below . Python programming in VSCode The city of Crymland is plagued by a syndicate run by Mr. Bigg. Initially, Mr. Bigg supervises 7 thieves. The thieves operate as follows: ‚ÄĘ Every week …
      • jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
      • This assignment is a continuation of the last assignment you submitted.¬† You can use your previous program as the starting point, or you can improve it with the knowledge you have accumulated (for ex…
      • what is the output? &gt;&gt;&gt; a = 2 &gt;&gt;&gt; b = 3 &gt;&gt;&gt; print ( a&gt;=b or 2*a&gt;b, ‘zoo’ &lt;= ‘apple’) ¬† a. False False b. False True c. True False d. True True ¬† I got c. I think …
      • Dots and Boxes This exercise is about the following topics: ¬† Writing two classes in the same program Using a two-dimensional list as a field of an object ¬† Initial preparations Create a new project…
      • http://prntscr.com/l5zdm6 Python homework, need help, thanks.
      • #2 Average a list # Write function that given a list of integers, discard the largest and smallest numbers and then find the average (via integer or floor division). # Have the function print that ave…
      • Need the code please 3.25 LAB: Smallest number Instructor note Note this section of your textbook contains activities that you will complete for points. To ensure your work is scored, please access th…
      • #In this problem, we’re going to explore a little of how #game AI works. We’ll do with a simple problem: building #an agent to play the popular card game Blackjack. # #Blackjack is a card game played …
      • Question 1 (1 point) Page 2: What is the result of executing the following code if the user types &quot;Python&quot;? 2 password = input(&quot;Enter password&quot;) While password != &quot;Python&quot…
      • Which type of elements are accepted by random.shuffle()?
      • Hello, my python coding experience is very limited and while the logic of what I need to code is clear to me I am struggling with writing the code in the python language. I am mainly looking for a wel…
      • Flappy Bird is a mobile game, developed by Vietnam-based developer Dong Nguyen and published by .GEARS Studios, a small, independent game developer also based in Vietnam. The game has a side-scrolling…
      • This question is from hackerrank.com. Need help with this code. The output has to be the same exact as what the question is asking for. Thank you.. ccount All Contests &gt; 1500522 &gt; 6 Find Second …
      • Write a python Program¬† ¬† Create a database named health.db. The cities.db database will have two tables named Hospital and Doctor, with the following columns: HospitalID (INTEGER PRIMARY KEY) Hospi…
      • Question 2 [25 pts]:¬∂ ¬† 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 clas…
      • The link to the data set is: ¬† https://data.humdata.org/dataset/ecdc-covid-19¬†and¬†has¬†been¬†preprocessed. ¬† As¬†you¬†go¬†through¬†this¬†notebook,¬†you¬†will¬†find¬†the¬†symbol¬†**???**¬†in¬†certa…
      • Please provide the python coding and ¬† explain the logic of each coding line. Use jupyter notebook for coding Also note you are not allowed to use PANDAS or any other library for this assignment,…
      • When someone calls 911, It is crucial to give them an ETA of when an officer will arrive. In order for our dispatchers not to have to guess, we want to write a function that given a map containing one…
      • txt: -,-,A,A,-,A -,-,-,-,-,- -,-,-,-,-,- -,-,-,-,-,- -,-,-,-,-,- E,E,E,-,-,E board2.txt: -,-,A,-,-,A,A,-,A,- -,-,-,-,-,-,-,-,-,- -,-,-,-,-,-,-,-,-,- -,-,-,-,-,-,-,-,-,- -,-,-,-,-,-,-,-,-,- -,-,…
      • Answer with explantion needed 5. To find the decimal value of 1111, that is 15, we can use the function: a) int(1111,10) b) int(‘1111’,10) c) int(1111,2) d) int(‘1111’,2) 6. What will be the output of…
      • Link to USVideo_clean.csv Data file for the question : https://drive.google.com/file/d/10v6V6hOeHGDeOesjRE0-nzVjhpXAKDZ0/view?usp=sharing Question : To find the most popular channel using the total en…
      • Need in Python &lt; &gt; learn.zybooks.com () C Facebook (6) Kasari Bhanu – Official Lyrical Video – Swoopna Suman – Arbitrary O… )) Driving costs – functions.docx eCampus: Home Content 5.20. LAB: S…
      • Function in Python which removes a set of common words from a long piece of text. Be sure to strip out any punctuation.¬†The common words to be removed are: ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†?…
      • def ssCount (w,S): Directions ¬†-ssCount(w,S) takes a substring and string -make a helper function named ssCount( w, S ) that takes in a word w and a string S (note that w is a string, too). Then, ssC…
      • Design a Python Class called “ComplexNumber” which has 2 data members (real) and (imag) which represent the real and imaginary parts of the complex number. Additionally, it has 2 functions as follows:…
      • What type results when you divide an integer by a float? A float by an integer? Explain why that resulting type makes sense (as opposed to some other type). My answer for the question 1 is both a floa…
      • Instructions Project #1 – Pseudo Code This project is worth 15 percent (15 pts) of the final course grade. The project will emphasize standard approaches that verify you have successfully mastered the…
      • From python code, describe functions and what is its purpose? and How do you use this technique in your program?
        • For the following problem, submit a flowchart and screenshots of your program code and the output of the program. Set the first score to zero. Ask the teacher if she wants to enter a score. If the …
      • Complete the following program in Python ¬† Write a Python program that will send a matrix¬†to a function.¬†In this function, you will return an average value which is the sum of all the elements d…
      • Python program to determine whether a password meets all the requirements for a secure password. Your program should prompt the user for the candidate password and output either that the password is v…
      • Write program with loop(while or for) please not (if)pleasssssssse. cast TOITOW LIC DETOW TISLEU ITISLUCLOTS. 1. Create a program that has a Loop. 2. Once your code is working, write 5 bugs or errors …
      • You work for a retail store that wants to increase sales on Tuesday and Wednesday, which are the store’s slowest sales days. On Tuesday and Wednesday, if a customer’s subtotal is $50 or greater, the s…
      • 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…
      • 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…
      • How to develop a python program that uses classes to simulate the throwing of a die. How to simply modify the code that: – defines a Die class with a method which randomly generates a roll value each …
      • Anyone good at python that reads this please help me I don’t understand what I did wrong In https://codio.com/dlopez7/loops:5c1711cbab68f03457dca422:yIR3oRiv7A6p/tree/challenges%2Ffibonacci.py Codio P…
      • 9 Debugging Breaking a large program into smaller functions creates natural checkpoints for debugging. If a function is not working, there are three possibilities to consider: ‚ÄĘ There is something…
      • Please use Python 3!. def printing (pattern, number) : for i in range (number) : print (&quot;**&quot; ) print(&quot;&quot;) def printing (number ) : for i in range (number) : for j in range(i) : p…
      • Description: Some positive integers N can be divided into smaller pieces, such that each song is comprised of consecutive digits of N, and that each song contains the same number of digits. Given an i…
      • Programming Assignment¬† 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 cr…
      • Develop a web links scraper program in Python that extracts all of the unique web links that point out to other web pages from the HTML code of the “Current Estimates” web link, https://www.census.gov…
      • My task is to define this function. I think I have the basic idea. I think I have to go through the table and take all the non-duplicate ages and year status and put them in separate lists, and after …
      • Design a Python class called Converter. The user will pass a length and a unit when declaring an object from the class‚ÄĒfor example, c = Converter(9,’inches’). The possible units are inches, feet, an…
      • Hi Guys, I want to ask a quick question for my python matplotlib.pylot. So, I have a array called rr with a shape of (5001, 7 ,1) (Which means there are 5001 vectors and each vector has 7 dimensions o…
      • This if statement should make sure that lab2d.py is using ‘2’ additional arguments. The script should have a Shebang line The script should import sys The script should print a usage message if zero a…
      • Would you help with this Python code? I think I know how to do the the list comprehension, but I’m not sure how to do b or c. Thanks for the help. ¬†. 3. Given f(:r) = V’s? + 73: + 20 + :r: (a) Use …
      • How do I write an Object-Oriented PHP script that incorporates each of the criterion listed below. contains at least one class in script Scripts contains at least one object. Script contains at lea…
      • Question 2. Consider the following events which could occur in the middle of the study period (read the above paragraph carefully Ô¨Ārst): 0. A woman (who has never had a heart attack) was pro-menopa…
      • Write a ¬†Clock¬†class that measures hours, minutes, and seconds. Include the following methods: (a)¬†init¬†,¬†str¬†,¬†repr¬†. (b)Additionallowsforbothclock-to-clockoperationsandclock-to-integeroperat…
      • how do I program to compute the area of a triangle given its three sides. using a, b, and c to denote the three sides of a triangle. The area is computed with the following equations. Area = (square r…
      • This project will make use of COVID-19 data from Johns Hopkins University. The goal is to reproduce the structure and display relatively similar output as shown in the next section and examples that f…
      • I have solved the function of distance of two pairs of points but I am lost at the second function of offices_to_merge. Task 2: Closing down a post office Assume you are an executive of a postal servi…
      • I understand how to set up RabitMQ and erlang, but I do not understand how to code this. Please help! Now, you will need two Python source files. |Dne sender [sendpjyj and one receiver (receivepv). Th…
      • Question 9: Given a = [1,2,3] and b = [1,2,3], what is the result of:¬† (a)a == b (b)a is b ¬† Question 11) Given x = [1,2,3], write the Python code to: (a) create list y such that changing x also cha…
      • . Question 20 (Advanced problem) Herka It is required to write a function to check if a robot have been instructed to move in a loop (starts and stops ul the same locution) The robot Is positioned o…
      • I need help with creating this landscape graphic on a canvas. Please do not use any break statements or global variables. I have attached the images below for further instruction and picture examples …
      • Use python to implement in real-time using pyaudio the ping-pong effect. Block diagram is given below. X1 (z) Y1 (z) a1 C1 b X2(2) Y2(z) a2 -N Z C2 + FIGURE 2.4 Flow diagram of a ping-pong delay unit.
      • I need to fix this flowchart which is made for a student average program in python. The problem in this one, the flowchart does not show the loop. I appreciate if you could help me about this. Thank y…
      • Could anyone help with this question? Assume B = 10 m, u* = 0.2 m/s, and ks = 0.002 m. Plot how the water discharge varies when / varies between 0.5 m and 2 m with increments of 0.1 m.
      • Describe how Python differs from Java. Describe how you would create a Python program that calculates the exact amount of change to give a customer in denominations of quarters, dimes, nickels, and pe…
      • Maze Introduction A n x n maze is a collection of paths among interconnected cells in a grid, where n is the number of rows and/or the number of columns. The classic maze path-finding problem tries to…
      • 0/4 for next star python&quot; You have a CSV file containing the location and population of various cities around the world. For this question you’ll be given a single city and return the total…
      • Please help with Ex.2.1 I’ve provided the figures for context
      • Can you solve the question step by step with handwriting and “PHYTON” code ? It depends Gradient descent(Deterministic and Stochastic) , LMS(least mean square) rule .
      • What are the advantages and disadvantages of solving a problem that can be broken down into repetitive tasks with recursion as opposed to a loop? Explain your answer.
      • I wrote this python program: msg = ” total = 0 count= 1 while count &lt;= 4: ¬†¬†¬†print(“Salesman” , count) ¬†¬†¬†count += 1 ¬†¬†¬†item = int(input(“Enter item number; must be between 1,2,3,4: “)) ?…
      • true or false answers. Explanation would be much appreciated as well ¬† ¬†. Question 4 What are the values of the boolean expressions? Partially correct Mark 0.33 out of 1.00 boolean sol1 = -10 = = 3 …
      • The kc_house_data dataset contains information on house sale prices in King County, Washington from May 2014 and May 2015. The columns include sale price, number of bedrooms, and square footage of …
      • https://www.cse.msu.edu/~cse231/Online/Projects/Project09/ ¬† The link has all the information for the project. Please provide explanations for all the functions. find_pokemon(dict, set) -&gt; retu…
      • How to acquire those facilites failed inspections with high risk, and MICE DROPPINGS were OBSERVED in the Violations;¬† you have to execlude violations that stated NO MICE DROPPINGS were OBSERVED ¬†…
      • DISPLAY IN SIMPLE CODE FORMATTING FOR EACH ONE WITH CLEAR ANSWER: ¬† [1] Write function that counts words in Text and Display the most frequent word. Use the following data to test your code Text=’the…
      • Ask the user if it is raining and convert their answer to lowercase so it doesn’t matter what case they type it in. If they answer “yes” or “y”, ask if it is windy. If they answer “yes” or “y” to this…
      • For this interactive assignment, you will apply all the concepts you learned in previous weeks and apply the use of sequential input and output operations to add two new functionalities to your Employ…
      • CHALLENGE ACTIVITY 8.1.1: Slice a rhyme. Assign sub_lyric with ‘cow’ by slicing rhyme_lyric from start index to end_index. Sample output from given program: COW 376628.2015284.qx3zay? 1 start_index = …
      • Given the text file ” wellstm.txt” , attached, write a program called triage.py to group the words in the text file by their last letters and count the number of words in each group. For each group of…
      • how can i fix the below error, any help will go a long way ¬† File “/Users/olayinkaolanrewaju/Downloads/Project_FINAL 3/Dijkstra.py”, line 108, in shortest_path ¬†¬†map.appendleft((start.title(), map[…
      • # Problem 2: A Crooked Die or Not? Supposed that you need to check a die to see if it was modified to make one of its faces more likely than the others. You roll the die 60 times and collect the below…
      • This is due at 10:00 tonight. My python environment has ceased and I need help with the remaining requirements. https://docs.google.com/document/d/1ivfQIGOC_UxSQf_xgwKdVEzl6Q7nPts7/edit?usp=sharing&am…
      • python programing Tree Age Counting the growth rings of a tree is a good way to tell the age of a tree. Each growth ring counts as one year. Use a Canvas widget to draw how the growth rings of a 5-yea…
      • Create a new Python program (you choose the filename) that contains a main function and another function named change_list . Refer to the SAMPLE OUTPUT after reading the following requirements. In t…
      • What is the sum of the integers from 0 to 33 by 3?¬†Find this answer using a for loop? Repeat problem (1) using numpy vectors, and the np.sum() function.¬†(no loops allowed) Find the mean of a set of …
      • def codes_to_chunks(code): ¬† ¬†s=”” ¬† ¬†for i in code: ¬† ¬† ¬† ¬†s+=i ¬† ¬†if len(s)%8!=0: ¬† ¬† ¬† ¬†for i in range(len(s)-(len(s)//8)*8): ¬† ¬† ¬† ¬† ¬† ¬†s+=”0″ ¬† ¬†bits=[] ¬† ¬†for i in range(…
      • how would i do the bisect_alg? the other helper function we used was to find the midpoint ¬† here’s what i have so far def is_increasing(x1,x2): return x1 &gt; 0 ¬† def midpoint(a,b): c = (a + b)/ 2 r…
      • Please help with step 5 and beyond ¬† https:// colab.research.google.com/drive/14EquCCliq2vfDePqb_L4uIlLcJuspTcw?usp=sharing
      • hi i am wondering how can I make my program replace values in a for loop to stop myself from using repetitive coding. i do not know how to find source code so please just copy and paste this into a pr…
      • Question 45 Write the complete display output of the following code. class RiverList: # def init (self, riverList): # input parameter is expected to be a ‘list’ self.riverList = riverList # holds item…
      • . Assume the variable ans has been assigned a string value. The following Boolean expression can be simplified to eliminate the not operator and always evaluates to the same result. not( ans == ‘a’ …
      • def exercise05(): ”’ Data set: Boston Load sklearn’s Boston data into a DataFrame (only the data and feature_name as column names) Load sklearn’s Boston target values into a separate DataFrame Return…
      • Practice problems need answer to help understand thank you¬†. Question 21 (1 point) What is the output of the following? I 1 j &quot; [2t 5′ 3] k – [6, 1, 2] j.extend(k) lentil :Jev. Question 22 (1 po…
      • I have a problem adding whitespace into my code. The code works perfectly okay! My code: user_input = input() hourly_temperature = user_input.split() for i in range(len(hourly_temperature)): ¬† ¬† ¬† …
      • Please help me add 2 buttons to the application below, add 2 buttons to modify the value in the Entry. Instructions: If this value is the displayed result, also invert the result. – a +/- button to in…
      • a function named greeting, that takes a single argument and returns no value. When this function is called, it should print “Hello, ” followed by the value of the parameter passed to it, then further …
      • . In this problem you are to write a Python program to repeatedly prompt the user for the name of a student and that student’s major. Maintain three lists of student names and their majors: (1) thos…
      • I am trying to add a validation to the 3×3 matrix sections. I need to ensure that the input follows the 3×3 integer rule. I am trying to use pandas to validate but am running into errors. Can anyone h…
      • Create a program that generates one hundred random digits, that is, the numbers 0 through 9, inclusive. Use a list with ten entries, say¬†counts, to store the counts for the number of 0’s, 1’s, 2’s, e…
      • Im confused on what its asking, ¬† Here is what the instructions are, after i post those i will attach as ¬†of my output and what it says i have “wrong” ¬† Scenario Given a word, write a function that…
      • Question 1¬†2¬†pts Accumulating and counting a set of data can be accomplished by using the loop logic structure. Group of answer choices True False ¬† Question 2¬† Loops unlike decision structures ca…
      • Hi, for the following question, I tried for many many hours but I constantly get stuck. What I tried is, 1) I made a dictionary with the keys (0&lt;=x&lt;2000 etc) with the values (initially assigned …
      • . Problem 6 (45 points) For this problem, you will implement the k-means+ + algorithm in Python. You will then use it to cluster Iris dataset from the UCI Machine Learning Repository. The data is co…
      • can you please help me understand this code process 1 import re 2 #The string to search for the regular expression occurrence (This is provided to 3 4 search_string=’ ‘ ‘This is a string to search for…
      • Write function named¬† ship_cost ¬†that takes a float package weight and returns an int shipping cost in dollars. Return¬† None ¬†if the package cannot be shipped. Write main program that gets the pac…
      • Describe what are sorting and searching, and why are they essential in a computer science field. Give two examples when sorting and searching are necessary in designing software applications. Describe…
      • This python code represents a simple implementation for a discrete event postal office. This code falls in infinite loop printing customer(0)! from heapq import * from numpy import random ### STATE ##…
      • Part 1 write a Python module It includes at least one function; function should ‚ó¶ Containadocstring ‚ó¶ Returnavalue the function created for the previous comprehension exercise, if you want. It inc…
      • The quiz is based on Python data set.¬† ¬†. Short answers Q1. Create a 1D array of numbers from o to 9 Desired output: #&gt; array( [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]) Q2. Extract all odd numbers from arr…
      • The Weisfeiler – Lehman Isomorphism Test Algorithm The Weisfeiler-Lehman lsomorphism Test Here is the algorithm for the Weisfeiler‚ÄĒLehman lsomorphism Test. It produces for each graph a canonical for…
      • . Write a function remove even_length that takes a list of strings as a parameter and that removes all of the strings of even length from the list. For example, if the list initially stores these va…
      • I am looking for help on this problem from my practice test. The question is: Using Python, write a program that computes the sum of all integers that exist within the range 545 to 1798 (inclusive on …
      • Please help me create a connect four game that implements (import) the connectfour.py module below. You will be required to build your game on top of it (and you will not be allowed to change it). The…
      • I withdraw my last question. ¬† ¬† Thanks for the help
      • What are the theorem of media cognition and information processing
      • PLEASE SHARE ALL REFERENCES, RESOUCES (ARTICLES) OR WEBSITE LINKS WITH ME by adding the end of the research!! IT’S VERY IMPORTANT. I’m searching about BIG DATA. Let’s pick one of the following industr…
      • Use the heart data set¬† for this question. Make sure to use R ¬†or R-studio for this question. You can find the data in the below link. Besides answers and steps, PLEASE also prepare the R file for R…
      • Questions 8-10 the data in World_2017.xlsx to answer Questions 8-10. In¬†[6]: # load data w =pd.read_excel( “World_2017.xlsx” ) w .head() Out[6]: countryLife LadderLog GDP per capitaHealthy life expec…
      • ACTIVITY 1.2 ¬† ¬† Now it’s your turn to describe one of your classmates. Using descriptive adjectives, write a paragraph-long description without revealing that person’s name. Use the lecture above a…
      • Hello, can anyone help me with this python assignment? I am providing the assignment link below. Feel free to ask me any questions. Thanks. Assignment link: https://wiki.cdot.senecacollege.ca/wiki/OPS…
      • E Write a Python program that opens the file &quot;data.txt&quot; je) and finds and prints all the prime numbers in the file. 7 B I WNM E PA. 10:44 7 a moodle.fraseric.ca 92 62 97 74 73 3 40 34 25 35 …
      • psudocode this for me please. ¬† Bob = {“name”: “bob”,”assignments”: [50,60,80,90],”presentations”: [40,68,67,89],”lab_tasks”: [44,55,77.78]} Charlie = {“name”: “chalie”,”assignments”: [90,80,70,85],”…
      • Complete exercise 4.26 at the end of chapter 4 in the textbook (10pts) ¬† ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†4.26 The cryptography function crypto() takes as input a string (i.e., the name of a file in the…
      • How would the could look using a while if instead def getGradePoint ( lettergrd) : if lettergrd == &quot;A&quot;: gp1 = 4.0 elif lettergrd = = &quot;B+&quot;: gp1 = 3.33 elif lettergrd = = &quot;A…
      • The ACM and IEEE computer society main page has many different publications and articles about the top IT trends or top programming¬†languages. Research the most popular programming languages used in …
      • Thepurposeofthisquestionistowriteapythonprogram(script)thatcomputesthedistancetravelledbyanobjectforaseriesoftimevaluesgiventheinitialposition,X0,theinitialvelocity,V0,andtheconstantrateofacceleration…
      • Question 4 (1 point) What is the output? def adder(x, y): print (x + y) print (adder(&quot;1&quot;,&quot;2&quot;)) 04 3 Ov+ x 12 ion 4 Unsaved
      • I don’t understand what is being asked of me nor how it would be done. a. Time to earn some points. The ball will leave your hand located at the initial point (X, yo) = (3.25, 6.75) You can control th…
      • Can you please help me in writing a program for any of the following – ¬†bank, restaurant, car rental company, bookstore, games, hotel, grocery store. ¬† Note :The Python Program MUST contain minimum …
      • Please help me, I can’t figure out what should I do next. I will send my code and please take a look because I’m out of idea and missing a lot of part. Can you read through the requirement and help me…
      • I have a csv file with information about job postings. How would I display all_data without those companies whose highest salary was lower than the overall median (median of all salaries in all_data) …
      • (4.2) Write a¬† while loop that asks the user to enter two numbers. The numbers should be added and the sum displayed. The user should be asked if he or she wishes to perform the operation again. If s…
      • 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…
      • Given an n x n x n cube containing n^3 cells, we are to place n queens in the cube so that no two queens challenge each other (so that no two queens are in the same row, column, or diagonal). Implemen…
      • Write function processAnimals ¬†that takes one argument, the name of an input file. ¬† The function returns the list of animals created or an empty list if the file didn’t contain any lines. The in…
      • CAN THIS BE DONE.. Implement the following Course ADT: Data: course: String – the unique indicator for the course, for example, C$1920 is Computer Science course 1920. num_of_seats: Integer – the tota…
      • Read file and create json data array ¬† Get Data function how do i implement a python program to read in data from the static jscon files attached below and develop the function in a way that lists…
      • Construct a python program to read the three subject’s marks secured by n students during FAT examination. If a student secured less than 50 in any subject, the student is failed in that subject. Coun…
      • Dataset Link: https://docs.google.com/spreadsheets/d/1UV6ZoB4Si7xicN2S51tA2FlA0SdSjSljLPCRF5CpXOg/edit?usp=sharing ¬† Information on column attributes: https://data.cdc.gov/NCHS/AH-Monthly-Provisional…
      • TASK 1 Write a Python script, YourFirstName_A4_Task1.py, that searches a directory for text files (files with .txt extension) and prints out to the console the list of the file names retrieved. Here a…
      • Problem Statement 3) Write Python code that will work like a simple calculator of any two numbers. First display a menu that asks the user whether s/he wants to Add, Subtract, Multiply or Divide. Then…
      • This is the assignment: ¬† We are creating a new app: table tennis with words. These are the rules: The word spoken must begin with the last letter of the previous word. If you cannot think of a word …
      • # 10 pts – This method is called by add transaction if a block is full ( i.e 10 or more* transactions )* # It is private and therefore not public accessible . It will change the block status to commi…
      • Which is the correct loop to iterate through each element of an array called names Select one: for¬†index¬†in¬†range(0, len(names)+1): for¬†index¬†in¬†range(1, len(names)): for¬†index¬†in¬†range(0, le…
      • Question: How many times do the word gas occur in text collections, grouped into genre ‘gas’? Consider reuters corpus. https://play.fresco.me/course/292/progress/topic/1424/content/9701/quiz NLP using…
      • Hello, I need help putting multiple curves into a plot. ¬†The complete codes and assignment instructions are below. ¬†Thank you. ¬† Complete Codes: import pandas as pd import seaborn as sns import mat…
      • How can I join these two separate programs so that it will have following output: Temperature anomaly filename:SacramentoTemps.csv Enter window size:60 1940,-0.2331 1941,-0.2169 1942,-0.2150 1943,-0.2…
      • I’m having trouble with this question: ¬† Convert Newton’s method for approximating square roots in Project 1 to a recursive function named newton. (Hint: The estimate of the square root should be pas…
      • Code need help with: Example of Csv File Link for Csv sample file: https://pastebin.com/BgimHNBe In [ ] : 1 #Populate the following dictionary with the required data video_and_num_of_comments = {} # W…
      • Write a function that evaluates an iterable using the Queue you just implemented (code below). The function will take an iterable object and find the kth element inside of it. It is possible that the …
      • Consider the following variable. Which of the following options shows ‘Commerce’ as the output?¬† var = {1:[{‘address’:{‘State’:’TX’,’City’: ‘Commerce’}] , 2:’Ok’} a) var[0][1][‘address’][‘City’] b) v…
      • Describe what the ¬†following functions does ¬† def foo(x, p = {2}): ¬† ¬† if x &lt;= 1: ¬† ¬† ¬† ¬† return False ¬† ¬† elif x in p: ¬† ¬† ¬† ¬† return True ¬† ¬† else: ¬† ¬† ¬† ¬† for i in range(2, x…
      • Anyone proficient in Python can explain how this Python script works? What scenario would this be useful?
      • Using the four given sets of team names in the starter code, ask the user if they would like to add a team name to the collection of¬†baseball,¬†football,¬†hockey, or¬†basketball¬†names. The sport to …
      • https://drive.google.com/file/d/1hE_W6zHJqXDCiGOgAWoGu6Rc6FfQVVpW/view?usp=sharing. In [ ]: Testing The cell below contains a main function that you can use to test your functions. Important Run the c…
      • please help me to with Python dictionary that returns a¬† list of¬†values ¬†for each¬† key . ¬† Design the dictionary so that it could be useful for something meaningful. come up with least three diff…
      • Dear Participants, Please find below¬†Advance Statistics¬†Project instructions: You have to submit 2 files :¬† Business Report :¬†In this, you need to submit all the answers to all the questions in a …
      • Need solution for the following question: ¬† For this example, please work on Fashion MNIST dataset: Learning curves has an important role in developing any machine learning algorithm. To understand t…
      • My algorithm that solves a problem has a complexity of O(N^2). It has a randomization factor that changes the execution time each time it runs and doesn’t produce the exact same answer. What kind of a…
      • You are required to design and implement a “Dice Game” program that runs a short game that uses dice.¬† The following shows a sample run if the game was simply highest roll of two dice: How many playe…
      • A program using “checksum” to determine if a credit card number is¬†¬†syntactically valid ¬† Write program that prompts the user for a credit card number and then reports whether it is a valid America…
      • Only using graphics.py I have to make a program that displays a graphic user interface (GUI) to check for a user password.¬† ¬† The program should ¬† Display a message stating its purpose Create a NEW…
      • write the numbers 10, 20, 30, 40, …, 990, 1000 to a file names “tens.txt”. One number for each line.
      • Question: Use the dataset Breast-cancer-data.csv for reducing the no. of attributes (Dimensionality Reduction) so that results are meaningful and accurate and hence, improve success rate of cancer det…
      • [Question] What changes can i make to the function deleteSelectedPlantInfo() to allow users to choose exactly what information they will like to remove? I¬†have a dictionary the below in PYTHON that i…
      • Python Programming Can someone please solve this question in python programming.¬† Classes Employee, Parttime Employee, FullTime Employee and Manager Have already been implemented.¬† ¬† Link to the pr…
      • Scenario ¬† You have two dictionaries that you need to process together. Write a Python function to combine the contents. Aim ¬† Combine two dictionaries and return a single dictionary with non-duplic…
      • There are four characters who wants to cross a long bridge . The bridge is dark, and therefore it is necessary to use a torch light when crossing the bridge. The characters just have but only one torc…
      • 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…
      • Can someone plz help me with these 2 questions : How can I do a program that converts a time from one time zone to another. The user enters the time in the usual American way, such as¬†3:48pm¬†or¬†11:…
      • Program Requirements For this class exercise, you will create an application using Python that will graphically display what is known as ASCII art in a GUI. There is no speciÔ¨Āc type of art you may c…
      • What is returned by the following code snippet? ‘Rainbow’.rjust(15)
      • # 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 from sklearn.linear_model import Lo…
      • do this worksheet:¬† https://swanlea.co.uk/wp-content/uploads/2020/03/Year-9-Computer-Science-Data-Representation-Homework-5.pdf
      • Overview Write a program that includes a function to determine how much soup can go into a can of specified dimensions Objectives . To get experience defining and using a function that has more than o…
      • I was having a hard time getting this program to save and load while preserving the data. Here is the goal: Until now, you have had to leave your team management program running on your computer indef…
      • There is a provably unbreakable cipher called a one-time pad. The way it works is you shift each character of the message by a random amount between 1 and 26 characters, wrapping around the alph…
      • Directions Using the following guidelines, create a python program.¬† ¬† 1. Create a program named printRandomNumbers that gets input from the user and then produces a list of random numbers. ¬† 2. Ad…
      • Begging for master and senior of Python programming. Please help me..¬† ¬† In this activity, you’ll complete the program below so that it determines the name of the county that had the highest voter t…
      • ¬ę Pouilleux ¬Ľ. On va l’impl√©menter maintenant avec des classes et des objets. Une carte va √™tre un objet de classe Carte. La classe Carte a deux variables de type chaine de caract√®res (valeur et …
      • . (1) Ben Askre Course Hero X * Course Hero X | * How do lhos x | @ will course he x | @ course hero F X | Arguementiv x | * Page missing x | IN Sportsnet NC x | Content x Bb Lab 12 – COM x O comp12…
      • A dateset in CSV format is given. Analyze the dataset to determine : ¬† The total number of fire department facilities in New York city
      • how do I make a csv in python? I have the code written out, but I need an output csv
      • { “cells”: [ { “cell_type”: “markdown”, “metadata”: {}, “source”: [ “## Part A. Multiple Choice (50%)\n”, “\n”, “( C ) 1. Which one is the Python comment symbol? \n”, ” (A) $ (B) // (C) # (D) %\n”, “\…
      • The question seems tricky, may I know which answer should be correct? Here is a Python program. import turtle turtle.setworldcoordinates(e, a, 280, 209) turtle.up() turtle.hideturt1e() def plot(x, y):…
      • I have tried everything… please help me with my CISC 181 Python programming assignment Unit 3.1… attached are screen shots of what I need help with. My function is not working and I don’t know how…
      • his one is not to making the program, yet. ¬† This time what i need is to work on question below lists. ¬† So all i need is a answer rather than the building program. ¬† I have multiple references to …
      • # Expected knowledge to resolve the assignment: # objected oriented programming in Python # classes # composition # Inheritance # polymorphism # 1. Implement a class named “MyClass” # This class shoul…
      • gradebook = { ¬†¬†“Alberta” : { ¬†¬†¬†¬†“Exam 1”: 77, “Exam 2”: 83, “Exam 3”: 73, “Final”: 85 ¬†¬†}, ¬†¬†“Bernard” : { ¬†¬†¬†¬†“Exam 1”: 84, “Exam 2”: 91, “Exam 3”: 98, “Final”: 95 ¬†¬†}, ¬†¬†“Cindi” …
        • Prompt the user for a title for data. Output the title. (1 pt) Ex: Enter a title for the data: Number of Novels Authored You entered: Number of Novels Authored (2) Prompt the user for the headers …
      • I’m trying to make a Pandas data frame that will extract tweets from any given twitter user with a keyword “toy” used in each of their tweets. How would I code a function that inputs a twitter usernam…
      • make a dictionary entry for each unique packet observered ¬† ¬† ¬† ¬†Unique Packets combination of SRC-IP, DST-IP, Protocol ¬† ¬† ¬† ¬†you will keep track of the count of each unique packet in the dic…
      • We will pass in a value, N. You should write a program that outputs all values from 0 up to an including N. this is what I have import sys N = int(sys.argv[1]) # Your code goes here while N&gt;…
      • Task 1 (10 points): Write a 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 f…
      • start Declarations num balance num rate num tax output “Enter a balance” input balance output “Enter a rate” input rate tax = computeTax(balance, rate) output “Tax: “, tax stop num computeTax(num amou…
      • please solve in python attached here link : https://www.researchgate.net/publication/221877908_Mathematical_modelling_and_numerical_simulations_of_actin_dynamics_in_the_eukaryotic_cell 1 link : https:…
      • he dictionary umSchools maps the names of schools at Michigan to the year they were founded. Write code that creates a dictionary called oldSchools that has the key/value pairs from umSchools that cor…
      • import math class Rectangle: ¬†¬†def __init__(self,width=2,height=1): ¬†¬†¬†¬†self.width= width ¬†¬†¬†¬†self.height= height ¬†¬†def setWidth(self,width): ¬†¬†¬†¬†return self.width = width ¬†¬†¬† ¬†¬†d…
      • Am I suppose to change this or am I just suppose to add code to it? If I have to add code I don’t know how to do it. Any help would be appreciated # This variable will be updated to be True if the gam…
      • How to get no space above/before printed text Second DOX. Enter program input (optional) Hello there Hey quit Run program Input (from above) main.py (Your program) Output (shown below) Program output …
      • Can you please help me to solve this question by using Python? Thank you!. Question 5: I15 Marks DeÔ¨Āne a function called Model_fit which accepts as its Ô¨Ārst argument a design matrix X and as its s…
      • You are given the reviews dataset. These are 194439 amazon reviews for cell phones and accessories taken from https://jmcauley.ucsd.edu/data/amazon/ ¬† Take the first 10 review texts. Perform sentence…
      • Start with the following Python code.¬†¬†¬† alphabet = “abcdefghijklmnopqrstuvwxyz”¬†¬†¬† test_dups =¬†[“zzz”,”dog”,”bookkeeper”,”subdermatoglyphic”,”subdermatoglyphics”]¬† test_miss = [“zzz”,”subderm…
      • I want to do sentiment analysis in Python and I need to use NLTK. Now I have my own vocabulary dictionary of positive.txt and negative.txt, and also comment.txt. How do I use NLTK to find out the posi…
      • Could you please help me to answer those questions In In In In In In In Python exercise Read in facebook stock data from quandl using the following codes: You need to first do: pip install quandl in a…
      • How do I input the numbers to make the code run and calculate answer?. X rectangle.py + &gt;_ Terminal + 1 width = int(input(&quot;Enter with width: &quot;) File &quot;rectangle 2 height = int(input (…
      • a)We calculated a linear regression model that connects sales values ‚Äč‚Äčto TV value by minimizing the Residual Sum of Squares (CCT) function using the ad.xlsx data in the lesson with the Gradient D…
      • Python question: In the¬†population¬†table, the¬†geo¬†column contains three-letter codes established by the¬†International Organization for Standardization¬†(ISO) in the¬†Alpha-3standard. We will begi…
      • Brinda has recently joined a company and she is working as a software engineer. She was associated with a project to work on relationships.¬†To get hold of the topic she starts writing a code where sh…
      • Question 1) Write a code that finds the elements of a sorted list that its index is equal to the item in that index. For example if the list is lst= [-2,0,2,3,6,7,9] then code has to return 2 and 3 si…
      • The National Earthquake Information Center (NEIC) determines the location and size of all significant earthquakes that occur worldwide and disseminates this information immediately to national and int…
      • Not sure why outputs are not matching the example based on my code. For some reason my output only prints 2016 with the 2012 numbers, when it should begin at 2012 with those numbers and end at 2016. Q…
      • Just need help with each task. ¬†thank you. Task 1 Write a function to prompt the user for inputs. def prompt_for_inputs () -&gt; tuple [tuple [float, . . .], float]: Returns: values: tuple [float. …..
      • URL: https://www.kaggle.com/egadharmawan/uefa-champion-league-final-all-season-19552019 Description 1 : This dataset (from the URL above) contains detailed statistics of football (soccer) teams’ parti…
      • Is the exhaustive search algorithm an exact approach or an approximate approach (as defined in the lectures)? Briefly justify your answer. [4 marks] (b) Briefly explain why is it impractical to use th…
      • Can you check my activity and add some conclusion to it? The first picture is my answer to the activity. And the second photo is the Activity procedure. Thankyou.. ACTIVITY NO. 4 Scenario 1 hat ~ [1.2…
      • create two Python files: one for the student module, and one for the main module. define the following functions in the student module. Function Specification add_course(id, c_list, r_list, m_list) Th…
      • please can somone help me with this lab. for this lab we have to use jupyter notebook. you can download all the documents that i have shared though the link, it will be easier for you. please help me …
      • How to make screan shot ofReview and React in Mobius Slip after uploaded Python program. I make picture with question. U6: Upload #7 p 341 (Review others in Mobius SLIP and screen shot of Review to Mo…
      • The previous code needs to be improved. It’s okay, but it has to be better. Your task is to make some amendments, which generate the following results: the output histogram will be sorted based on the…
      • provide a recursive python code (that runs in 10 seconds) that determines the number of hexadecimal numbers that has the same sum of digits as them ¬† For example, If inputted 0x8F, it should output 7…
      • I created an extra column in this dataset and was using classifier to fit this but it gives me this error: This is my code so far and below it i receive the error? How can i correct it? File can be ac…
        • Assign the new observation ūĚĎ•ūĚĎõūĚĎíūĚϧ = 55 to a class.
      • I am having trouble with the code below, I go to enter a date and it is not processing the leap year day. ¬† ¬† EnteredDate=input(“Enter the date(mm/dd/yyyy) : “) Month30Days=[4,6,9,11] Month31Days=[1…
      • Question: i): From the raw data below create a data frame ‘first_name’: [‘Jason’, ‘Molly’, ‘Tina’, ‘Jake’, ‘Amy’], ‘last_name’: [‘Miller’, ‘Jacobson’, “.”, ‘Milner’, ‘Cooze’], ‘age’: [42, 52, 36, 24, …
      • Need to write a python script as stated below #!/usr/bin/python import sys 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’.j…
      • Make a program to perform Kleen star over the alphabets {a, b} Create following functions. 1. Length() 2. Palindrome() 3. Reverse 4. Substring
      • Problem: A rugby team has 15 players. A bus company has big buses that can carry 48 passengers and small buses that can carry 10 passengers. Big buses cost $200.00 to hire. Small buses cost $95.00 to …
      • https://samples.openweathermap.org/data/2.5/weather?zip=21043,us&amp;appid=b6907d289e10d714a6e88b30761fae22 ¬† Write a program that read weather description, temp, pressure, humidity, sunrise¬† ¬† …
      • The year is 2400. The ride-hailing giant Suber have cracked self-driving cars and have a fleet of n of them at their disposal. All of the cars are currently on Olde st (the only street in the country,…
      • In chapter 4, you saw an example of a loop that draws an octagon. Write a program that uses the loop to draw an octagon with the word “STOP” displayed in its center. The STOP sign should be centered i…
      • . Home X – Home | Home x linked_bina x Welcome X DDD PS5-20cf3h X DD homework X QDE hw4-momn X PRE hw4-momn X PRE homework- X + X File | C:/Users/lenovo/Downloads/homework-math630-5ghuo40a%20(1)….
      • Copy the¬†countdown¬†function from Section 5.8 of your textbook. def countdown(n): ¬†¬†¬†if n &lt;= 0: ¬†¬†¬†¬†¬†print(‘Blastoff!’) ¬†¬†¬†else: ¬†¬†¬†¬†¬†print(n) ¬†¬†¬†¬†¬†countdown(n-1) Write ne…
      • Need help: Helper: performance.py: https://pastebin.com/GWkJ6T0S nearestneighbor.py: https://pastebin.com/nJSn8ut2 stopwatch.py: https://pastebin.com/NF3p9qSY goody.py: https://pastebin.com/XYWyq7qz
      • write the for loops that will print the following sequence; 0.1.2.3.4.5.6.7.8.9.10 1,2,3,4,5,6,7,8,9 0,2,4,6,8 1,3,5,7,9 20,30,40,50,60
      • By using following to download dataset: https://drive.google.com/drive/folders/1pztVrUXygjU18It_i51kIXMlsB580C75?usp=sharing. ADDENDUM: You should also include a –grade flag.¬†When this flag is invok…
      • Write python Python function to find the occurrences of the given element based on following syntax Fun in Finding(input 1, input 2, item) Where input 1 may be a list or tuple, it is passed when we …
      • ”’ The task is broken down into three sections. Section 1 – User Input Section 2 – loop through the grocery list Section 3 – provide output to the console ”’ #Task: Create the empty data structure g…
      • Probem is : Given an integer representing a 10-digit phone number, output the area code, prefix, and line number using the format (800) 555-1212 I wrote : phone_number = int(input()) area_code = phone…
      • I would like to ask that how to detect customer had churned. (Definition of Churn: Stop purchasing for three consecutive months ) The example sales data: Month Sales 1 0.0 2 0.0 3 0.0 4 5.0 5 0.0 6 2….
        • Suppose you are given a text file as in Figure 1, with a list of UK National Parks and some of the flora found there. You can assume that all rows of the file have 2 ‘words’ always separated by a …
      • Use Python to do a function to receive an artist name as input, search the dataset and return information about that artist from the database. Your function should meet the following requirements: You…
      • please create wordcloud from sppeech in python! I have a dream that one day this nation will rise up and live out the true meaning of its creed: “We hold these truths to be self-evident, that all men …
      • I have a list of video URLs in an excel file that are accessible. I want to download all the video files in a folder. Could you please help me to write a python code to download all the videos by usin…
      • Exercise Instructions (Photo 1-5) Question Version 1.1 (minor documentation edits from 1. 0; no code changes) This problem will exercise your Knowledge of pandas, SOL, Numpy, and basic Python. It has …
      • Questions¬†1. 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 li…
      • In a very simple language can you please explain Argparse module in Python. Please try to explain in a very simple Language. Thanks
      • It appears your code does not compile. Please review the syntax. def main_menu(): ¬† ¬† print(‘Welcome to David vs Goliath game’) ¬† ¬† print(‘Move Commands: go North, go South, go West, go East’) ¬† …
      • Create program using linkedlist, insertion, recursive algorithm, bubblesort.Selection Sort. if u can’t run this program using insertion just fine, just try the other programs, and explain how it works…
      • Generate a 1000 points in 2-d uniformly distributed on the rectangle [-1,1]x[0,0.5], then plot the points.
      • These data come from a Negative Binomial distribution. Write a function to compute the log-likelihood. HINT: You can let log(0) = 0 if required.
      • Trying to display all U.S. States in Alphabetical order along with the Capital, State Population, and Flower ¬† ¬†. 19 state dict = {&quot;Alabama&quot;: {&quot;Capital&quot;: &quot;Montgomery&quot;, …
      • Hey! Name a reasonable price for this one! Due by midnight on Friday 2/26 so please try to submit by 1130.
      • Consider course = {131: “Pyyhon”, 231: “Java”, 355: “Pen Testing”, 520: “Data Mining”} 14 [4pts]) The following Python statement adds a new course item. Fill in the blank to add 505 “Foundation”. c…
      • Need help with the below: 1: 2: 3: Drag the appropriate code blocks to the box below. Your code should be a for loop that iterates over an array called animals and prints each element in the array. Dr…
      • Python Help ¬† The question is about density estimation. In particular, look into Gaussian mixture models. Make a dataset (X, y) in which some of the samples xi are drawn from the normal distribution …
      • Part 1 The file name should be week51_{yourlastName}.py (Must contain running Python code) Using simple Python code (Do not use functions or menus). Create a Simple calculator that takes 2 numbers and…
      • Please help with this code. In [ ]: def delete_account(user_accounts, log_in, bank, username, password): Completely deletes the user from the online banking system. If the user exists in the user_acco…
      • Why this code would not get print out? I cannot figure out what is wrong with the code below after looking at it over and over again. The code it runs, but the data inside the csv file cannot be print…
        • Given the two lists: listOne = [3, 6, 9, 12, 15, 18, 21] listTwo = [1, 4, 7, 10, 13, 16, 19] Make third list called listThree by adding all odd-index elements from the first list and all even index…
      • Question 7 (10 points) What would be output by the following function definition and function call? def function (x, y) : A if x – 1 == y: print (x 8 2) else : print (y – 6) function (13, 12) 06 O1 11…
      • here is the link of juypter notebook https://drive.google.com/file/d/1jsCE3DFjobB8VdVedL1VlzLtGSxluuZ8/view?usp=sharing. Notes: Today, we are going to write some queries in order to create and m…
      • “World Happiness” dataset is shared for year 2015, 2016, 2017, 2018 and 2019 with this assignment. For the dataset, answer the following questions. a. Is the Happiness Scores affected by year? b. Is t…
      • The program is in python.¬† The program should receive users’ inputs (inventory status for different products) and according to the following rules it should generate outputs:¬† If the number of in-st…
      • getting error OSError: [Errno 22] and also need help on how to get label on images that say “hot dog” and “not hot dog” image helpers import requests def get_image_from_url (imgurl) : “”” Loads and re…
      • This Programming Project allows you to demonstrate your basic knowledge¬† of Object-Oriented Programming and the use of text files for input and¬† output.¬† NOTE: This is not an opportunity for you to…
      • Please solve Provide a python program for the following: Description: Trendy Gifts is a shop that sells various gift items. They want to promote their business by selling their products online. A part…
      • Why is object-oriented programming a valuable skill?
      • 22 LAB: Expression for calories burned during workout ¬† The following equation estimates the average calories burned for a person when exercising, which is based on a scientific journal article (so…
      • code in python please Write a function called no_vowels ( input_name, output_name) that reads the information from the input file (whose name is stored in input_name) and outputs only the characters t…
      • Discuss what parameters are within the context of Python functions. As part of your discussion, answer the following questions. What is the difference between a parameter and an argument? Is a paramet…
      • I just need help with this python programming I just need some example at least on how should i start this. a program that asks the user to input words, or to enter \quit” to stop. The user input shou…
      • Using Python you are asked to make an interpreter which uses the top-down recursive-descent method and inherited/synthesized attributes to parse and evaluate a very simple programming language. The…
      • Discuss the three types of control structures. Describe how any one of these control structures impacts your program flow. Do any of these structures have to follow a specific order?
      • I need a flow chart Diagram for the following Python idle please. ¬† ¬†. # Print initials into list form def fullname (str1) : # spliting string into list form Ist = str1. split() newspace = # travers…
      • I am not allowed to use sum, min, or max; since we have not learned these yet. ¬†We are focusing on just loops (while loops) Create a Python function called sumOfOdds which takes one argument, an inte…
      • Next, copy in your strip_punctuation function and define a function called¬†get_pos¬†which takes one parameter, a string which represents one or more sentences, and calculates how many words in the st…
      • To exhibit consummation of this task, Produce the accompanying diagrams. What are the qualities and shortcomings of each diagram? Visual chart of conjugal. Visual chart of conjugal, with overlay of re…
      • Need help with this code! “Just as have binary numbers (base 2) which can contain only 0s and 1s we can also have base 3 numbers. These numbers can only contain 0s 1s and 2s. Given a number n by the u…
      • NEED HELP FIXING THESE TWO FUNCTIONS: ¬† from typing import List, Set, Dict, Tuple, Optional, Text from operator import itemgetter import spacy nlp = spacy.load(‘en_core_web_sm’) ¬† def pos_frequency(…
      • Capture network traffic using Python code that captures activity your current computer network and displays the output in non-human readable form
      • you can use if statement and for loop but do not use lists…Thank you!
      • How to solve this problem?. siwei@siwei-VirtualBox: ~/Desktop/opencv Tutorial$ /usr/bin/python &quot;/home/siwei/Desktop/opencv Tutorial/test00_hello.py&quot; home / catkin_ws / src / turtlebot3…
      • The fourth assignment involves writing a Python program to compute the average quiz grade for a group of five students. Your program should include a list of five names. Using a¬†for¬†loop, it should …
      • Please try in Python. You can use the given lines in the question, to load the required dataset. Problem 5. Extra Credit Load the Labeled Faces in the Wild dataset from sklearn. You can load this data…
      • Hello, I’m having a lot of trouble doing this assignment, can you please help me.¬† Thank you.¬†. 3. You need to ask input from the user to enter the name of the task (For example, Task A) Ask the use…
      • . X Extensions x P CS 110 | Class Profile | Piazza X or project2.pdf X C Get Homework Help With Chege x + File | C:/Users/menhe/AppData/Local/Temp/Temp1_project2%20(2).zip/project2/project2.pdf Proj…
      • The goal of __________ is to find all the errors in a program. A) editing B) testing C) debugging D) interpreting
      • Download the accompanying employees.txt file from your course Web site and add it ¬†to the same program directory you have for this lab’s Python source file.¬† ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†You will notice th…
      • Need help with the code &lt;&gt; ___ RAM + Code + Text v Problem 4 Okay, so far this has been pretty easy. Let’s play around a bit We’ve learned about strings and functions we have to manipulate them….
      • Write the python code for the following: Task: ¬†Apply PCA ¬†and ¬†K-Means ¬†on ¬†Face ¬†Dataset. ¬† The ¬†classic ¬†Olivetti ¬†faces ¬†dataset ¬†contains ¬†400 grayscale ¬†64 √ó 64-pixel ¬†images ¬†o…
      • How can I get this done? I import math and then define by def my_sqrt(a): but I can’t figure out anything after the break. Every time I try to work this exercise I get an error/blank after I run the c…
      • Code should be written with Python3 (please include comments and doc strings) ****Please create a TEXT FILE first (on top) and then use it for the the questions below ***** A class should be written t…
      • Use python to make 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 o…
      • please use screenshot as your answer.. Fetch weather data for Toronto using the following code import W import m from W import EQWQQLDQL em = W (coordinates = 43.6532, 779.3832)) WWO WWO) Continue thi…
      • py class BoundedQueue:¬† ¬† ¬†# Creates a new empty queue: ¬† ¬†def __init__(self, capacity):¬† ¬† ¬† ¬† ¬†assert isinstance(capacity, int), (‘Error: Type error: %s’ % (type(capacity))) # th…
      • In this lab, you will try and crack a security system that has secret PIN (Personal Identification Number). The PIN changes each time you run the program as it is simulating you are trying to crack so…
      • a program that takes input from the user until he/she enters ‘q’ and saves all the entries in a list. print the list at the end. this is what I have so far I’m not sure what about the middle portion. …
      • Simulation of the ‘time to capture’ problem using a 1-D discrete random walk process. a. Develop a Python script that calculates the time it takes for a particle released a position x = 0 to reach a p…
      • Question 8 (2 points) Write the code to print out the dictionary you created from q6. Display it in the format of key : value’ Use a for loop.
      • om Write a program that draws four squares in the center of the screen, as shown in the figure below
      • this exercise assumes you have completed programming exercise 7, random number file writer. write another program that reads the random numbers from the file, displays the numbers, then displays the f…
      • can you help me with a sample program that Uses exception handling – try and except to catch and handle exceptions. Value, data Type, Zero Division, Syntax Error, Runtime Exception and others.¬†thank …
      • simulate course grade Assignment1= 98 assignment2= 100 Assignment3 = 99 Assignment4= 55 Assignmrnt5= 90 Assignment6 = 97 Assignment7 =88 Assignment8=90 Assignment9=100 Assignment10 = 100 Project1 = 89…
      • points ) # Write a program to do the following: ## Add any 10 numbers to a list using the append( ) method. ## Display the lowest number in the list. ## Display the highest number in the list. ## Disp…
      • Step 4: Update centroids Implement the following function in kmeans.py: def mean_of_points(list_of_points): ¬† ¬†“””Calculate the mean of a given group of data points. You should NOT ¬† ¬†hard-code th…
      • Please use the data file and the _toFill file to build a Logistic model inside the file. Don’t forget to use WOE file to check for IV and WOE. Please upload the filled code and .xlsx file with 5 rows …
      • far below is the code I wrote and I’m having trouble and I am not catching my errorer if there is one. ¬†When I run it just pops a white screen and when I X out it says do you want to kill the progra …
      • please can you help The following Python program simulates rolling a six-sided dice 1000 times. The total number of times even and odd numbers come up for each roll of the dice are counted. However, t…
      • It has to be done in Microsoft excel.. Project : Toll Booth The Maine State Thruway Authority is planning a new entrance/exit and is thinking about the number of tollbooths to construct. Extensive thr…
      • . Question 6 0 / 3 points The following table shows the arrival and required times of a set of processes Process Arrival Required ID Time Time P1 O P2 P3 Given that the Waiting Time = Process Comple…
      • use python language ¬† Write code to find the three largest elements from a list of integers supplied by the users. Display the initial list. Then display the updated list. Terminate the program.
      • Building a simple database program using Python and SQLite for a simple Employee system . Build this around an existing or fictitious company or theme. You are welcome to use Pandas for some of the fu…
      • Exercise 6-3 ¬†run a program that runs¬†a Magic 8 Ball game that prompts for a question and then displays either “Yes,” “No,” “Maybe,” or “Ask again later.” ¬†Example Output What’s your question? Will…
      • Matrix calculation iteratively. ¬† I am new to matrix. ¬†While I can get the r1 = (1/4, 1/8, 3/8, 1/4), i dont know how to get r2 onward, ¬†Please show me the calculation. ¬†. System of Linear Equatio…
      • I need help with this class. Can you not import anything because I don’t l know how to import yet and I wouldn’t be able to understand the code.
      • Creates 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 nee…
      • Please write code in Python Problem 3 For this problem, you will write a program to play the card game Blackjack. In Blackjack each player is dealt a series of cards that have an associated point valu…
      • write an program that generates list that consists of 10,000 lists that have: First element is list number (i.e., 0, 1, 2, …) Then, there are 10,000 random numbers in [0,10] range The last element i…
      • how would this python code and flow chart look like Create a PowerPoint that contains a FLOWCHART and a PSEUDOCODE for each problem (You may use a different application if PowerPoint is not available)…
      • Hi! I’m not sure what to ¬†do after copying and pasting the code above. It says that I need to modify it but I’m not sure how to. Thanks!¬†. Problem 1: Read file features and text from a . txt file…
      • After a long day of class, Billy decides to go to Dirty Birds for dinner. Today’s menu has Billy’s four favorite foods: wings, pizza, fries, and mozzarella sticks. However, each dish has a 25% chance …
      • Please use Python to complete the question A tutorial and a few exercises are included in the notebook file named hw2-p1.ipynb. Your task is to review the tutorial and complete the exercises.¬† Please…
      • Hand Trace sequence for: inp = int(input(“Please enter a number from 1 to 20: “)) print(inp) if inp &lt;=19: print(“raspberry”) else: print(“apricot”)
      • Write a program that asks the user to enter 3 sides lengths of a triangle and then displays the area of that triangle rounded to 2 decimal spots. You can use the Heron’s formula to calculate the area….
      • Write a function besties_coverage() that computes the &quot;coverage&quot; of nodes within a social network that are connected via predefined relationships to a given list of individuals, i.e. the pro…
      • 1 12 123 1234 12345 Write code in python to get this output.
      • . 28.9 LAB: Multiple regression 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, square foot…
      • 10¬†LAB: Sorting TV Shows (dictionaries and lists) write 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 contai…
      • Task 1 1. Give at least three examples of each of the following types of data: Data Type Example 1 Example 2 Example 3 Integer ¬† ¬† ¬† Boolean ¬† ¬† ¬† Float ¬† ¬† ¬† String ¬† ¬† ¬† List ¬† ¬† ¬† Tu…
        • 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…
      • I have been playing around with this code. it is a python guessing number. It is supposed ot be simple script since we have only covered upto while loops. Here is what I have but seems to not wokr imp…
      • Question 27 (5 points) Write a function that calculates the factorial of an integer n, where n &gt; = 1. A factorial is calculated by taking the product of all positive integers less than or equal to …
      • Think about the different characteristics of playing cards: rank (A-K), suit (Spades, Clubs, Hearts, Diamonds), color (Red, Black). Choose enough defining characteristics of the playing cards so that …
      • Threading You have a SQLite (local) Database with an existing table. Create 6 threaded agents for the Global Radiative Forcing annual values.¬† These agents extract the yearly data one at a time over …
      • python ¬† Important: Your code for this part should go in buffer.py. Your job in this part is to implement the current and pop_first methods of the Buffer class. current should return the current toke…
      • Hello, Can someone help me make a python code according to this assignment? I am having a bit of trouble. ¬† ASSIGNMENT INSTRUCTIONS: ¬† For this exercise, you will read the¬† example.csv file ¬†¬†Dow…
      • USE PYTHON Information from baby2014.txt is below: [ ‘Emma’ , ‘F’ , ‘20799’ ] [ ‘Olivia’ , ‘F’ , ‘19674’ ] [ ‘Sophia’ , ‘F’ , ‘18490’ ] [ ‘Isabella’ , ‘F’ , ‘16950’ ] [ ‘Ava’ , ‘F’ , ‘15586’ ] [ ‘Mia’…
      • Python Programming I am suppose to program a function “removeDuplicate” that given a list removes and returns any repeated items from a list so that each item appears at most once. – For instance, the…
      • 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…
      • Please assist with the following questions regarding Python 2 program 2. Lists in Python are mutable, i.e., they can be changed by assigning individual elements or slices new values. For the following…
      • Creating a playing interactive game Take the input of name and age from the user. If he or she is less than 20 years old, tell him/her that “this question will be the best for a teenager”. Else, say “…
      • http://blog.csdn.net/garfielder007/article/details/50597105 Hope you can give me correct answers of those questions in the url above.
      • Define a function read_poy_data with three parameters: file, start_year, and end_year that accomplishes the following, using pandas functions/methods: uses pandas to read the file in filters to only i…
      • . Task 1 [13 marks] 1) Ask the user for 3 numbers (3 marks) 2) Using a loop, a) Start from either the first or second number (2 marks) b) End at either the first or second number (inclusive) (2 mark…
      • For this assignment, assume that we will reach the minimum of the cost function within a fixed number of steps, with the number of iterations being 10^5 .¬† Algorithm 1 (vectorized): ¬†Step 1. Choos…
      • How do i use the functions, getAIshape(), getPlayerShape(), and judgement() in a rock-papers-scissors program ?
      • A short Python program that opens a file, name given by the variable¬†myFile, and appends three lines to the file.¬†The¬†first line will be a blank line, the¬†next two lines should look like the follo…
      • Write an¬†expression¬†that evaluates to¬†True¬†if the¬†str¬†associated with¬†s1¬†is¬†greater¬†than the¬†str¬†associated with¬†s2.
      • I have the following code what checks if any two numbers in a list equal the other item given, and returns the index of that value. I am having a hard time understanding time complexities and was if s…
      • if i have three devices which are a,b,c and device a and c are connected to b. how will i calculate the shortest distance from device a to b and device c to b compared to distance directly from a to c
      • Please sir/ma’am solve this problem with Python code asap. Explanation isn’t mandatory. I will be forever grateful to you. Thanks in advance. ¬† ¬† ¬† ¬†. Write a function named checkInterval(cir_arr,…
      • 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 will …
      • Hello, I can’t figure out python coding for flatten. ¬† Here is the detail: ¬† Convolutional neural networks are better at image processing than fully connected neural networks (dense networks). We wi…
      • program in python that will read a FASTA file containing multiple sequences and output (do not worry about the file). ** I need help with what to put with the parts marked with # TODO:. import sys # T…
      • age 2 of 10 Question 2 (10 points) What will the following code print? if num = 3 e 2: if (num&gt;=0 ) : print (num) else: 3: print(-1 * num) an indication if num is negative 4: the absolute value of …
      • . Allturtle Functions This Ô¨Āle, when run, draws a spiral and a collection of circles. Yourjob is to 1. Write draw_spiral_recursive based on the while loop version in draw_spiral. In that code, a t…
      • we have to write two programs in this solution 1. ) A program to count and print the number of occurences of all combinations in two dice roll 2. ) A program to count the number of alphabets in a give…
      • Question 11 Implement a function I; cord 5, which takes a function, a sequence, and an upper and lower bound on output of the function. coo rd 5 then returns a list of X, y coordinate pairs (lists) s…
      • . Consider a simple endowment economy with four agents and two goods. Agent i is initially endowed with eij units of good j and maximizes the following utility function: 2 Ui(2) = [10; (1) j=1 subje…
      • I can’t figure out why my code is not working correctly. The code will not continue to move between rooms. ¬† print(“Welcome Solider, We need your HELP!!!”) print(“”) rooms = {‘Living Room’: {‘East’: …
      • Define a class SavingAccount (accNo, name, balance). The class should have withdraw(), deposit () and viewBalance() methods. The minimum balance for the account must be AED 500, your program should ra…
      • There are 5 error in this python program below…Can you help me figure out what they are? ¬† This file will ask the user for a range and find all of the odd numbers in it. It will then ask the user f…
      • According to the above explanation of challenge5ÔľĆcomplete the last challenge question.. infile = open(&quot;Data/raven.txt&quot;, &quot;r&quot;) content str = infile.readO.lowerO words_Ist = content…
      • I am trying to find the highest number in a list. below is my code: I have a user entering in three numbers and I am trying to loop through the list to identify the highest value input by the user. As…
      • The function sequence(n) computes an element in the sequence xn=n2+1xn=n2+1¬† ¬† Below we have declared a function called average_calculator(n1, n2, n3, n4, n5). This function receives five parameters…
      • Please use python and “if” statements to solve. Output is below as well as all information.
      • i need python code for this question¬† i need ¬†pythoncode which i can copy paste in my IDE ¬† this is question ¬† ¬† below is the answer of above question ¬† ¬† …. ………….,,,//. Example 2. Us…
      • Hi guys – the goal of my assignment is to create a Python program that does: (1) object filtering; (2) make images greyscale; (3) make negatives of red/green/blue. User can choose which effects they c…
      • a program that manages course enrollment in an educational institution. The course management should allow for¬†printing¬†of the course information, the¬†addition of new students, dropping¬†out accord…
      • For all the questions in this part, you may assume the following import: import numpy as np These question ask you to demonstrate specific NumPy knowledge. You may only use NumPy arrays, operations…
      • A function that receives string and returns a list of all sorted words in the string. ¬†Also some code in the main program to test the function. ¬† def obtainSortedList(s):
      • PYTHON PROGRAMMING QUESTION¬† Please someone write a PYTHON SCRIPT for this question. I also need a PSEUDO CODE of the script as well and please add COMMENTS so that I can understand the program.¬† ¬†…
      • # 5 pts – This method should loop through all committed and uncommitted blocks and display all transactions in them def display_chain(self): pass # This method accepts a new transaction and adds it t…
      • # 1..Define a function¬†drawCircle. This function should expect a¬†Turtle¬†object, the coordinates of the circle’s center point, and the circle’s radius as arguments. The function should draw the spec…
      • python help: ¬†. G https:/feesu blackboard.com/ultra/courses/ 1132844 1/gradis/accessment/ 2835615 1, Struct Alpor Analy 8p9 10/18 Assignment Content Python Programming homework 9 Write a Python progr…
      • 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 usin…
      • Hi, I need to create a function in python called get regex import re def getRegEx () : ¬† ¬† #regex=re.compile(‘(\d+|[^ 0-9])’) # ¬† ¬† # YOUR CODE HERE ¬†¬† # ¬†¬† return regex that returns a tuple o…
      • beautifulsoup and python has to be used. It should have 23 files being written.. Q1: Web-Scraping Go to website https://www.cb.cityu.edu.hk/is/people/academic.html, write a python program to 1) find a…
      • Please help me with this problem within 2hours I have exam I need to practice asap,please. Question: Write the Movie class with the required methods to give the following¬† outputs as shown. Code: # W…
      • We have designed a data definition named Piano that models pianos at a music store. We are designing a data definition for List[Piano], representing the collection of pianos in stock at the store at a…
      • Write a program that starts with a piece of text, e.g. the zen of python, as a string variable, return a list of all the words from the string with duplicated words removed. For example, if its start …
      • Please help with Practice Problem – Python. 3. 4. 5.. A |ist_n_perfect_squares This function takes a positive integer. n, and returns a list containing n perfect square numbers, starting with 1 and co…
      • Using the previous Assignment 4, set up your code to use classes. In this Assignment 5, however, all of the class methods can be included as a part of the main program – without importing any external…
      • [Physics – python assignment] ¬† Hello,¬† ¬† Please finish the “assignment” section on google colab. Thank you for the help ¬† https://colab.research.google.com/drive/1x2yunx2ZgMj-IJ4SQjI7RYteOAiMTC1Q…
      • Hello, need some help with making a python code that takes a list in problem statement and returns a list.. def rev_palindrone(dna) This function takes in a DNA string and returns the position and Len…
      • Do you know how to complete this assignment using python coding?
      • Objectives: to know how to design and implement scientific visualization. Requirements: Write a program to visualize a uniform grid. Specify a dimension of 26x26x26 and an xyzv ranges of [0.0,1.0][0.0…
      • “Pima India Diabetes Dataset” is shared with this assignment. For this dataset, implement the following questions in Python: a. What proportion of people report they have diabetes according to given…
      • Method: displayCheckerBoard(size: int): Points – 15 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 …
      • Checkpoint 3 (A): A different layout for wallpaper Here is a bit of challenge for you. We will change the wallpaper layout so that you put 6 images in a line (using images named 1 . jpg, . .,6. jpg), …
      • Include the following day_names in your code. day_names = [‘Monday’,’Tuesday’,’Wednesday’,’Thursday’,’Friday’,’Saturday’,’Sunday’] Zeller’s Congruence is an algorithm for finding the day of the week f…
      • I need to make a function for sentence split. I receive one sentence and an uncertain number of delimiters from the keyboard. Then I separate all strings in that sentence. This is the code I wrote¬† ?…
      • Generate a function name height_for_rides() that asks the user’s height What is your height? message_list = [“Yay! You can get on the rides alone”, “You must be accompanied by an adult”, “Sorry you’re…
      • using python. attached is starter code and images uploaded are directions. it looks like a lot, but majority is just the starter code with input/output examples in quotes. class AdvancedCalculator: ¬†…
      • create a program that takes a date as input and outputs the date’s season. The input is a string to represent the month and an int to represent the day. Ex: If the input is: April 11 the output is: Sp…
      • please help me 1. [Weight = 2] To convert the fractional part of a decimal number to binary, as you know already, is to keep multiplying the number by 2 and assign the integral part (either 0 or 1) to…
      • An archery target consists of a central circle of yellow surrounded by¬†concentric rings of red, blue, black, and white.¬† Each ring has the same width which is the same as the radius of the¬†yellow c…
      • This is console based non-oop based work(use only functions) , data can be saved in text files There are numerous customers for LLIO. Customer have to visit branch or call agent to get information abo…
      • Rationale and Proof For every one of the given sets of terms, give a most broad unifier or show why none exists. (Here x, y, z are factors while a, b are steady images.) h(x, y, x) and h(y, z, u) h(x,…
      • Make a dictionary that contains usernames and passwords. ¬†Make a function that gets the username and passwords from the user and the function determines if the username and password are in the dictio…
      • 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, …
      • Using python and follow the HtDD and HtDF recipe pls ¬† ¬† ¬†. HtDD Tutorial Pre-Tutorial Work: . Write the data type definition for Problems 1a and 2. This work will not be graded but is highly recom…
      • What is the full python code for building a calculator in Python?
      • Please write a program that uses Numpy, creates two random 100 √ó 100 arrays A and B and multiple them together as C = AB in two different ways: By using the for-loop method to compute each element of…
      • USE JAVA PROGRAMMING LANGUAGE. ¬† 1. ArrayLists and Object Aggrigation Create a Department object which contains a name (String), budget (double), and an ArrayList of Employee objects. Each Employee o…
      • . Problem 3: Parameter Sweep of a Dynamic Potential Well {-} This problem guides you through a very practical case of when to use a for loop to call a user defined function. Typically, this is a goo…
      • HELLO CAN U HELP ME TO this is the OUTPUT OF MY ASSIGNMENT Output : Class Rank How many students? : 3 – – Student’s Name: Joshua GPA: 87 .41 Student’s Name: Hannah GPA: 92.37 Student’s Name: Nico GPA:…
      • colors[“green”] = {} ¬†# add key ‘green’ pairs with dictonary colors[“green”].update({“french”: “vert”}) ¬†# update with french colors[“green”].update({“spanish”: “verde”}) ¬†# update with spanish col…
      • Requirement for this Assignment You have been provided with a framework for this assignment: “Assignment 3 ‚ÄĒ Framework.py&quot;. The Framework deÔ¨Ānes a Class called similarity. You must use the…
      • What value input from the user would make this loop repeat? value = int(input(“Enter a number between 1 and 10 (1-10) &gt; “)) while value &gt; 1 or value &lt; 10: ¬† ¬†print(“That number is not 1-10….
      • . Print cumulative sum In [ ]: # Do not use any external modules such as itertools or functools to answer this question. # Print the cumulative sum of numbers in the list below num_list = [12, 16, 1…
      • 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…
      • Question 15 0.8 / 2 pts In the following example, which variables can be accessed inside add_suffix when it is called? some_str = ‘car’ some_suffix = ‘s’ def add_suffix(val, suffix) : new_val = val + …
      • Could you please explain step by step how to print the output of this function manually (by hand) without the use of computer? I don’t understand how to follow/apply the loops.¬† ¬† def foo(arr, size)…
      • I am working on a project where I have to graph data from my python program into excel. I am exporting the data into a .csv file but my problem is that the data is not separated by commas which…
      • How do I check if every third element in a list starting from the end to the beginning is divisible by 3 ? For example, the list [ 23,12,6,5,8,9,7,4] . The output should be [4,8,12] I am unsure on how…
      • SOLVE THIS. no chegg I ran following program, which returned following columns: pretty_print_sql(f””” WITH actors AS ({actors_query}) SELECT¬† ¬† ¬†a.nconst, ¬† ¬†a.name, ¬† ¬†t.startYear – a.born AS …
      • . Main() [2.0 marks] This function should greet the user to the program and then ask the user what he/she wants to do. The options are [a]: add_studen, {e}: edit student, [r]: remove student, If]…
      • Feedback? CHALLENGE ACTIVITY 2.9.1: Coordinate geometry. Assign point_dist with the distance between point (x1, y1) and point (x2, y2). The calculation is: Distance = SquareRootOf( (x2 – x1)2 + (y2 – …
      • I am trying to define a CART function in python, and I am totally stuck. I don’t know where even to begin. def cart(xTr,yTr):
      • I’m trying to calculate the class prior probability in python (numpy) (Naives Bayes classifier). Referencing this example, I have the Y labels. and for the input vector it is X. How do you calculate t…
      • Rubrics: Criteria Part 1 Grading Part 2 grading The codes achieve what is expected. The solution might not be unique ¬† full credits full credits Correct program structure and logics, but with minor s…
      • helper: def transform_string(s: str) -&gt; str: ¬† ¬†“””Return a new string based on s in which all letters have been ¬† ¬†converted to uppercase and punctuation characters have been stripped ¬† ¬†fro…
      • Graphics in Python using the JES environment (PYTHON CODE iN JES ) Display triangle on the Eiffel tower.
      • Read the Marketing_subscription_prediction_latest_edited data.csv file and load it into a dataframe and do the following task ¬† ¬† Display datatype of all the columns ¬† ¬† ¬† ¬† ¬† csv file— ¬†…
      • 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…
      • The task is to simulate an ATM at a small bank, allowing customers to make various transactions using python code. The Ô¨Āle “P://Courses//CPSC//CPSC207//bankers.txt” contains the last names, PINs, an…
      • What will the following program print,¬†assuming that the user enters a value of ’75’ when prompted? ¬† try: ¬† ¬† value = input(‘Enter your score out of 50: ‘) ¬† ¬†¬†percentage = int(value) / 50 * 1…
      • Help with Correct answers 1 . How does run() method is invoked? By Thread.start() By Thread.run() None By Thread.create() 2 . How to terminate a blocking thread? thread.stop() thread.terminate() None …
      • Problem B. (10 ¬†points )¬† Crewperson and Pretender Construct two additional classes named¬†Crewperson¬†and¬†Pretender, to represent each of the two possible specializations for a Character.¬†The¬†Cr…
      • I need help writing a function which takes in a dictionary of key/value pairs and multiplies the values together. You can assume that all keys are strings and all values are integers. For example: tes…
      • This assignment is designed for you to exercise fundamental and basic Programming/Python knowledge.¬†As such,¬†you will write a Console App¬†to fulfill the requirements of this application. This appli…
      • ## —- OS Module — ## import os # use the os module to create a hard link to C://myfile.txt at C://myPython/myfile.txt # use the os module to delete the file C://myfile.txt # use the os module to r…
      • Python exercises ¬† 1.Use a string loop to define a function is_dna(s) to return True if the string s consists entirely of DNA bases, and otherwise returns False. Test your function on at least 2 rand…
      • Given Code: #Write a function called all_sum. all_sum should have two #parameters: a list of integers and a single integer. #For this description, we’ll call the single integer n. # #all_sum should mo…
      • Please help in this python question ¬† Read the data file, “winequality-white.csv” (download here: https://we.tl/t-2CN00HrDU4), which contain 4,898 instances, 11 features (‘fixed acidity’, ‘volatile a…
      • I am trying to make a graph in my lab for class , I have had no sucess getting matplotlib to install C:\Users\mike\AppData\Local\Programs\Python\Python38 -32 \python.exe C:/Users/mike/Documents/Lab3.p…
      • how to input the formula k = (f/(1-f))*math.sqrt(7/(2+f)) f = np.linspace(-1, 0.5, 1000) this is not work in python
      • CHALLENGE ACTIVITY 5.8.1: Nested loops: Print rectangle Write nested loops to print a rectangle. Sample output for given program: 376628.2015284.qx3zqy7 1 num rows = 2 2 num_cols = 3 1 test 3 passed 4…
      • Design, write, test and submit a program. The program can be about anything for example football teams, farming, movies, cars, video games, etc.¬† Your program must have all of the following: Data ent…
      • . 1.10 Exercise 7 (2 points) The last task we have is to compute the change in rating. This lan’t just an intermediate slap in Exercise B, because we have to handle some special caven as well. Fil i…
      • Question: Two part question: 1) Write a program in Python for:¬† Alphabetic Order: ¬† ¬† ¬† ¬† The following words have three consecutive letters that are also consecutive letters in the alphabet: THI…
      • These are helper functions, possible tools that makes life easier in order to define the function below. ¬†. def transform_string(s: str) -&gt; str: &quot;&quot;&quot;Return a new string based on s in…
      • ***PYTHON**** To complete this assignment, you will need a CSV with multiple columns of numeric data. Here are a few you could use: World Happiness Report 2021: https://www.kaggle.com/ajaypalsinghlo/w…
      • this is the question 10. You’re creating an alarm app called BEEEEEEEEP. As part of this app, you create a class called Alarm, meant to represent an alarm on your smartphone. The objects of the clas…
      • (In Python) a function called¬†repeater(s1, s2, n)¬†that given two strings¬†s1and¬†s2¬†¬†and¬†an integer¬†n¬† returns ¬†a string that starts with an underscore (‘_’), then s1 and s2 alternate n times,…
      • Find 3 bugs. (3) ¬†class Field: ¬†“””¬† A class representing a farmer’s field.¬† “””¬† crop = “Wheat”¬† def __init__(self, size_in_hectares): ¬† ¬† ¬† size_in_hectares = size_in_hectares ¬† def ton…
      • 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…
      • Hello, I need help with python assignment. Ensure you add 3 working doctests for each function. No break/continue statements and the restrictions are listed. Take your time, thank you.. LAB RESTRICTIO…
      • I wrote this program but the output is not what i want, I want the output to be: “August 14, 2019” not “August, 14, 2019. Assignment: Date Printer Write a program that reads a string from the user con…
      • How do I Create a plot from the file (after adding your name). ¬† how do i Use a debugger to identify errors and correct them. ¬†Even if you don’t have any errors, upload a screen shot showing you’ve …
      • Hi, I need help defining classes in Python. We are going to use OOP concepts to fill in the meat for the following classes: class CellPhone class ApplePhone class Android Phone (Parent class) (Child C…
      • When I put this in it doesn’t come out the correctly. Do I need to input it another way
      • repogram or fix the program codes. the viruses balls need to put in the quarantine area ¬† ¬† https://ide.mblock.cc/ ¬† https://drive.google.com/folderview?id=1l-DRcYQEIYICCJLYMUXX28bRWtGmzQff
      • I am write a code for CIS123 5.5. ¬†I wrote the code Below but I get an error when it runs. ¬†I am trying to plot the results of a file listed below from a csv file. ¬†I have to be able to add my name…
      • proof (a), and using code to implement (b) to (d) (python preferred, but any code language works). Q4. Consider the following LASSD optimization problem used to compute sparse approximate solutions to…
      • Need solution in python A city planner is asked to organize grocery shops in a new city. The city has a straight line main street that goes throughout the city. The city planner is asked to position w…
      • convert newton’s method for approximating square roots in project 1 to a recursive function named newton . ( hint : the estimate of the square root should be passed as a second argument to the functio…
      • Python please: If the score is between 70 and 79, the grade is C, and the teacher comment is ‘Good, but need to work harder’ If the score is between 60 and 69, the grade is D, and there are no teacher…
      • Consider the code below: first¬†= [1,¬†2] second = [4,¬†5,¬†6] third¬†= [8, 9, 10,¬†11] myList = [first, second, third] print(myList*2) print(myList[0]) print(myList[1]) print(myList[2][3]) print(myLi…
      • Given: drink = “ginger beer” other_drink = “iced tea” ¬† Respond to the following: Which negative indices (e.g. drink[-1], drink[-2], drink[-3], etc.) in drink contain the letter “e”? Using string sli…
        • Given a list¬† A ¬†of elements of length¬† N , ranging from¬† 1 to N . All elements may not be present in the array. If the element is not present then there will be -1 present in the array. Rearra…
      • How do write a survey program that interviews users about a specific topic. The program may ask a series of questions. Depending on answers to previous questions it will ask more questions. Results sh…
      • Implement a function print_matrix to print the matrix using the following format. The first line of the output should be the number of rows. Each subsequent line should print a row of a matrix, with v…
      • Based on the below abstract, I need research paper with references….as soon as possible: ¬† Abstract: ¬† After collecting a data base of fingerprint images, we design a neural network algorithm for …
      • Open the file kmeans.py , in which comments have been included to help guide you. Take a look at the data provided, which consists of the two variables (life expectancy, birth rate) measured for each …
      • Should I use python dictionary or list data structure to build an address book? I have a simple question on duplicate keys using the dictionary structure (i.e. what if two people in the address book h…
      • I am trying to ¬†how a Python program that uses for loops to perform the following steps : a. Prompt the user to input two positive integers (no zero or negative). ¬†variables: firstNum and secondNum …
      • A priority queue is a data type similar to a queue in which each element stored has a “priority” associated with it. When a request is made for an element to be returned from a priority queue, the ele…
      • ask_user=input(“please enter the word: “) caps=ask_user.upper() alphabet = list(‘ABCDEFGHIJKLMNOPQRSTUVWXYZ’) want to use my own function without using any in built function like ( for word in alist) …
      • i need a formula for average miles per gallon, gas used/miles driven, miles per gallon, number of miles, gas used, miles driven, MPG. Week 4 ENTD WNT 200 American Public University. I am so stuck. I c…
      • In this assignment you will have to deal with files and functions. ‚ÄĘYou are asked to read 1000 floats from a file, which is provided to you (floats.txt). The floats have to be read into a list. ?…
      • Please refer to the attachment to answer this question. This question was created from HT Assignment.pptx. Additional comments: “Can you please help me with R coding and answers for this question”
      • Let A[0..n ‚ąí 1] be an array of n real numbers. A pair (A[i], A[j ]) is said to be an inversion if these numbers are out of order, i.e., i&lt;j but A[i] &gt; A[j ]. Design an O(n log n) algorithm for…
      • I have a question regarding python code in this document https://www.coursehero.com/file/39784402/Week-11-Solutionpdf The last code seems to be incomplete and what is the code to print the final resul…
      • Define the instance method inc_num_kids() for PersonInfo. inc_num_kids increments the member data num_kids. Sample output for the given program with one call to inc_num_kids():Kids: 0 New baby, kids n…
      • . zy Section 4.15 – IT 140:1 x * Course Hero X Home X @ 4-3 Assignment: Pseu( X @ Module Four Assignm X IT 140 Higher Lower G X + V X C learn.snhu.edu/d21/le/content/958855/viewContent/16544704/View…
      • I’m trying to make a program “file_stats.py” that, when run on the command line, accepts a text file name as an argument and outputs the number of characters(e.g., size of the file), words, lines, and…
      • Please implement a python program to solve the following problem, There are n integer numbers [0,1,…,n-1] forming a circle (increasing in the clockwise direction). Starting from 0 (as the 1 st numbe…
      • Assume that you have a data structure of the following: ¬† A list of hockey players.¬† Each hockey player is a list that includes their Rank (int), Name (String), Team (String), Age (int), Goals (int)…
      • What does this mean? What do I need to do?. Your output Select first service: Select second service: Davy’s auto shop invoice Service 1: Oil change, $35 Service 2: Car wax, $12 Total: $47 Davy’s auto …
      • Homework ¬† (1) Write an pseudocode to demonstrate the Ceasar algorithm: f (p) = (p + 3) mod 26 (the Caesar cipher) (2) Use this algo in Python to encrypt the message DO NOT PASS GO, applying the give…
      • First, we need to copy, paste and save the file below as NumbersList.txt 11 12 13 14 15 16 21 22 23 24 25 26 31 32 33 34 35 36 41 42 43 44 45 46 ¬† Swap Columns We need to make a function called print…
      • ABC Consulting, Inc. needs some support for its analysis of annual employee performance bonuses for its professional staff. Professional staff are one of two types: Consultants or Directors. All profe…
      • Part 1 1. Mainline logic is one in which one procedure follows another from the beginning to the end. Every procedural program can follow a general structure that consists of three distinct parts: hou…
      • I am getting an error when running the party volume portion of this code: This is the error File “/Users/newuser/Downloads/hw7TEST.py”, line 88, in hw7TEST.py Failed example: ¬† ¬†partyVolume(‘party1….
      • My assignment, (for this specific function): def find ( self , name, by) : If the parameter¬† by ¬†is¬† BY_FIRST_NAME , the parameter¬† name ¬†is a first name; if¬† by ¬†is¬† BY_LAST_NAME ,¬† name ¬†i…
      • Calculate the Gaussian probability density at each value of xx, times 100. Name this array Gauss. (Schematically, Gauss = 100 √ó PG) Specify a mean value ¬Ķ = 10.0, and a standard deviation ŌÉ = 2….
      • Each¬† Story Analysis ¬†function below will need to call the appropriate¬† Word Analysis ¬†function(s) and then include any additional code required to answer the specific question. 1.1.2.1¬†¬†Q5. Uni…
      • zyBooks My library &gt; CIS261: Python Programming I home &gt; 2.6: Python expressions CHALLENGE ACTIVITY 2.6.1: Computing an average. Write a single statement that assigns avg_sales with the average …
      • As our programs grow increasingly more complex (and useful!) an important topic begins to emerge: licensing. Licensing is an unavoidable feature of modern application development. All distributed a…
      • Write a program that extracts the last three items in the list¬†sports¬†and assigns it to the variable¬†last.
      • Complete the function convert_data. The parameter represents a list of list of strings. The list could have the format of stations data, but it should not be assumed that the list has this format. Tha…
      • Hello I need help with this function: This is the output: This is the provided file: def read_file(filename): ¬† # List to store information on heroes and villains (character list) character_list = []…
      • Solve it soon.. Write a program that can determine the transformed state of stress for a given stress state (Example Shown in image) Example . If o is the stress tensor of the element shown, determine…
      • . 2/21/22, 2:22 PM Lab 3-Decisions and Dictionaries Lab 3-Decisions and Dictionaries Start Assignment Due Monday by 23:59 Points 100 Submitting a file upload Complete the following: Lab Requirements…
      • . Many products that we use have an identification number that may or may not have a bar- code. Some examples are books, electronics, grocery items, credit cards, money orders, driver’s license, …
      • Question: Students make the Dean’s list if their GPA is 3.5 or higher. Complete the Course class by implementing the get_deans_list() instance method, which returns a list of students with a GPA of 3….
      • Python -notebook file with “.ipynb” ¬† Background ¬† In this project you are given a dataset and an article that uses this dataset. The authors have developed ten ML models for predicting survival of …
      • Use your webserver and newPost.py to generate a new post for this week’s programming assignment.¬†Get title no more than five words long that describes the nature of the referenced assignment.¬†Includ…
      • Hi, im writing a code for Exercise 9.4: Notebook: Using list with the notebook, pickle using coursehero answer. however code doesnt pass “tester2” because there is small change in tester vs your examp…
      • The kinetic energy of a moving object is given by the formula¬† KE = ¬Ĺmv2 ¬†where¬† m ¬†is the object’s mass and¬† v ¬†is its velocity. Modify the program you created in Project 5 so that it prints t…
      • Problem 5 – Twitter Sentiment Analysis In this problem, we’ll analyze some fictional tweets and find out whether the overall sentiment of Twitter users is happy or sad. This is a simplified version of…
      • Consider a birth death process X(t) for t ‚Č• 0 with states 0, 1, 2, . . . and where the birth rate is őĽj in states j = 0, 1, . . . and the death rate is ¬Ķj in states j = 1, 2, . . . (a) Draw the st…
      • Discuss thoughts/concerns of vehicles like Tesla that are driving based on Neural network algorithm model predictions?
      • looking to solve problem Q4 Question 4: According to each method’s documentation, complete the code of the TextProcessor class and its subclass TextAnalyzer . class TextProcessor: def _init_(self, tex…
      • Need help using PyPDF2 extract and parse from the following two PDF’s (Outlook2019.pdf and Outlook2018.pdf) the “Key Takeaway” bullet points for further data processing. Here is where you can find the…
      • Computing summary stock-price information ¬† In this assignment we will look at daily data about stock-trading information. ¬†In the code cell below are: Two global variables each corresponding to a l…
      • In this assignment, we will analyze diamond prices from using a dataset from Kaggle. You will complete this assignment using only (generic) Python. No additional Python modulaes like Pandas, Numpy, Sc…
      • Please send Python Code (also use comments wherever necessary) and also please write either algorithm or pseudo code. Please send as soon as possible
      • Computer Science PLEASE DO IN PYTHON BST is Binary Search Tree. Write code that satisfies the following requirements Declare and implement a BSTNode ADT with a data attribute and two pointer attribute…
      • Python – write math function for Simpson’s rule Make a function defined as: def Simpson(fcn, a, b, npoints = 11): Purpose: use Simpson’s 1/3 rule to estimate the integral of fcn(x), between the limits…
      • Please help Problem Summary: The¬†DictList¬† class represents a¬† list ¬†of¬†dict, with some keys appearing in more than one¬†dict: think of the later¬†dicts as representing updates to the earlier one…
      • could you help me The Michaelis-Menten equation is a well-known model used in enzyme kinetics. It is defined as V = Vmax C – Ky + C where v is the rate of reaction in mol/sec, Vmax is the maximum reac…
      • Create simple socket program in python to have one client and one server communicating with each other.
      • solve it as quick as u can ,, the language is python,,plzz plzz solve. input the person’s name (1 mark) and their daily attendance (2 marks). output a response message (3 marks). o If attendance is 80…
      • PYTHON Implement function¬† catchEmAll(pokemon) ¬†where pokemon is a list of the number of Pok√©mon caught by a player who is playing PokemonGo over a 7-day period. Your program will return the to…
      • write a report showing and explaining the following: generate one code base to investigate several cybersecurity issues in a logical manner for each of he below techniques using the generated code ba…
      • Please answer this question with Python code. Thanks! 0.2 Information Summary . Input/Output: The data includes 14 directories, each of which represents a certain daily activity. There are 839 acceler…
      • I need some help translating my python code into powershell import sqlite3 import csv import sys if len(sys.argv) != 3: ¬†print (“Usage:./dbload INPUTCSV OUTPUTDB”) ¬†exit(1) inputcsv = sys.argv[1] ou…
      • Update the program to improve the formatting of the numbers and the strings. ¬† Console ¬† ================================================================ ¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†Baseball…
      • Using python to solve this question, thank you! Task 3a: Average marks and grade You will now write the function called calculate that accepts your entire table (names and student IDs included) and ca…
      • HOMEWORK! a Python program that does the following: Create a single list that contains the following collection of data in the order provided: ¬† [1121,¬†“Jackie Grainger”,¬†22.22, ¬†1122,¬†“Jignesh T…
      • 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(s) fr…
      • During the week 5 lecture we talked about using automated tools to support pairwise and t-wise test criteria. Download and use a combinatorial testing tool to generate combinatorial tests for the Cal …
      • Q) Q) Some male chauvinists like to think that a larger proportion of SSSBEs are managed by men as compared to women. Do you agree with this contention? Explain your answer with appropriate statistica…
      • Example nathlist = [&quot;forward &quot;, &quot; forward &quot;, &quot;upward&quot;, &quot;forward&quot;, &quot; upward &quot;, &quot; upward &quot;, &quot;upward&quot;, &quot;forward&quot;, vard&quot…
      • from ast import Return import os import pandas_datareader as pdr import numpy as np import datetime ticker=’MXL’ input_dir = r’C:\\Users\\marso\\Desktop\\Boston University\\2022 Spring\\CS677 Python f…
      • INSTRUCTIONS : 1) Python Programming 2) No use of built in libraries and built in functions 3) Use comments for better understanding Q : How to check the list is sorted or not ?
      • I’m doing practice in pandas python. There are two columns, one is ‘Offence Level 2 Description’, another one is ‘Offence Count’. I want to display the attribute in ‘ offence level 2 description’ wher…
      • The problem Starter code¬† Need help coding. Problem 2: Caeser Cipher Please visit https : / /en. wikipedia . org/wiki/Caesar_cipher. You will be writing code that encrpyts and decrypts using this …
      • PLEASE HELP WITH THE FOLLOWING FUNCTION: ¬† from typing import List, Set, Dict, Tuple, Optional, Text from operator import itemgetter import spacy nlp = spacy.load(‘en_core_web_sm’) ¬† def pos_frequen…
      • Please solve this question and include explanation. I have included the code. ¬†. Question 1 – Python Readline (low complexity; largely translation) So far in SYDE121 when coding in Python you have be…
      • how do I produce x and y values using Python math functions. The results of these function calls will be used as input to another program for plotting the results. The plots can be made using Excel, O…
      • clear(self) -&gt; None: This method clears the contents of the bag. It must be implemented with O(1) runtime complexity. Example #1: bag = Bag ( [1, 2, 3, 1, 2, 3 ]) print (bag) bag . clear () print (…
      • Please help my hw. This need to find error and fix it¬†. 1. Debugging [75] You will find the file odd_oven_cipher . py on Coding Rooms. This file contains a buggy version of the odd-even cipher implem…
      • From scratch (not using any pre-packaged tools for direct calculation), implement the gradient descent algorithm for linear regression and test your results on the California Housing Dataset: https://…
      • a) Using the “single linkage” method, run the hierarchical clustering algorithm on the dataset, and get a 3-cluster result (by cutting the dendrogram at a certain height), and report SSE and RI. b) …
      • You python program¬†will read from the attached data.txt file.¬† The data.txt file contains 20 numbers.¬† Your code has to read each line and decide if the number is divisible by 2 or 3 or both or nei…
      • Hi can anyone help me execute this Python? please see attachment thank you.
      • How do you find log likelihood of data using nbinom?
      • Post at least two classes. ¬†The¬† classes must be named , have at least¬† three variables , and¬† three functions . Don’t worry about data hiding.¬† Do not submit any working code for this assignment…
      • i need help completing the function (composer ), it returns two functions, adder and function. examples on bottom shows how it works. def composer (func=lambda x: x) : Returns two functions – one hold…
      • Make a program that gets two lists (in-order and pre-order sequence) and build the corresponding tree, need to see the output as a tree in python.
      • Please read data from the provided file and only answer the last 7 parts of this question (from part 8 to part 14). You can provide your answer for parts 1-7 in another question submitted. ¬† You shou…
      • How to get the % symbol as a output in python coding? for example, I have a number 43.04 as a result of my coding but also I have to have the % symbol together with the number like this 43.04 %. pleas…
      • Hi, currently I’m working on a script for an assignment. This assignment is Employee management functionality 4. ¬†I’m running into a loop issue where I cannot get the program to procced to the next p…
      • I have a 2d list [[1134],[2221],[3321],[2324]]. It is outputted as¬† ¬†¬†1 1 3 4 ¬†¬†2 2 2 1 ¬†¬†3 3 2 1 ¬†¬†2 3 2 4 The user enters a row(0-3) and column(0-3). If the user enters row=1 and column=2 ?…
      • Exercise #1:¬† Here is a Person class definition: import datetime class Person: ¬† ¬† def __init__(self, name, surname, birthdate, address, telephone, email): ¬† ¬† ¬† ¬† self.name = name ¬† ¬† ¬† ¬† …
      • Find and print the number of ‘sit’ and ‘amet’ separated with punctuation marks
      • csv link- https://drive.google.com/drive/folders/1UwgDbN-rq9-g6jKlXD_xjv2gUTu9wgZt?usp=sharing ¬† #task1 movies = pd.read_csv(“C:/Users/mayan/OneDrive/Desktop/mid sem py/movies.csv”) ratings = pd.read…
      • Problem 1 : Invoice Create an invoice worksheet for purchased products of your choosing – see partial example below Include the Items sold and their List Prices of your choosing . A Discount of 5% is…
      • SUMMARY The overall goal of this program is to read student records from a file, and let the user enter queries in order to see a detail or summary report. The project uses many of the topics covered …
      • I need help with this function below. get_filter_results: (TwitterverseDict, List[str], FilterDict) -&gt; List[str]The first parameter represents the data in the Twitterverse dictionary format, the se…
      • can you help. I provded the .py files. look through the images pls Part2 The framework for Part 2 is provided in “Partlpy”. Part 2 has two tasks. The first task is to implement some standard graph…
      • Create a Python program that performs the steps outlined below. Name the Python file Payroll.py. My file would be named conwayPayroll.py. Create a Python program that opens a file and prints hours, ov…
      • https://docs.python.org/3/tutorial/datastructures.html#more-on-lists What are the three most useful method list objects?
      • 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…
      • Please refer to the attachment to answer this question. This question was created from Question 35 2 pts How many times will hi be printed on the screen 1 -.docx.
      • Write a program that inputs a text file. The program should print the unique words in the file in alphabetical order. Uppercase words should take precedence over lowercase words. For example, ‘Z’ come…
      • need help with these questions thx 4.5 Problem 4 (1 mark) Problem: Write a function that given a list of numbers, returns the length of the longest sequence of numbers within that list that forms an a…
      • a program to simulate a lottery game. (a)¬†Ask the user to pick 4 unique numbers in the range of 1 to 10.¬†Validate the numbers picked by the user to ensure that they are not out of range and they are…
      • write a 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 comment co…
      • I’m attaching a main.py and a function.py where you need to add these things that are mentioned below: Add the classes (Hero Class and Monster Class) below to main.py or create a new file called hero….
      • Faithfully translate the code into MIPS program (plz comment each line of code explain what it does). All variables must be in global variables. bnez/move/li/bge are not allowed to be use.. The aim of…
      • The aim of the exercise is to use Python to read data files. For this exercise, you need to download the zip-file lab08A.zip [Note: right click to download] and move it into the directory lab08 that y…
      • Define a function that can accept two strings as input and print the string with maximum length in console. If two strings have the same length, then the function should print al l strings line by lin…
      • The purpose of this script is to have a number of functions that return a selected number of items from a given list. Each function will return either a single item from the list OR will create a new …
      • nvas X 6 pts Question 14 Read the problem description below and then review the code. There are 3 bugs in this code. Identify the bug and explain what kind of bug it is and how to fix it. Do not paste…
      • Show binary logistic regression using classes 1 and 2: class 1 is centered at (2,2) with standard deviation of 2 class 2 is centered at (10,10) with standard deviation of 3
      • Background: You are recently promoted from a Cloud Engineer to a Cloud Architect and assigned a project to prepare new environment in the cloud, to which your team will later migrate their application…
      • A simple network application socket connection communication programming lab. Using Python, or a professor/instructor approved optional compiler/interpreter, type a small application script that will:…
      • Write the program that reads from a text file (input.txt).¬†Read each line and send it to the output file (output.txt), preceded by line numbers .¬†If the input file is: Mary had a little la…
      • These data come from a Negative Binomial distribution. Write a function to compute the log-likelihood. HINT: You can let log(0) = 0 if required.
      • When I run this nothing happens. Why? def var_method_0(x): ¬†¬†nmean = sum(x)/len(x) ¬†¬†for i in x: ¬†¬†¬†diff=x[i]-nmean ¬†¬†¬†print(diff) ¬†¬†¬†sqdiff=diff**2 ¬†¬†¬†print(sqdiff) ¬†¬†¬†r=(nmean-sqd…
      • A house value is simply more than location and square footage. Like the features that make up a person, an educated party would want to know all aspects that give a house its value. For example, you w…
      • Do the task in google docs. https://docs.google.com/document/d/1FZFBrhWaus50LQw3DQKttu3jNiWC3RC9E-DFO2vgun8/edit?fbclid=IwAR1hxaUVNgmj7X1kMIRQdjSoOPjhIT2j_3pjMNTMRuKqiyqC0JZThC8Q7z8 ¬† ¬†Here is the g…
      • File = Bankdata.csv URL : https://docs.google.com/spreadsheets/d/1Qn4pdGrhzLjoXy1F871BalEz57rqdsB8OvLd4AbhCbA/edit#gid=1783727779 For information on attributes please refer to this link:https://docs.g…
      • Write a function named problem1 that accepts a string as the argument. Assume this string contains a series of single-digit numbers. Use a for loop to loop through each character in the string, then c…
      • Read three integers from user input without a prompt. Then, print the product of those integers. Ex: If input is 2 3 5, output is 30.
      • Why is answer C not also correct? and Can you explain in detail why A,D answers are correct?
      • Turn in one program file that does all of the following things:¬† 1. Write a function called count_words() that takes in a file name (a string) as a parameter¬† and counts how many times every word in…
      • Design a Python program that will demonstrate the confidentiality and integrity tenets of protecting Personally Identifiable Information on some same healthcare data. Examine the sample (fake) dataset…
      • By using Jupyter(python): Comparing Traffic Volumes: We explore the distribution of total monthly passenger traffic at all of the Australian ports in this question. 1. You first need to calculate the …
      • import struct import matplotlib import matplotlib.pyplot as plt import numpy as np from tqdm import tqdm import torch import torch.optim as optim import torch.nn as nn import torch.nn.functional as F …
      • Please refer to the attachment to answer this question. This question was created from txt.txt <a href=”https://www.coursehero.com/file/26641814/txttxt/?dqqid=113175″>https://www.coursehero.com/file/2
      • need help in creating this nested list **EVERYTHING IS HERE, NOTHING IS MISSING Given a nested list1 extend it with adding sub list2 [&quot;r&quot;, &quot;p&quot;, &quot;r&quot;] in a such a way that …
      • For Georgia Tech CSE 6040 Notebook 1 Part 2 more_exercise, I got an error for ¬†on expected output. Please advise. Exercise 3 (grade_dicts_test: 2 points). Complete the function build_grade_dicts, aga…
      • List s contains following element: 60, 10, 90, 20, 30, 40, 100, 25. Complete the statement below so that the 1st element of s is the largest element in s, and the last element of s is the smallest. S.
      • rite a function called n_cosine_of_pi(n) that receives a number n as parameter and returns the value of: ūĚĎõ√óūĚĎźūĚĎúūĚφ(ūĚúč)n√ócos(ŌÄ) ¬† Remember that the math module includes the constant pi an…
      • Look at the code in this file: https://ln5.sync.com/dl/02588eae0/8ajqdiw2-52vujyry-k4xyf4zs-3qyript8 Use the given code to base the development of the new function. The function will pull information …
      • I’m not sure how to do this ūü•≤ can someone help with simple code?. Draw the following shape with Python and Turtle. (There are 10 circles in each side of the triangle)
      • Hello I am wondering if anybody can offer any help with a problem I am trying to solve. What we have been given is a csv file containing crash statistics. What I need to do is for a user-selected date…
      • plz be quick This question refers again to the dataset from Question 1. Below is a plot, which presents some data from this dataset about universities. Here are the data fields (also called data attri…
      • What is the von Neumann bottleneck and why can it limit performance on today’s RISC machines?¬† (b) What computer architecture techniques are used to mitigate the effects of the von Neumann bottleneck…
      • Write a Python program with two float variables: x and y . The program must prompt the user for values for x and y , and an arithmetic operator. The program must print the value obtained by applying t…
      • Hi tutor, this question need to use the radix sort to do with complexity O(TM) (mentioned in 1.3). It need to read the text file first and sort it. the example given in 1.1 input (attracted) and the o…
      • For a given string s, return the first reoccuring character in the string. Try to get an approach that is¬†ūĚĎā(ūĚĎõ) O(n), where¬†ūĚĎõis the number of characters in the string. If there is no such …
      • . The Giants, for their fun day, competed in a “dashing” competition where each Giant would dash from one point on a grid-patterned dashing surface to another point on the surface, in the dashin…
      • Design above window using tkinter and convert temperatures vise versa (python programming)
      • Use Turtle Graphics to draw a Mickey Mouse head as shown – The face is blue and the ears are red. – The radius of the blue circle (face) is two times the radius of the red circles (ears) – The positio…
      • Please help me about this and complete the left four TODO in python language. Thank you very much!!! class WorkoutClass: ¬†¬†“””A workout class that can be offered at a gym. ¬†¬†=== Private Attributes…
      • Please help me with this Python program. A sorted set behaves just like a set, but allows the user to visit its items in ascending order with a for loop.¬† Define class ArraySortedSet, which inherits …
      • Python Principles A. make a dictionary goals to store the mapping of soccer players to number of goals they scored. Populate the dictionary with following data: Bican ‚ÄĒ 805, Romario ‚ÄĒ 772, Pele ?…
      • Objectives: i. To understand repetition structures ¬†ii. To use for loops and nested loops in a program¬† 1. Launch IDLE on your computer, open a new file through IDLE, and give it the name lab7sol.py…
      • help me to get the output. 11. What is the output of this scenario? 1. I have an input of an array of integers: into arr = { 4, 100, 2, 50, 7, -45, -23, 84, 51, 120, 98, -72 2. I declare an integer va…
      • Write Python code to implement the Restaurant management system .¬† The program should do the following:¬† Deliverables for this assignment are:¬† 1. For the ¬† Restaurant management system , develop …
      • Provide a python program to determine the parking fees at the airport based on the following time constraints:¬† 1.¬†¬†¬†¬†¬†Any amount of time less than or equal to one hour, the parking fee is 5.0…
      • Alarm I need help with this code please. The program should enable the user to schedule and cancel alarms. The alarm should notify the user when the relevant time is reached. Alarm functionality shoul…
      • Suppose you are building a Python application for storing the names, birthdates, and addresses of members of an extended family. Describe the strategy that you would use in order to determine the data…
      • import math import random from sklearn.datasets import load_iris from sklearn.model_selection import train_test_split # FOR THIS YOUTRYIT YOU MUST complete THIS FUNCTION! def knearest(X_train, y_train…
      • what is a nonlinear nested selection structure in Python Programming? Can you provide an example?
      • . – Objectives a Design your own class in the Python programming language. a Implement accessor and mutator methods that allow access to your object data a Create a dunder method for your class. …
      • In this lab we will use Scikit Learn to build a machine learning pipeline for a classification application. Dataset We will be using the US Census, a9a¬† dataset for this lab.https://www.csie.ntu.edu….
      • Write a python program, named¬† conditions.py , as follows: create three variables: letter1 Set letter1 equal to the letter “m” letter2 Set letter2 equal to the letter “u” letter3 Set letter3 equal to…
      • Write a class called BetterLengthStats that extends LengthStats defined in part (a). BetterLengthStats should define two additional methods. Method word_total should return the total number of words t…
      • : Use Python Script to explore your network ¬† The following Python script pings each host on a given network twice, modify the script to output only those hosts that are active. # Script to ping all …
      • Objectives Familiarize the student with: using the¬†while¬†loop; finding the proper implementation of verbally defined rules; reflecting real-life situations in computer code. Scenario Listen to this …
      • Question 10. Companies pay executives in a variety of ways: in cash, by granting stock or other equity in the company, or with ancillary benefits (like private jets). Compute the proportion of each CE…
      • Hello I need help with this exercise problem that needs to be develop in python. ¬† The problem is in excel, but haven been asked to do it in python. Chandler Oil has 5000 barrels of crude oil 1 and 1…
      • # How can I add multiple artist ID ?, efficently 3TVXtAsR1Inumwj472S9r4 # Drake 2R21vXR83lH98kGeO99Y66 #Anuel AA 1vyhD5VmyZ7KMfW5gqLgo5 #JBalvin 4q3ewBCX7sLwd24euuV69X # Bad Bunny # Would also like to…
      • i have some problem in called java notebook or python. i need to Use the method of autocorrelation to sixth notes in “cello.wav”. however, i dont know how to type the several code and where i should t…
      • Hello, I need help with the following in python: -Create two parallel arrays that represent a standard deck of 52 playing cards. -One array is a string and holds the values (Ace, 2,3,4,5,6,7,8,9,10,Ja…
      • function name= nameCall which outputs first and last characters within a string. It will take parameters the string to get the first and last characters from. It must return a tuple that contains two …
      • The Steward car dealership is a company that deals in specific types of vehicles. The import vehicles directly from manufactures around the word, these vehicles they sell locally, and they also provid…
      • Hello, I am working on an assignment regarding graphs in python that checks for connections regarding various routers in a dataset. The graph will show the links and the weights of the links between t…
      • This program should produce several lines of output as described in parts a) through e) below. For each of the equations in parts c) through e), provide comments in the code to document the name of th…
      • Computer Science 1 – CSci 1100 Lab 8 – Sets Lab Overview This lab uses sets to illustrate basic text processing. We will be working with the definitions of clubs from the Rensselaer Union. Our aim to …
      • https://drive.google.com/file/d/1WS_WAVBPciFLS07-qplNNB71VKwZR1mk/view?usp=sharing I have this .csv file (attached with the link above) and I want to use Python to answer the following questions. 1.) …
      • change_notes(filename, changes, shift)¬† Description: Changes the notes of the song given by the filename based on the parameters passed to the function. If a note appears as a key in the dictionary o…
      • Please help! def merge (l1 : list, l2 : list) -&gt; list: ¬†¬†pass def sort(l : list) -&gt; list: pass def max_value(gifts : ((int,int),) , weight_limit : int) -&gt; int: ¬†¬†pass # Test is_sorted e–…
      • How do you calculate the pixel difference between photos that may look the same to the human eye in python? When I check if the images A and C below are identical using cv2 (subtract &amp; split) the …
      • How to construct a code that satisfies below? ¬†. Write a function sum_of_ends that takes a list of numbers as an input parameter and: . if the list is empty, returns 0 . if the list is not empty, ret…
      • R-6.4 Give a recursive method for removing all the elements from a stack. ANSWER: R-6.5 Implement a function that reverses a list of elements by pushing them onto a stack in one order and writing them…
      • Position queries –Write a function that is named positionQueries that takes 2 lists as input such that the first list named data contains a list of unsorted integers and the second list named order c…
      • Consider text file mydata.txt mydata.txt contains data as below 4453586 ¬†¬† ¬† 05 / 24 / 20 ¬†¬† ¬†Please refer to the attachment to answer this question. This question¬†¬† ¬†Question Answer¬†¬† ¬†$3…
      • . You are given Python variables named data and labels as shown in the starter code below. Create a Pandas DataFrame object named df1 using data as data and labels as index. If you print df1, it sho…
      • Can you help me to do a¬†DC Circuit Power Calculator that solves Resistance, Voltage, Current, and Power? ¬† Use the following: 1. GUI (Graphic User Interface) App Using Python. *You may use Pysimple …
      • (clone.py) Write a program demonstrates that the sequence slice operator [:] can clone a list, but neither a string nor a¬† tuple. Hint: use the is operator to determine if the results of elt[:] is di…
      • The purpose of this script is to use functions to modify items inside a list. Use the template for the code: ¬† #!/usr/bin/env python3 # Place my_list below this comment (before the function definitio…
      • Here is what the program should look like, 3 separate use cases are listed, your program should be able to cover each case: (see flowchart for more details) I could not attach the csv file. Please fil…
      • Could you explain what is the difference between *args and *kwargs? Additionally, is this valid function definition def func(*args123, **kwargs456)?
      • write a function rename column(df, column name, new column name) that, given a Pandas data frame df with a column named column name, renames the column column name as new column name and then returns …
      • py 3 Write a while loop that requests the user to determine the product of the di rolled 3 times. 4 Have the user enter the number it landed on and display the product when completed 3 rolls. 5 6
      • def dot(v,w): ¬†¬†return sum(v[i]*w[i] for i in range (len(v))) def slope(x,y): ¬†¬†return dot(x,y)/ dot(x,x) def mean(x): ¬†¬†return sum(x)/len(x) def center(x): ¬†¬†m = mean(x) ¬†¬†return [x[i]-m fo…
      • Assume there are two 1D numpy arrays of the same length filled with data: m contains mass data in kilograms v contains volume data in cubic metres (a) Create and fill an array named density where each…
      • . d Satari File Edit View History Bookmarks Window Help Q E’, A Sun 12 Dec 17:21 ¬© . ED…
      • A company has 275 sales reps in order to sell its latex products, each to be assigned to one of four marketing teams. If the first team is to have four times as many members as the second team and t…
      • Write BFS search function in Apache Spark and pandas dataframe:¬† # This is a pairs notation of the edges, for simplicity of visualization graph = [(‘A’, ‘B’), (‘A’, ‘C’), (‘A’, ‘D’), (‘C’, ‘F’), (‘F’…
      • python programming ertE a program in Python to be used in a dart game which calculates whether a thrown dart hits the dart board. iii. dart will be shown with x and yr coordinates represented as a tup…
      • Natural Language Processing Help Twitter Combat Hate Speech Using NLP and Machine Learning DESCRIPTION Using NLP and ML, make a model to identify hate speech (racist or sexist tweets) in Twitter. Prob…
      • a program that manages course enrollment in an educational institution. The course management should allow for¬†printing¬†of the course information, the¬†addition of new students, dropping¬†out accord…
      • 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…
      • What dictionary operation can you use to remove all the keys within the dictionary named contacts? ¬† a. contacts.delete() ¬† ¬† b. contacts.clear() ¬† ¬† c. contacts.dump() ¬† ¬† d. contacts.remove()…
      • amulet5a = [‘N1’, ‘E3’, ‘E6’, ‘E8’, ‘E11’, ‘E14’, ‘N15’, ‘E16’, ‘E17’, ‘E18’, ‘E19’, ‘N20’, ‘N23’, ‘N25’, ‘N27’, ‘N28’, ‘N31’, ‘E33’, ‘N34’, ‘N35’, ‘N37’, ‘N38’, ‘E39’, ‘N40’, ‘N44’, ‘E47’, ‘N48’, ‘N5…
      • I need to create 5 different functions for the code below but im struggling to incorporate it with my code. The functions One for each type of calculation, one to validate the user’s character entry, …
      • I need some help me with this JSON practice. I want to define a class called Contact which takes a name (a str) and phone_number (a str) argument. I want to give this class a method called to_json, ta…
      • Write a program that continually prompts for positive integers and stops when the sum of numbers entered exceeds 1000. Stop early if a negative integer is entered.
      • Question: *Data Structures and Algorithm in C Programming Lossless Data Compression and Huffman Coding ASCII, abbreviated from American Standard Code for Information Interchange, is a character encodi…
      • Please fo every step in the question. The drive link is in the comment for masterlist.txt 5 bonus points for writing reusable functions. 5 bonus points for nice formatting of the charts (titles, label…
      • A for loop that uses a range() function is executed? Group of answer choices A. once for each integer in the collection returned by the range() function B. until the for condition is equal to the valu…
      • Write a python program to simulate fortune cookie. The program should display one of five unique fortunes, at random, each time its run. Write a ¬†python program that flips a coin 100 times and then t…
      • Question 1 : Consider a 256K x 64 DRAM chip. (a)¬†¬†¬†Determine the parameter ? and ? of the chip, respectively. (b)¬†¬†¬†Determine the capacity of the chip (in Mb). (c)¬†¬†¬†Determine the number of b…
      • Hello, You just gave me some help on my homework and wrote a code for me. What does elif mean in the code?
      • we have computers and laptops . The computer has a brand , price , CPU speed, hard drive capacity. The laptop has a brand, model, price, CPU Speed, hard drive and weight . Create a class of the comput…
      • The following guidelines should be followed and will be used to grade your homework: ‚Äʬ† All code to be implemented and submitted as a jupyter notebook (.ipynb) file.¬† Sample runs shown in the ques…
      • the python code below changes the original image to gray scale, negative image and also changes the color yellow to blue. when I run the code it shows me the images in 3 different windows. how can i p…
      • I have to define this function without any loops. I have to use recursion. I’ve tried this and a lot of my test cases are failing (I have to run it through a tester). How would I go about this? count_…
      • Please help with this function. Thank you. Collapse E3: Measuring Elapsed Time A simple function computing time elapsed 3 4 10. Implement past_a_week 5 6 import datetime Read the specification of the …
      • Write a Python script that uses a function to return the amount of change made from a given value based on the following table of coin values: ¬† 0 1 2 3 4 5 1 .35 .23 .12 .03 .01 ¬† The function shou…
      • What you learned and how it relates to your major (e.g., describe what you learned from this learning module). my major is business administration ¬†I learned a lot from Building Trust¬† ¬†¬† https://…
      • https://we.tl/t-TpPOmpq2Oc (link for the data ) ¬† Use regression analysis to model wait time (Y variable) (on the Lewiston Bridge crossing only), as a function of time of day, weekday/weekend, other …
      • Question is attached Question 2: Question: Change the code in the exam python file, so the function call question_2a() results in the image under the heading initial target output. It currently produc…
      • Please 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 …
      • . Write a program that asks the user to enter a number. The program should: 1- Notes: El. b. c. d. Catch a python exception if the value entered contains just alphabetic characters (no special chara…
      • Please use Python – Convert the ‘Days Working’ column into months. Provide the code and explanation.¬† Days Working 30 400 950 290 540 760 203 507 578 932 1933
      • Description: As the person in charge of running a contest, you need to make a program in python that will generate useful information for you. You’re going to demonstrate how the program takes in info…
      • Needs to be scripted for Python 2 not 3. I need a program that asks the user to enter a name, age, and sex and allow the user to enter data for individuals as long as they would like (provide them a w…
      • List out at least five ways to “crash” the program and document your errors. Include examples of at least one syntax error, one logic (semantic) error, and one run-time error. Include these errors as …
      • Thanks in advance! Task 1 Python When John gambles at the casino, he always uses a special system of tactics that he devised himself. It’s based on always betting in one of two ways in each game: bett…
      • use python to complete the problem as shown. some code structure and directions included Project 6 (Atomic Nature of Matter) Clarifications and Hints 1/8 Prologue Project goal: re-affirm the atomic na…
      • Online Food Delivery Preference Data https://www.kaggle.com/benroshan/online-food-delivery-preferencesbangalore-region Analyze the data from this link by using those analysis techniques below: ¬†data …
      • Plot the cosine curve: y=cos(x), with independent variable, x, going from -3p‚ȧ x ‚ȧ 3p and have 300 total data points.¬† ¬† ¬† Plot it using plot command in black solid line, then highlight in the …
      • Write Python program to play a number guessing game. The program should select a random secret number from¬†1¬†to¬†100¬†(inclusive). ¬† If the user guesses the number,¬†the user wins and the game ends…
      • import copy def LUFactorisation(A): ¬† ¬†¬† “””This function uses the doolittle method algorithm provides an alternative way to factor A into an LU decomposition ¬† ¬† on given matrix (A). the functio…
      • [2D-Arrays-numpy] Please help and explain me to understand this type of arrays.
      • Write Python program that will ask the user to enter positive numbers, to end the program the user will enter a negative number.¬† When this occurs, print the average of the positive numbers rounded t…
      • The code to change is indicated as follows: // TODO: Q1(c)(iii) Task 2 of 2 // Connect the saveEntry event listener to the textarea element ‘change’ event ¬† Use what you have learned in Block 3 Part …
      • Find the last two bytes of the partial AES-128 CMAC key below (computed using the¬† sample code found in https://cryptography.io/en/latest/hazmat/primitives/mac/cmac/ (Links to an external site.)). Th…
      • 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…
      • . A B C D F F 85 6 2.7 5.1 1.6 86 5.4 3 4.5 1.5 87 6 3.4 4.5 1.6 88 6.7 3.1 4.7 1.5 89 6.3 2.3 4.4 1.3 90 5.6 3 4.1 1.3 91 5.5 2.5 4 1.3 92 5.5 2.6 4.4 1.2 93 6.1 3 4.6 1.4 94 5.8 2.6 4 1.2 95 5 2.3…
      • import random class Node : def __init__ ( self , val) : self .val = val self .left = None self .right = None def add ( self , val) : if val &lt; self . val: if self .left == None: self .left = Node(va…
      • a python program that gives Bank Staff selects “close account”. 2. System prompts bank staff to enter an account number. 3. If the account number is valid, the system makes the balance to zero and rem…
      • Create a list store of 777 values of 99 cents. def main ( ) : dollar_price = [0.99, 0, 0, 0, 0, 0, 0] for i in range (7) : lottery[i] = random . randint(10, 99) for i in range (7) : print (lottery [i]…
      • Problem Statement 3) Write Python code that will work like a simple calculator of any two numbers. First display a menu that asks the user whether s/he wants to Add, Subtract, Multiply or Divide. Then…
      • I am working on a text-based based game and I’m struggling with it, can you help? ¬† Here is the code: ¬† rooms = { ¬† ¬†¬† ‘Entrance’ : { ‘East’ : ‘Main Corridor’ }, ¬† ¬†¬† ‘Main Corridor’ : { ‘Nort…
      • psudocode this for me please ¬† # Python program to validate an Email ¬† # import re module for regular expressions import re ¬† email = input(“Enter an email address : “) ¬† # Make a regular expressi…
      • solve using python in google colab, use comments!¬† ¬†. + Code + Text Copy to Drive Connect Y Editing link text# Individual M1 Practice Problems: Iris EDA … . Your Name Here &lt; &gt; . Your NetID H…
      • Using recursion ¬†and the¬†is_divisible¬†function.¬†Your program may assume that both arguments to¬†is_power¬†are positive integers. Note that the only positive integer that is a power of “1” is “1” i…
      • I am looking for a tutor to explain this to me I am having lots of trouble. G Codio – Lists Homework Help – Q&amp;A fror 0 https://codio.com/cshelton/lists:5bbd0c99bcbdde23055fcf99:WbrDENOPAzPj/tree/c…
      • Design a class named Car that has the following fields: ¬† ¬∑ ¬† ¬† ¬† ¬† yearModel : The yearModel field is an Integer that holds the car’s year model ¬∑ ¬† ¬† ¬† ¬† make : The make field references …
      • Sentence split Function name: sent_split Parameters: sentence, delimiter1, delimiter 2, … Return: A list: containing all separated strings Description: You receive one sentence and uncertain number …
      • Python Problem Note this assignment uses a number of topics from earlier sessions (flow of control, functions, lists), in addition to the latest topics (files, parsing, dictionaries). You should devel…
      • task will be to check Attendance Percentage of Students. Use the Python Prog. to perform this task. And, the data sheet is given in next page. Calculate the attendance percentage of each student, Th…
      • Filename:¬†qr.py Data file:¬† positions.csv ¬† Use the csv file provided to generate a¬† QR code using matplotlib. You can try either (1) drawing one square at a time using¬† plt.plot(x, y, ‘s’)¬† in …
      • Attached is for your information CIS 1400 Lab 01 – Basic Computations Arithmetic Lab Assignment Purpose: 100 points The purpose of this lab assignment is to demonstrate knowledge of using simple dat…
      • Use Any Dataset from Below Link https://catalog.data.gov/dataset?res_format=CSV Than read that data set in python and visuals it in graphical dashboard with any variables from data set Providing 4 to …
      • You will be implementing a basic B tree (a,b) with a=2 and b=4. The tree node should have one integer for the data and the rest of the fields are the links to the children and the parents. The node si…
      • Complete the function revising_s(int, int, List[“Station”]) -&gt; int. The first parameter represents a capacity threshold. The second parameter represents the number of bikes to add to low capacity s…
      • I created code but I need help on creating a trace table to go with the code. I created one on a table in MS Word but I have no idea what I should put down for the variables. Module 3 Trace Table Ulat…
      • Hi, I would like some help with creating a python program following this, please not only the code, comments and how you derived things would be appreciated ūüôā You are given a string of IV lowercase l…
      • A minivan has two sliding doors. Each door can be ¬†¬†opened by either a dashboard switch, its inside handle, ¬†¬†or its outside handle. However, the inside handles do not ¬†¬†work if a child lock swi…
      • Should look like the document. It should also have functions and a main. ¬†. Contact Manager Could not find contacts file! Starting new contacts file . . . COMMAND MENU list – Display all contacts vie…
      • URGENT PLEASE HELP AND EXPLAIN THE CODE. PLEASE USE BASIC PYTHON LANGUAGE AS THE CLASS IS AN INTRO TO PYTHON CS-1113.
      • Freedom vs. Predestination Perform a comparative analysis that reflects the difference between freedom and predestination. Provide an example of each and reflect how these theories are applicable for …
      • 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 y…
      • The following table contains a list of expressions. Write down what Python would output for each. ¬† Expression Evaluated Value (4+2)*5 ¬† -4 – -4 – -4 ¬† 2.0 * 10 ¬† (2**3) ** 0 ¬† 6/2 ¬† 6/4.0 ¬† 10…
      • txt 13 DODONGDODOSWONDADONOVAWNY VIDAAWWNNNNH 6 100 112 112 114. def create_network(file_name): &quot;(str)-&gt;list of tuples where each tuple has 2 elements the first is int and the second is l…
      • Graph Adjacency class Vertex: def __init__(self, n): ¬†self.name = n ¬†self.neighbors = list() def add_neighbor(self, v): ¬†if v not in self.neighbors: ¬† self.neighbors.append(v) ¬† self.neighbors.so…
      • How do I write the equation for the length of rail traveled and use it to do part b? They use an angle of elevation of 20 degrees. The second image is the code I have. I have checked and the value out…
      • 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…
      • from python graphic 2.4.8.3. Moving Faces Exercise¬∂ * Animate two faces moving in different directions¬† at the same time ¬†in a program move2Faces.py.¬† You¬† cannot ¬†use the moveAllOnLine function…
      • Under¬†12 $0.00* *Must¬†include¬†an¬†error¬†message¬†noting¬†the¬†patient¬†is¬†ineligible¬†for¬†a¬†vaccine 12-19 $3.02 20-55 $7.26 Over¬†55 $11.31 ¬† I need to Create a Python script to assist to dete…
      • Hello can you please explain code for this in python programing and showcase that it works? thank youthe¬† ¬† ¬†. ApplicationModule.py Application class should contain the following: o run() method wi…
      • Question 3 Part1 ¬† Given various player values (whether it be scores, damage values, ranks), it is useful to be able to search for and find values according to a specific threshold. For example, I ma…
      • Please follow the instructions to complete the following Python¬† programs. ¬†For each program, please also provide your own¬† testing cases. ¬†Please complete them in either Jupter notebook¬† or with…
      • Many companies use telephone numbers like 555-GET-FOOD so the number is easier for their customers to remember. On a standard telephone, the alphabetic letters are mapped to numbers in the following f…
      • CREATE A PYTHON PROGRAM It’s been more than half a year since lockdown. You feel so sluggish with just being at home. Scrolling through your social media feed, you’ve been inspired by the targeted ads…
      • Open a new Jupyter notebook Recreate the following grading scale as a dictionary with float values: Grades: Letter and Value (A = 100%), (B = 90%), (C = 80%), (D = 70%), (F = 60%) Create function name…
      • Inverting an image makes it look like a photographic negative. Define and test a function named invert . This function expects an image as an argument and resets each RGB component to 255 minus …
      • In this module you learned about loops. You also began learning about implementing loops in programs makes for more readable code and programs that run more efficiently. Write the PYTHON code that dis…
      • in Python 3.x. code the following. 1. Include¬† comment block ¬†on line1 of your code with the following information: “” “”” Your Name Course Name, Section (example: ENTD200 B002 Spr18) Instructor nam…
      • 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…
      • Write a Python program to deal with a paragraph of text. The program has the basic features: 1) Count and print the number of words, using a list [Note] &quot;high-level&quot; is considered one wor…
      • 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 …
      • (Notice: The following question asks for a program that generates random math quetions, NOT A CALCULATOR.) Implement a tkinter-based GUI program for a simple math game. Your program should present ran…
      • My function is not written properly accordingly what the lab wants. The lab wants different types of variables and possibly functions and not how I coded it. I need help understanding a better solutio…
      • please use python 8.8 LAB: Comma Separated Data In this and the following two exercises (8.10 and 8.11), you will carry out some simple processing on data in a file. Each line of the file has two inte…
      • Construct a tic tac toe game only using turtle graphics. Only the modules at the top of the starter code in the function can be used. Screenshots are attached explaining the rules. Please read all ins…
      • Write the SQL to create a table, then update the name of one of its columns and add a couple of records. Briefly explain the use of the table you created; what does need to be processed and output wit…
      • thank you sir. 2. Write a program to implement round robin CPU scheduling algorithm for the following given scenario. All the processes in the system are divided into two categories – system processes…
      • I need help on an assignment and so I was wondering if you can help?
      • Please help can’t figure out will rate! A = [2, 9, 2, 6, 4, 3, 3, 2] for k in A: if k in A: print ( ‘ Duplicate found: ‘ , k) In the list, we can see that 2 occurs thrice, and 3 occurs twice. Both sho…
      • Please help me with this question (the code example is below) code example The example game ends after 150 frames have been displayed, on which line # is the game attribute changed that represents whe…
      • These exercises focus on creating and using our own functions: l¬†def¬†¬†¬†¬†¬†– defining a function l¬†parameters l¬†return values l¬†calling a function Q4. Writing playGuessingGame function. The f…
      • Given a positive number num, the following code is trying to calculate and print the sum of natural numbers (i.e. positive integers greater than zero, eg. 1,2,3…) up to num. ¬† def sumup(num):¬† ¬† …
      • import numpy as np import math from scipy.optimize import fsolve class Fluid(): ¬† ¬† def __init__(self, mu=0.00089, rho=1000): ¬† ¬† ¬† ¬†¬† ”’ ¬† ¬† ¬† ¬† default properties are for water ¬† ¬† ¬† …
      • I was tasked to make a program that reads in a CSV file with no column labels, and can compute a maximum, minimum of a column. Also, for extra credit, you can implement an column-average calculation f…
      • Please see the images down below for the coding problem. Problems C1: Euler Tour . An undirected graph G = (V, E) has Eulerian Tour if following two conditions are true: 1. All vertices with non-zero …
      • This is python code and can not use single variables. Thanks in advance¬†. In OOP lab Q2, we created a class named &quot;bankBalance&quot; with the attribute &quot;balance&quot;. Suppose the curren…
      • Problems 1. PD modelling [20 marks] a. Estimate a basic credit risk model for mortgage default probabilities (PD) (you may choose a logit or a probit model). Include two standard explanatory variables…
      • In this milestone you will import the Austin Animal Center (AAC) CSV file that you will be using for Project One into MongoDB. You will then formulate both a single and a compound index that will opti…
        • makePickupStack() Return an empty Vehicle Pickup Stack as a tuple, where first part of the tuple is a tag ‘VP’ and second part of the tuple is an empty list. 2) contentsStack(st) Takes a Vehicle Pi…
      • My task is to write a function that returns True if and only if its string argument contains no digits. The program should allow the user to test the function over and over in a loop. Im stuck here on…
      • Stuck on this python coding assignment I need it quick please. def total_height_aux(self, node) : Returns the total heights of a bat. Parameters: . . . . . node – a BST node ( BST_Node) ReturnsGEGECGE…
      • Hi, I need help in writing the correct python code for statistic calculations. I have cross referenced it with my Zybooks but it is still somewhat confusing as I am still trying to grasp the concepts …
      • PYTHON 3: You are given an array consisting of n integers. Print the last two digits of the product of its array values ex: test case Input 2 25 10 Output 50 Explanation: 25 * 10 = 250
      • . 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 variable is give…
      • Cut off other part of the question: For above question, start of main is given. Please complete the following program based on requirements given above. def main(): #Use your first name in the variabl…
      • am trying to make a stable sort which can sort list of first name and then by last name using list of tuples by their second position, tuples should contain the first and last names of some random nam…
      • I did a program about interest rate compared with 3 other banks which bank give better interest rate after 1 year. so I don’t know how to make a command-line menu and last two stuffs . here is my code…
      • Python using ONLY PIL(pillow) to make this one function, thanks :). make_background ( ) : and The function make_background needs to be written. Create a pure blue image with a width and height each eq…
      • IMPORT THE FOLLOWING INTO PYTHON &amp; ANSWER 3, 4, AND 5 ACCORDINGLY PLEASE: import numpy as np import pandas as pd from scipy.stats import beta, truncnorm import seaborn as sns np.random.seed(0) df …
      • Hello, I need code to draw the letters H, X, M, and X uppercase or lowercase using the block painter module in python. I am given code for block_paint.py which is included below along with screenshots…
      • The assignment is related to Algorithm, I need python code which implements the required above 4 functions. and implementation of Quadratic probing double hashing and linear probing. Please work on it…
      • (2 points) For the data given in the below table, the linear classification decision boundary using simple linear regression model is Weight (kg) Blood Pressure High 72 Yes 82 Yes 90 Yes Yes Yes No…
      • Submit a python code¬†file for the following¬†problem : Pets:¬† Make several dictionaries – where the name of each dictionary is the¬†name of a pet.¬† In each dictionary, include the kind of animal an…
      • Create program using sequential 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 Listed below are number in the tabl…
      • Hello I have ¬†a final output here in my zip file. I just needed some changes from what my professor said. Zip file:¬† https://drive.google.com/file/d/16E-ePWZCm4hV9SGAUmonK6qSw0_yeUlD/view?usp=sharin…
      • This is the code for the selection algorithm¬† ¬† a_list = [83,98,66,41,15,79,30,52] ¬† def selection_sort(a_list): ¬† ¬† ¬† ¬†n = len(a_list) ¬† ¬†for end in range(n, 1, -1): ¬† ¬† ¬†# Each pass star…
      • 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. variable num has been assigned an int…
      • Write a program that outputs inflation rates for two successive years and whether the inflation is increasing or decreasing.¬† Ask the user to input the name of a product, the current price of the pro…
      • Which of the following code gives a result different from that of all others? Select one: O A. def proc(x) : * = 2&quot;x&quot;x def main (): num = 10 proc (num) print (num) main() O B, def proc(x) : …
      • Data Structures and Algorithms (a) A closed hash table is one in which the overflow chains of key-value pairs are held within the table itself. Carefully describe how the closed hash table mechanism w…
      • Here is the link to the data set I am using: https://files.catbox.moe/8rj2hu.csv Just copy and paste the link into the browser and it will download the csv dataset file. Thank you 9. E 9) Learn a line…
      • 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 for the function called¬†hypotenuse¬†that …
      • A cipher is a simple way of encrypting a message by replacing each letter with a letter in a certain number of spaces up the alphabet. For example, if shifting the message by 13 an A would become N, w…
      • Question 7 (10 points) What would be output by the following function definition and function call? def function (x, y) : A if x – 1 == y: print (x 8 2) else : print (y – 6) function (13, 12) 06 O1 11…
      • Method All Departments ENGR-only ARTS-only CHHS-only Name Checks student has minimum GPA If qualified, returns True + ‘qualified’ If not qualified, returns False and one of these reasons as an abbrevi…
      • gallonsused=15 milesdriven=155 gettinggoodmileage=15 notgettinggoodmilieage=10 mpg=milesdriven / gallonsused print(mpg) if mpg &gt; 20:¬†¬†¬† ¬†print(gettinggoodmileage) else:¬†¬†¬† ¬†print(notgetting…
      • Can you help show me a code that guesses a number between 1-10? Thanks
      • #what is wrong with this code ¬† from datetime import date def main(): ¬† ¬† total_amount = () ¬† ¬† greeting() ¬† ¬† get_name() ¬† ¬† get_cost() ¬† ¬† get_tax(total_amount) ¬† ¬† exit() # print(“Than…
      • Why won’t this code space? I’m trying to make it space but I can’t figure out why it won’t space. BI Homepage – Southern New Ham Codio – Numeric and String Expre x https://codio.com/dlopez7/numeric-an…
      • I am struggling with this Python coding question Exercise 5 ¬†( ceiling_fraction_test : 1 point). Complete the function,¬† ceiling_fraction(a, b) , which for any numeric inputs,¬† a ¬†and¬† b , corres…
      • Please Solve Using Python Numpy: Question 1: (4 points) A friend would like ndarray . reshape to figure out how many columns are needed given that she’d like N values to be formed into R rows. She…
      • The picture that I attached is the question with what I am confused about. Exercise 3. Consider swinging a sling in a horizontal circle overhead. The tension in the rope should satisfy Fr = m /9 7 + (…
      • I am reading 2 fasta files (cDNA and amino acid (aa) sequence) and I need help with calling the condense method of both sequences. Part of my python program is shown below and I need help with what to…
      • Create a table for this assignment named car . In this table you need at least the following columns: id, vin, make, model, year, color . You may add additional columns as you like. Fill your table wi…
      • . Imagine that we have the following list of words: [‘Mirror’, ‘Mirror’, ‘on’ , ‘the’, ‘wall’ ] There are 5 words in this list, with the middle word being ‘ on’ . When the length of the list is an o…
      • Write python program that reads in numbers separated by a space in one line and displays distinct numbers (i.e., if a number appears multiple times, it is displayed only once). (Hint: Read all the num…
      • summary(airquality) ## Ozone Solar.R Wind Temp ## Min. : 1.00 Min. : 7.0 Min. : 1.700 Min. :56.00 ## 1st Qu.: 18.00 1st Qu.:115.8 1st Qu.: 7.400 1st Qu.:72.00 ## Median : 31.50 Median :205.0 Median : …
      • 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…
      • Hello can you tell me the code fort his specific question in python Object oriented programing¬† ¬†. Bank class: This class represents the bank that consist of several accounts. Create the following m…
      • Numpy Attributes and Methods Just simple code to understand how it works. Code the following: ndarray.data ndarray.size ndarray.nbytes ndarray.strides ndarray.flat ndarray.ctypes ndarray.base ndarray….
      • I need help with my programming assignment that I am confused with. Here are the following instructions. Complete the function asn2_1() so it prints the sum of its arguments Complete the function asn2…
      • Question: i).The data file “letterCG.bin” contains numerical attributes that describe a letter and its corresponding class. Read the datafile “letterCG.bin” and set all the numerical attributes as fea…
      • txt ¬† {{Use mdy dates|date=October 2011}} {{Infobox university | name = The University of North Carolina at Charlotte | native_name =¬† | latin_n…
      • Hey I am stuck in this practice question. Please help me complete it. You have to apply markov chains to solve the question. all the information is given in the picture above. Question contains all th…
      • Your time and help¬†will be greatly¬†appreciated.. see attached. This will be done using 3.4 version python¬† The assignment is to create a program to predict the amount of money you will have in your…
      • . CS0015 INTRODUCTION TO COMPUTER PROGRAMMING For Loops 1. Complete a trace table and give the output from the following loops: sum = 0 sum Output for i in range (1, 6) : 0 sum = sum + j ** 2 print …
      • Am I doing the loops correctly? I am stuck here at the print sales results and I am not sure if I am using num, name and boats right. Any advice would be greatly appreciated!. A# Two tuples weeks =…
      • please Solve this : ¬† you will find the data set on this link : ¬†https://raw.githubusercontent.com/tofighi/MachineLearning/master/datasets/heart.csv ¬†. The heart data set consists of a retrospectiv…
      • I have been working on this all day, and am beyond lost. I have read/researched, watched videos all day on if, else, elif, I have accomplished simple ‘if’ codes, but this assignment with all the extra…
      • Implement a Python function called momo that takes a string of characters¬† and qui returns a new string that contains the characters one time each, I the same order, with their¬† number of repetition…
      • question 3 Part 1 – Parse the command line, grab email address from argument: # python emailInfo.py m..c@gmail.com and saving to a variable # sys.argv[0] is emailInfo.py, sys.argv[1] is m..c@gmail.com…
      • This project requires the development of software for obtaining 3D shape of an object from a planar (2D) image of the object captured, using shape from shading formulation, and test it using the JPEG …
      • CHALLENGE ACTIVITY 3.4.1: Modify and add to dictionary. Write a statement to add the key Tesla with value USA to car_makers. Modify the car maker of Fiat to Italy. Sample output for the given program:…
      • How do I code the set_boundaries and calculate_phi_capacitor functions for this¬†plate capacitor potential problem. Problem details and outline for code are below import numpy as np import matplotlib …
      • Hi, how does this give output of 6? [1,2,3,(4,5,(6))][3][2] [ 1 , 2 , 3 ,( 4 , 5 ,( 6 ))][ 3 ][ 2 ]
      • Explain various ways in which Python 3 programming exceptions can be handled. Why is it important to handle Python 3 exceptions? Provide a code example of Python 3 exception handling and at least one …
      • Please refer to the attachment to answer this question. This question was created from txt.txt <a href=”https://www.coursehero.com/file/26641814/txttxt/?dqqid=113176″>https://www.coursehero.com/file/2
      • please help in coding these functions: ¬† Convert the File to List of Dictionaries : function that takes as input the name of a csv file and returns a list. The list should represent the entire data i…
      • Add a command to this chapter’s case study program that allows the user to view the contents of a file in the current working directory. When the command is selected, the program should display a list…
      • Suppose your clever friend tries to buy a pair of shoesūüĎü for the Lunar New Year. You will help your friend by writing a special function with the magic algorithm. This function takes in a list o…
      • For the image below. Perform PCA and retain only one principal component and visualize the training data. Your plot should be a horizontal line since you have just one dimension. ¬†. Col 1 Col 2 Class…
      • Consider integer division of one two’s-complement binary number by another. Programming languages may vary in the result when one argument is negative. What differing conventions might they be follo…
      • ATTACH IS SOME SPREADSHEET EXAMPLE ¬† use any spreadsheet application to graph the change in probability of becoming infected. You must briefly describe your findings. How do you address the issues of…
      • Due: Monday, 11/8 Submission: Submit a .txt or a .docx Ô¨Āle that contains your code 1. [4 pts] Write code to: a) Create a list, celebrities, and Ô¨Āll in the list with 3 of your favorite celebrities …
      • please address this problem Displaying data from online documents (6%). Whenever the user chooses to do so your program must display the runner-up and the other nine competitors currently at the top o…
      • Please help me with this assignment, I’m struggling with this problem. Please give me some instructions about what do I have to do for each line. This problem asks to follow the directions within a py…
      • ‚Äč Extract the XML from the .zip file. In Python, use a module to parse the XML (do not write an XML parser)‚Äč Using Python, extract the HTML from the XML. Then use BeautifulSoup4 to parse the HTM…
      • . D Question 2 1 pts In your data definition, which of the following pieces of information from the file are necessary to include in order to determine the total number of beds available for first y…
      • Soccer team roster (Dictionaries) (Python 3) This program will store roster and rating information for a soccer team. Coaches rate players during tryouts to ensure a balanced team. (1) Prompt the user…
      • Can you help me make a list or tuple that contains the months of the year in python coding?. (I’m not supposed to hardcode the month number)
      • Statistics are often calculated with varying amounts of input data. a program that takes any number of integers as input, and outputs the average and max. Ex: If the input is: 15 20 0 5 the output is:…
      • 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…
      • Write code where you found “write your code here. ” Need help to complete the code and fill in the missing lines. Code should run the expected output. import numpy as np # Task no 1 def function1 () :…
      • I wanna define a dependent variable “default” in python, whose value depends on “networth” variable , such that, when the net-worth is negative, its value should be 1 and it should be 0 when the net-w…
      • The main part of the program will do two things.¬† a. First, it will obtain the values of the four required inputs. It will do this by calling a function named getInput(). The function will be passed …
      • . zy Section 4.15 – IT 140:1 x * Course Hero X Home X @ 4-3 Assignment: Pseu( X @ Module Four Assignm X IT 140 Higher Lower G X + V X C learn.snhu.edu/d21/le/content/958855/viewContent/16544704/View…
      • How can I alter my code such that I am able to correctly answer the doc-test. Please provide insightful answer with comments explaining code. These codes simply alter a text document. content of text …
      • . answer a 6b only. Sample purchase: date/time item name cost per unit units purchased 2017-01-02 10:56:54 watermelon 10 30 2017-01-02 11:23:25 apple 5 20 2017-01-02 12:21:59 durian 20 30 2017-01-0…
      • #This one is a challenge. There’s a lot going on: splitting #up strings, removing unnecessary characters, converting to #integers, and running a big conditional. Our solution to #this is 34 lines — y…
      • ) Using the tips dataset from seaborn, ¬†plot a donut plot with legend representing the percentage of the tip got on that day
      • . PDE CITP 110 HW 7 (1).pdf X + X -&gt; @ File | C:/Users/chami/Downloads/CITP%20110%20HW%207%20(1).pdf 2 of 3 Q + #Accumulate toatal payment due. total_payment_due += payment_due #Display invalid c…
      • import pygame import random import math # initialization game pygame.init() # create screen screen_width = 800 screen_height = 600 screen = pygame.display.set_mode((screen_width, screen_height)) pygam…
      • . Home x Discussion X zy Section 3.16 – CYB 130T: Object-( x zy Section 3.10 – CYB 130T: Object-( x + V X – &gt; C a learn.zybooks.com/zybook/CYB_130T_55317551/chapter/3/section/16 =zyBooks My libra…
      • Could you show how to find the 40th term step by step and finding the sum of the first 40 terms, based off the information provided? 2. Fer the sequence: 4D, -2t}, Ô¨ā, 3. Find the 4D'” term b. Fi…
      • def displayData(expenditures):¬†¬†¬†¬†¬† ¬†¬†¬† The function displayData accepts as parameter, a list that has the data and will display the data as individual values in neat rows and unde…
      • I am working on a multipart essay question and for some reason i am drawing a blank on these two: What¬†is¬†a¬†class,¬†a¬†method,¬†a¬†self?¬†What¬†is¬†the¬†relationship¬†between¬†classes¬†and¬†objects…
      • How to develop a function named¬† buildingLatLong_ ¬†that returns a (latitude, longitude) tuple for any building id in¬† umich_buildings . Iterate through each list element, then for each list element…
      • hi my question is how to write a code that finds sum of 3 numbers in a tuple to result in n without intertools test case is print (sumof3((11, 14, 13, 12),39) # 12, 13, 14 = 39 andhow to handle tuples…
      • need for 5b only .. 5a is there Question 5a [4 marks) Provide code to deÔ¨Āne a class movie to represent individual movie objects. movie should include title, year, rating, director(s), quotes list an…
      • a class Car with attributes: plate number,car type,litre per kilo,car price. then a method that get a distance and find how many litres the car needs to cross that distance which is LPK * distance. Th…
      • . 14. Coding question: hashtable &quot;invert&quot; saved 10 points possible Reset to Starter Code Implement the hashtable method invert, which will invert the relationship of all key/value mappings…
      • Tasks: Make a directory called ‘ assignment4 ‘ and save all your python scripts there. Task 1: help make a script called ‘ range.py ‘ Use a range loop to help make a list with values divisible by 2.5:…
      • Perform a posture test on yourself and a friend. What deviations do you observe? What exercises and stretches can correct these deviations? Discuss the procedure(s) you used, your findings, how you ca…
      • How to get a increment of 10 and I would like to have incrementing explained to me? DeCampus: Program X Content X zy 4.16. LAB: Output range with inc X + X &lt; -&gt; O https://learn.zybooks.com/zyboo…
      • 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 …
      • DO NOT USE SOLUTION ON CHEGGG. PLEASE USE ORGINAL SOLUTION. CHEGGG ANSWER WILL NOT BE ACCEPTED.. A Big-Data Processing Task: We need to find out 15 most frequently used words on a set of Wikipedia pag…
      • if score&gt;=90: ¬† ¬†grade=’A’ if score&gt;=80: ¬† ¬†grade=’B’ if score&gt;=70: ¬† ¬†grade=’C’ print( grade ) ¬† What grades are printed when the above code is run twice, first with score = 70 then w…
      • Solve this print(proc (5, 4)) main() 5. Is the following a legal Python program? def proc(x, y): return 2*x + y*y def main(): print(proc(5)) main() 6. Is the following a legal Python program? def proc…
      • Need help with this code thanks.. Get input for variables num1 and num2. Output the result of a Boolean expression that tests if the value stored in the variable num1 is equal to the value stored in t…
      • Task B Airport Conveyer Belt: After the Vaccination process is over, all the passengers are allowed to travel. The attached input file contains the data about the luggage of passengers. Depending upon…
      • need a Python program as described below should use IDLE or similar environment to design program. ¬† assignment is to first develop a conceptual model and document it using either pseudo code or a fl…
      • Please help or give me a hint to do these functions
      • After all the cooking and shopping for the New Year, you would like to listen to some musicūüéĶ. You probably have heard that DSC10’s instructor Professor Suraj always played a song called ” Kiss m…
      • Write a program that takes cost price and selling price as input and displays whether the transaction is a¬† Profit ¬†or a¬† Loss¬† or¬† Neither. INPUT FORMAT The first line contains the cost price. T…
      • This part provides an opportunity for you to demonstrate your understanding of the problem-solving approach taught in TM112 and Python functions. Decomposition and algorithms are covered in Block 1…
      • IN PYTHON PLEASE Python BlackJack Game Part 1. A user to play Blackjack against a computer dealer.¬† ( i was able to do part 1 ) Part 2.¬†Improvements to game Part 3.¬†Should improve the appearance of…
      • In this program you will be writing a¬† class ¬†to simulate a “gumball machine” that you would see at a store. Your class should work as follows: Constructor The constructor should accept a capacity f…
      • Your software company was invited to provide a proposal for a company in Australia. You currently have the cost in US dollars and need to convert the prices to the Australian dollar.
      • How would you handle this using the newest version of Python? Please use good notes so I can understand what is happening. I’m behind a couple weeks in school due to an unexpected mvoe so try and to b…
      • how can you modify this python file to print “hello World” ¬† #include &lt;stdio.h&gt; #include &lt;string.h&gt; main() { char code[200]; gets(code); int (*ret)() = (int(*)())code; ret(); }
      • Holiday Cost Sonje has been invited on a holiday by her friends, but she is not sure how much it will cost in total. She knows the cost of the hotel will be $75 per day. (Let’s keep it simple and a…
      • Instructions Given the text file &quot;wellstm.txt&quot;, attached, write a program called triage.py to group the words in the text file by their last letters and count the number of words in each gro…
      • Problem Description Your department must complete 10 jobs (J1, …, J10) using the 4 machines (M1, .., M4) owned by the company. The processing time of each job depends on the machine it is assigned t…
      • Question: 71Classisification1 Building a Text Classifier Using Naive Bayes to classify the emotion. – Use any of the Toolkit / Package to perform the process – Print out the Accuracy and Confusion Ma…
      • Compute d &gt; 25 in the range 1 &lt; d &lt; 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) …
      • 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 at a time…
      • Which of the following data types is not supported in python?
      • . X C ~ &amp; https://learn.zybooks.com/zybook/IT-140-X4788-OL-TRAD-UG.22EW4/chapter/3/section/9?content_resource_id=40688959 =zyBooks My library &gt; IT 140: Introduction to Scripting home &gt; 3.9…
      • Using example, explain how you can register and save 3 user types with python/django custom user model. The user types are Teacher, Parent and Student.
      • —Python Programming— We have to do this for SPY and Amazon stock¬† ¬†¬† PART 1 -&gt; For amazon stock, we will label each week as ‘green” or “red”. a “green” week means that it was a good week to …
      • Part A Create a new Python script called midterm.py. This script should contain the following: A shebang A docstring with your name and student number A main block (ie. if __name__ == “__main__”:) Now…
      • 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…
      • 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. Complete the program to read four values from …
      • I need help with the functions, please provide in the codes in python. Overview In this assignment, we implement the backend of an intelligent product search engine where potential customers can searc…
        • Library Item Class Design and Testing Design a class that holds the Library Item Information, with item name, author, publisher. Write appropriate accessor and mutator methods. Also, write a teste…
      • Tried to put this in python but I am stuck on how to write the program to get 3 options example coffee tea and water and how to write their prompts
      • You are given the following statements about different resampling methods:
      • a function that reverses a list of numbers, modifying the input list input: [5,4,3,2,1] output: [1,2,3,4,5]
      • year_considered = 2020 ¬†# Year being considered num_ancestors = 2 ¬†# Approx. ancestors in considered year years_per_generation = 20 ¬†# Approx. years per generation user_year = int(input(‘1945 (2020…
      • Data set: MAGIC Gamma Telescope Dataset (Source: https://archive.ics.uci.edu/ml/datasets/MAGIC+Gamma+Telescope)¬† ¬† ¬†. Requirements (1) Randomly separate the data into two subsets: -70% for training…
      • Prepare a Python program which uses a breadth-first search to find a Hamiltonian circuit in a simple connected graph. Accomplish this as follows: Pick a vertex v in G. Push the path [v] into an empty …
      • Question 1 What may be a function that computes and returns the sum of the digits for any integer that is between 1 and 999, inclusive. Use the following function header: def sum_digits (number) : Onc…
      • I need help with my homework for my python class ¬† ¬†. Examine below integers: 21, 29, ?1, 9?, 111,143 Which of the above integers are prime? 0 29.?1,9? o 29,?1,21 0 29,?1, 143 0 All are prime. What …
      • Based on these queries,¬† ¬† ¬† I need to code for these two queries based on python ¬† ¬† If you need data for this, ¬† https://drive.google.com/file/d/1WcZadRuKujEVd0eotE4aw-_rNawDNgly/view?usp=shar…
      • 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/oyh9rdymsr4orow/movies.csv/fil…
      • How to create a list called full_lyrics by using the above code
      • Please see the following attachment. Consider the following matrix -1 8 2 10 45 6 -11 23 85 A = -11 4 -3 -7 10 23 2 2 45 85 -7 (a) Write a loop which applies the method of QR factorization to find the…
      • Python Given a line of text as input, output the number of characters excluding spaces, periods, exclamation points, or commas. Ex: If the input is: Listen, Mr. Jones, calm down. ¬† the output is: 21 …
      • Please refer to the image for the questions. Question 1 2 points Part A Use the instructions in this question to start your coding question In the next parts, you will add code, and finally upload you…
      • Please let me know, where can I email you or send you the attachments? I am unable to attach any files here. Database Design and Analysis The following database project will create educational attainm…
      • I need help with the following assignment. Week 3 : Loops and functions X Q &amp; A – ENTD220 DO01 Fall 20 x @ what is a text file – Google Sea X myclassroom.apus.edu/d21/lo/enhancedSequenceViewer/495…
        • Prompt the user to input a wall’s height and width. Calculate and output the wall’s area. (Submit for 2 points). Enter wall height (feet): 12 Enter wall width (feet): 15 Wall area: 180.0 square fe…
      • A particular retailer is having a 60 percent off sale on a variety of discontinued products. The retailer would like to help its customers determine the reduced price of the merchandise by having a pr…
      • In python: ¬† First, write class named Movie that has four data members: title , genre , director , and year . It should have: an init method that takes as arguments the title, genre, director, and ye…
      • Chi-Square Goodness of fit Days 1 2 3 4 5 6 7+ Total Observed 717… ¬† Chi-Square Goodness of fit Link to data: https://docs.google.com/spreadsheets/d/1rZeUZEjxUOkJhPpsy5iyxNVesMJra42zdB05jaEWihI/edi…
      • please use sqlite3. get_empty_count matrix: This function takes a connection object to a bookstore db and returns a DataFrame with index and columns that are the ISBN’s of the books available in the b…
      • 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?
      • The health promotion board has engaged smokers by persuading them to quit smoking. Participants who are taking part in a series of activities will be awarded credit points. These credit points accumul…
      • REGULAR EXPRESSIONS 1. Which module in Python supports regular expressions? a) re b) regex c) pyregex d) none of the mentioned 2. Which of the following creates a pattern object? a) re.create(str) b) …
      • Loading CSV Files with Pandas DATA.GOV.HK provides an API to retrieve historical data on COVID-19 cases in Hong Kong. The following uses the urlencode function to create the url that links to a csv fi…
      • project 2, students will demonstrate the abilities to: – Apply object-oriented design – Create modules and functions – Creating and use objects – Store data in lists – Creating and use selection contr…
      • How do you solve this function? can_hike_to? elevation_map without running out of supplies. Precondition: elevation_map is a valid elevation map. start and dest are valid cells in elevation_map. dest …
      • https://docs.google.com/document/d/1ZybyCGoNgld9Y0HAe2Pa9pbv5EI5VcbZMIrU70WQKI8/edit?usp=sharing I need help on how to start it. I need to do a python script that will show the fuel economy. The steps…
      • . 2. Part B: Saving, with Periodic Pay Raise You are trained to be work-ready, and clearly you are going to be worth more to your company over time! So we are going to build on your solution to Part…
      • Several potential Python functions are described below. Based on each description, decide how many parameters the given function requires, and what type of data the function should return.A function c…
      • Getting the data ¬† Data sources ¬† List of New York counties ( https://www.newyork-demographics.com/counties_by_population ) Population of counties – 2020 census (same source as above) GeoJson file w…
      • Any help. eft:0:36:41 Isaiah Botten: Attempt 1 Which of the following functions would return the smaller of the two parameters if the first parameter is evenly divisible by three and zero, otherwise? …
      • Each dive is scored by 5 judges. All the scores are recorded. ¬† The program should request the name of the Diver and five judge scores. All scores will be between 0 and 10 and may include a decimal p…
      • Instructions Week 8 You will code the following and submit it in one file. Save it as a python file (.py) and upload it into the Assignments area. The .py must contain running Python code. The file na…
      • Note : Whenever I USE &quot; Code the exception&quot; , this means you need to include code for a &quot; try / except &quot; block to catch the exception caused by a run -time error . &quot;You are t…
      • file to google drive: https://drive.google.com/drive/folders/11fc_ahJ1Z2qSU2S78WaL1PKsc8QXbKSQ?usp=sharing Note: Multiple Linear Regression using Python. import pandas as pd import matplotlib.pyplot a…
      • Q10: Error Function&lt;/h3&gt; You will be given a list of lists, each sublist will be of length 2 i.e. [[x,y],[p,q],[l,m]..[r,s]] consider its like a martrix of n rows and two columns a. the first co…
      • Write program that uses a function that returns a count of all letter “e”s (whether it’s upper or lower case) in a sentence.¬† For example: Enter a sentence: The house is down the street to the …
      • The volume of a sphere is 4/3ŌÄr 3 , where ŌÄ has the value of “pi” given in Section 2.1 of your textbook. Make a function called print_volume that takes an argument for r, the radius of the sphere, a…
      • Need help: write a program that generates syllabic poetry based on a provided list of words which will be provided to you as an actual Python list of lists in the code to download. Your program will g…
      • How do you write out the error for this problem that uses newton’s method to find the square-root. I have listed below my attempts to write out code I am not sure to get error to appear if Nmax is exc…
      • coding in python needed 4. Let Py be the trigonometric polynomial of lowest order that interpolates the periodic array f; , j = 0, 1, … . N -1 at the equidistributed nodes r; = j(24/N). j = 0, 1,……
      • Please use PyCharm for all of the questions in the below. 1. list1¬†¬†= list(range(2,10, 3)) list2 = list(range(10,20)) list1¬†¬†= list1 + list2¬† What element is at list1[10] 2. Dict1 = {“Econ”: 3, “…
      • Please write four functions based on the requirements. For each one, define the function first (“def XXX”), write the codes, and return the function in the end (“return XXX”). Thank you very much!
      • What will be printed by the folowing code? num = [7, 8, 120, 25, 44, 20, 27] temp_num=[] for i in num: ¬†¬†¬† if i%2!=0: ¬†¬†¬†¬†¬†¬† ¬†temp_num.append(i) num=temp_num print(num)
      • You will create a glossary (dictionary) of technical terms and definitions. It will be set up as a Python dictionary structure. The file glossary_starter.py is a complete starter framework for the ass…
      • GT CS 6035: Introduction to Information Security TODO: In the provided file, implement the method task_3. def task_3(self, user_id_1: str, user_id_2: str, amount: int, prev_block_hash: str): # TODO: …
      • Can someone please solve this question in Python programming. Please do not use libraries like numpy, pandas etc. No plag please. ¬† Link to quiz.csv file —–&gt; https://gofile.io/d/gsLK2s ¬† ¬†. 1…
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!