Categories
Python

Learning goal: i’m working on a python question and need an explanation and answer to help me learn.

Learning Goal: I’m working on a python question and need an explanation and answer to help me learn.
Hi, I’m trying to do scraping with BeautifulSoup and Requests
Unfortunately, I’m getting an empty list [].
please I need someone to help me fix this issue.

Categories
Python

Unid number is chosen at random, then every 1000th student is evaluated until 30 students are selected.(e) interested in only one neighborhood, you walk door-to-door to ask residents questions.

Learning Goal: I’m working on a python test / quiz prep and need support to help me learn.
Identify which method for collecting data (observational study, an
experiment, a simulation, or a survey) is best in each of the
following situations and explain your answer
1. The effect a severe earthquake would have on the Salt Lake
Valley
2. Wether or not a certain coupon attached to the outside of a
catalog makes recipients more likely to order products from a
mail-order company.
3. Wether or not smoking has an effect on coronary heart
disease.
4. Determining the average household income of homes in Salt
Lake City.Determine which kind of sampling was used in each of the following
scenarios: (a) To determine the quality of on-campus housing, 20 residents from each dorm were chosen to complete a survey
(b) To evaluate employee compensation, choose a random sample of
10 zip codes in the state, then survey all businesses within each
chosen zip code about their benefits package.
(c) Those who participate to a survey linked to from cnn.com
(d) To determine the quality of education at the University of Utah, a
UNID number is chosen at random, then every 1000th student is
evaluated until 30 students are selected.(e) Interested in only one neighborhood, you walk door-to-door to ask residents questions. Since your time is limited, you do not have a chance to revisit houses where no one answered the door.
(f) Interested in only one neighborhood, you walk door-to-door to ask residents questions. Everyone was home and willing to participate, so you have survey results from every household in the neighborhood.
(g) Chosen at random, 300 people who received care at the University Hospital participated in a survey.

Categories
Python

Learning goal: i’m working on a python question and need guidance to help me learn.

Learning Goal: I’m working on a python question and need guidance to help me learn.
here is the job my name is Jiale Wang
Last name Wang
First name Jiale

Categories
Python

Do all 4 steps

Learning Goal: I’m working on a python exercise and need an explanation and answer to help me learn.
https://www.jetbrains.com/help/pycharm/creating-and-running-your-first-python-project.html
Do all 4 steps

Categories
Python

Learning goal: i’m working on a python project and need support to help me learn.

Learning Goal: I’m working on a python project and need support to help me learn.
i need help with python programming, once i accept a tutor i will send the information on how to access the lab. for the lab there is 6 parts to the lab

Categories
Python

Learning goal: i’m working on a python question and need guidance to help me learn.

Learning Goal: I’m working on a python question and need guidance to help me learn.
write a program to check whether a number is prime or not

Categories
Python

Introduction

Introduction
Imagine a city block of skyscrapers whose area is surrounded by streets. Skyscrapers of
various heights are evenly distributed into the rows and columns of the block. The goal is to
organize the skyscrapers into a valid configuration that meets all the criteria for the puzzle.
The rules for the puzzle are as follows:
i Complete the grid such that every row and column contains the numbers 1 to the size
of the grid. Those numbers represent the height of the skyscrapers.
ii Each row and column contains each number only once.
iii The rules around the outside tell you how many skyscrapers you can see.
iv You can’t see a shorter skyscraper behind a taller one.
2 Implementation
You will implement a program, skyscrapers.py, which reads in a filled skyscraper puzzle
and checks whether the puzzle is correctly solved according to the rules.
2.1 Command Line
The program should execute on the command line as:
$ python3 skyscrapers.py filename
Where filename is the name of the text file containing the grid and clues as one row per line,
with single integers 0-9, separated by spaces. If the filename is not provided, or there are too
many arguments, the program should display the following message to standard output and
exit:
Usage: python3 skyscrapers.py filename
If the filename is provided, it is guaranteed to be correctly formatted.
2.2 Provided files
You have been provided with the following:
1. The data folder contains dierent puzzle files for testing.
2. The output folder contains the sample runs of their corresponding puzzle file.
2.3 Input Specification
The format of the file is explained with comments “//” at the end of each line (the comments
are not in the actual file).
4 // the square dimension of the block
1 2 3 3 // the clues at north looking south values, left to right
4 3 1 2 // the clues at east looking west values, top to bottom
3 3 1 2 // the clues at south looking north values, left to right
1 2 2 2 // the clues at west looking east values, top to bottom
2
4 3 2 1 // row 1 values
1 4 3 2 // row 2 values
3 2 1 4 // row 3 values
2 1 4 3 // row 4 values
// newline (nothing should be read beyond here)
… // comments about this test file
2.4 Program Execution
These are the steps the program should follow.
1. Check the command line arguments and display/exit if the number of arguments is
incorrect.
2. Read the file, save it, and display the puzzle along with the clues.
3. Verify whether the puzzle has been solved correctly. If the puzzle is correct, print The
puzzle is valid!. Otherwise, display a description of the rule violated.
If a puzzle contains several errors, the program will display the first error detected and it
will stop verifying the puzzle.
2.5 Output Specifications
All output should happen to standard output. Refer to the sample runs provided on the
output folder for examples of all the output messages.

Categories
Python

Learning goal: i’m working on a python question and need an explanation and answer to help me learn.

Learning Goal: I’m working on a python question and need an explanation and answer to help me learn.

Categories
Python

The output should be to two decimal points.

Learning Goal: I’m working on a python exercise and need an explanation and answer to help me learn.
Write an output device to read the height and width of a wall and display its area. The output should be to two decimal points.

Categories
Python

I need a professional solution for artificial intelligence (python 3)

Learning Goal: I’m working on a python multi-part question and need an explanation and answer to help me learn.
I need a professional solution for Artificial Intelligence (python 3)