Answer:
A
Explanation:
Answer:
D - work on layers if possible
Explanation:
Adding layers will make sure that if you mess up you can delete the layer instead of having to restart. Also I took the same test and got it correct.
I wrote a Pong Project on CodeHs (Python) (turtle) and my code doesn't work can you guys help me:
#this part allows for the turtle to draw the paddles, ball, etc
import turtle
width = 800
height = 600
#this part will make the tittle screen
wn = turtle.Screen()
turtle.Screen("Pong Game")
wn.setup(width, height)
wn.bgcolor("black")
wn.tracer(0)
#this is the score
score_a = 0
score_b = 0
#this is the player 1 paddle
paddle_a = turtle.Turtle()
paddle_a.speed(0)
paddle_a.shape("square")
paddle_a.color("white")
paddle_a.shape.size(stretch_wid = 5, stretch_len = 1)
paddle_a.penup()
paddle_a.goto(-350, 0)
#this is the player 2 paddle
paddle_b = turtle.Turtle()
paddle_b.speed(0)
paddle_b.shape("square")
paddle_b.color("white")
paddle_b.shapesize(stretch_wid = 5, stretch_len = 1)
paddle_b.penup()
paddle_b.goto(350, 0)
#this is the ball
ball = turtle.Turtle()
ball.speed(0)
ball.shape("square")
ball.color("white")
ball.penup()
ball.goto(0, 0)
ball.dx = 2
ball.dy = -2
#Pen
pen = turtle.Turtle()
pen.speed(0)
pen.color("white")
pen.penup()
pen.hideturtle()
pen.goto(0, 260)
pen.write("Player A: 0 Player B: 0", align="center", font=("Courier", 24, "normal"))
#this is a really important code, this part makes it move players 1 and 2 paddles
def paddle_a_up():
y = paddle_a.ycor()
y += 20
paddle_a.sety(y)
def paddle_a_down():
y = paddle_a.ycor()
y -= 20
paddle_a.sety(y)
def paddle_b_up():
y = paddle_b.ycor()
y += 20
paddle_b.sety(y)
def paddle_b_down():
y = paddle_b.ycor()
y -= 20
paddle_b.sety(y)
#these are the controls for the paddles
wn.listen()
wn.onkeypress(paddle_a_up, "w")
wn.onkeypress(paddle_a_down, "s")
wn.onkeypress(paddle_b_up, "Up")
wn.onkeypress(paddle_b_down, "Down")
#this is the main game loop
while True:
wn.update()
#this will move the ball
ball.setx(ball.xcor() + ball.dx)
ball.sety(ball.ycor() + ball.dy)
#this is if the ball goes to the the other players score line
if ball.ycor() > 290:
ball.sety(290)
ball.dy *= -1
if ball.ycor() < -290:
ball.sety(-290)
ball.dy *= -1
if ball.xcor() > 390:
ball.goto(0, 0)
ball.dx *= -1
score_a += 1
pen.clear()
pen.write("Player A: {} Player B: {}".format(score_a, score_b), align="center", font=("Courier", 24, "normal"))
if ball.xcor() < -390:
ball.goto(0, 0)
ball.dx *= -1
score_b += 1
pen.clear()
pen.write("Player A: {} Player B: {}".format(score_a, score_b), align="center", font=("Courier", 24, "normal"))
# this makes the ball bounce off the paddles
if (ball.xcor() > 340 and ball.xcor() < 350) and (ball.ycor() < paddle_b.ycor() + 40 and ball.ycor() > paddle_b.ycor() - 40):
ball.setx(340)
ball.dx *= -1
if (ball.xcor() < -340 and ball.xcor() > -350) and (ball.ycor() < paddle_a.ycor() + 40 and ball.ycor() > paddle_a.ycor() - 40):
ball.setx(-340)
ball.dx *= -1
Answer:
Try this!
Explanation:
# This part allows for the turtle to draw the paddles, ball, etc
import turtle
width = 800
height = 600
# This part will make the title screen
wn = turtle.Screen()
wn.title("Pong Game")
wn.setup(width, height)
wn.bgcolor("black")
wn.tracer(0)
# This is the score
score_a = 0
score_b = 0
# This is the player 1 paddle
paddle_a = turtle.Turtle()
paddle_a.speed(0)
paddle_a.shape("square")
paddle_a.color("white")
paddle_a.shapesize(stretch_wid=5, stretch_len=1)
paddle_a.penup()
paddle_a.goto(-350, 0)
# This is the player 2 paddle
paddle_b = turtle.Turtle()
paddle_b.speed(0)
paddle_b.shape("square")
paddle_b.color("white")
paddle_b.shapesize(stretch_wid=5, stretch_len=1)
paddle_b.penup()
paddle_b.goto(350, 0)
# This is the ball
ball = turtle.Turtle()
ball.speed(0)
ball.shape("square")
ball.color("white")
ball.penup()
ball.goto(0, 0)
ball.dx = 2
ball.dy = -2
# Pen
pen = turtle.Turtle()
pen.speed(0)
pen.color("white")
pen.penup()
pen.hideturtle()
pen.goto(0, 260)
pen.write("Player A: 0 Player B: 0", align="center", font=("Courier", 24, "normal"))
# This is a really important code, this part makes it move players 1 and 2 paddles
def paddle_a_up():
y = paddle_a.ycor()
y += 20
paddle_a.sety(y)
def paddle_a_down():
y = paddle_a.ycor()
y -= 20
paddle_a.sety(y)
def paddle_b_up():
y = paddle_b.ycor()
y += 20
paddle_b.sety(y)
def paddle_b_down():
y = paddle_b.ycor()
y -= 20
paddle_b.sety(y)
# These are the controls for the paddles
wn.listen()
wn.onkeypress(paddle_a_up, "w")
wn.onkeypress(paddle_a_down, "s")
wn.onkeypress(paddle_b_up, "Up")
wn.onkeypress(paddle_b_down, "Down")
# This is the main game loop
while True:
wn.update()
# This will move the ball
ball.setx(ball.xcor() + ball.dx)
ball.sety(ball.ycor() + ball.dy)
# This is if the ball goes to the other player's score line
if ball.ycor() > 290:
ball.sety(290)
ball.dy *= -1
if ball.ycor() < -290:
ball.sety(-290)
ball.dy *= -1
construct a matrix with 3 rows containing the numbers 1 up to 9, filled row-wise.
The matrix with 3 rows containing the numbers 1 up to 9, filled row-wise, is as follows:
1 2 3
4 5 6
7 8 9
In this matrix, each row represents one of the three rows, and the numbers 1 to 9 are filled row-wise from left to right.
To construct this matrix, you start with the number 1 in the first row and continue filling the subsequent numbers in increasing order, row by row, until reaching 9 in the last row. This ensures that the numbers are arranged in a row-wise manner, going from left to right within each row.
The resulting matrix has three rows and three columns, with the numbers 1 to 9 distributed across the rows.
learn more about "matrix":- https://brainly.com/question/11989522
#SPJ11
This program is an example of:
def factorial(x):
if x == 1:
return x
else:
return x * factorial(x-1)
Group of answer choices
a do while loop.
recursion.
a for loop.
a while loop.
The program is an example of recursion
In computer programming, recursion is a process in which a function calls itself.
In a recursive program, there is a
base case and a recursive case.When the condition of recursion is met, the base case is returned, else, the recursive case is continued.
In the function given above,
the base case is 'return x' under the condition 'if x == 1'. The recursive case is 'return x * factorial(x - 1)'.So, the function runs until the base case it met and then it stops.
So, the program is an example of recursion.
Learn more about recursion here:
https://brainly.com/question/25797503
dividing a file into packets and routing them through the internet to their destination is a function of?
This is a function of packet switching, which is the process of breaking up data into small chunks, called packets, and sending them across a network to their destination.
What is data?
Data is information that is organized and stored in a structured manner. It is typically used by businesses and organizations to help them make decisions. Data can be qualitative or quantitative, structured or unstructured, and can come from a variety of sources. It can be used to measure performance, explore trends, and identify patterns and correlations. Data can be collected from surveys, experiments, observations, and analysis of existing data. In the modern era, data is increasingly generated from electronic sources such as websites, social media, and databases.
To know more about Data
https://brainly.com/question/30492002
#SPJ4
Which type of computer is used microprocessor
How to fix unable to verify that you have access to this experience. please try again later.?
If you receive the warning "Unable to verify that you have access to this experience," this means that you do. You can attempt the following to resolve the problem: Your internet connection should be checked.
An individual's participation in or living through an event or activity is referred to as having a "experience." In a broad sense, experiences might range from individual activities and adventures to possibilities for learning or employment. A person's views, perceptions, and values might change as a result of experiences. They can have either positive or negative impacts, and they can teach us important lessons that we can apply to our future undertakings. Experiences in the context of contemporary technology can include virtual or augmented reality simulations, games, or applications that provide the user with an interactive and immersive world. Such experiences are redefining how individuals interact with their environment and are becoming more and more common in a variety of disciplines, from education to entertainment.
Learn more about experience here:
https://brainly.com/question/11256472
#SPJ4
The program that translate the URL into an IP address is called the _____ ?
A:Domain Name System
B:Resource Locater
C:Web Browser
D:Web Server
Answer:
The Correct answer is option A: Domain Name System
Explanation:
Let look at each option;
Domain Name System:
We we type an address for example brainly website it goes to DNS server and find the IP address of the computer where brainly website is located. Then the request goes to the IP address. This is the mechanism of DNS.
Resource Locator:
Resource Locator is the URL For example brainly website
Web Browser:
Web browser is a software which is used for internet browsing for example Firefox
Web Server:
Web Server is a computer which give services to clients.
Answer: domain name system
Explanation: very nice exam
Select all statements below that are TRUE for For...Next loops. A. It is used for a fixed number of iterations. B. It is used for a variable number of iterations. C. It uses an integer counter; not a loop condition. D. It uses a loop condition; not an integer counter. E. Only consider this option if you checked alternative D above: It checks the loop condition a the BEGINNING of the loop, F. Only consider this option if you checked alternative D above: It checks the loop condition a the END of the loop,
Answer:
A and C
Explanation:
The for next loop is used for a fixed number of iterations which is usually indicated in the syntax. It uses a counter that increments on each iteration. The loop terminates when the counter reaches the number of initially specified iterations. It is different from a while loop which depends on a specified condition evaluating to the Boolean 'true'.
Surrendering to digital distractions can result in a disappointed
feeling of how you spent your time. True false
Which of the following commands allows the user to round the edges off the selected segments?
Rotate
Stretch
Linetype
Filet
Answer:
rotate
hope it helps
Explanation:
to round the edges off selected segment rotate can do it
you can specify font-weight using numerical values from ____.
The CSS `font-weight` property specifies the weight or thickness of the font. It can take a variety of values, including numerical values that range from 100 to 900, in increments of 100. 100 is the lightest value, while 900 is the heaviest value. The default value for most browsers is 400, which is considered normal or regular weight.
Font weight can be specified in numerical values from 100. There are nine numerical values from which you can choose to specify font weight. Each numerical value corresponds to a specific font thickness level. It is necessary to remember that not all fonts have all nine weights available. To avoid making the page take a long time to load, it is a good idea to specify only the font weights that are required for the web page
.Example of font weight specified in numerical values:```h1 {
font-weight: 900;
}p {
font-weight: 400;
}```The `h1` element would have a weight of 900, making it bold and the `p` element would have a weight of 400, making it normal.
To know more about weight visit:
https://brainly.com/question/31659519
#SPJ11
Write a program that lists all ways people can line up for a photo (all permutations of a list of strings). The program will read a list of one word names (until -1), and use a recursive method to create and output all possible orderings of those names, one ordering per line.
When the input is:
Julia Lucas Mia -1
then the output is (must match the below ordering):
Julia Lucas Mia Julia Mia Lucas Lucas Julia Mia Lucas Mia Julia Mia Julia Lucas Mia Lucas Julia ------File: main.cpp------
#include
#include
#include
using namespace std;
// TODO: Write method to create and output all permutations of the list of names.
void AllPermutations(const vector &permList, const vector &nameList) {
}
int main(int argc, char* argv[]) {
vector nameList;
vector permList;
string name;
// TODO: Read in a list of names; stop when -1 is read. Then call recursive method.
return 0;
}
The code that lists all the possible permutations until -1 that corrects the problem in your code is:
#include <algorithm>
#include <iostream>
#include <vector>
int main() {
std::vector<std::string> names{
"Julia", "Lucas", "Mia"
};
// sort to make sure we start with the combinaion first in lexicographical order.
std::sort(names.begin(), names.end());
do {
// print what we've got:
for(auto& n : names) std::cout << n << ' ';
std::cout << '\n';
// get the next permutation (or quit):
} while(std::next_permutation(names.begin(), names.end()));
}
Read more about permutations here:
https://brainly.com/question/1216161
#SPJ1
is in charge of installing, configuring, testing, and maintaining operating systems, application software, and system-management tools. Network Consultant Lead Technical Support Network Security Analyst Systems Engineer
Systems Engineer is in charge of installing, configuring, testing, and maintaining operating systems, application software, and system-management tools.
What is Application system engineer?An applications and systems engineer is known to be a career that is said to be found in information technology (IT) and they are known to be IT expert who are mandated with the responsibilities that tends to revolve around the work of designing as well as developing applications and also systems so that they can be able ot optimize company operations.
Note that the role of system engineer is that they help in analyzing, planning, implementing, maintaining servers, mainframes, mini-computers, etc.
Therefore, Systems Engineer is in charge of installing, configuring, testing, and maintaining operating systems, application software, and system-management tools.
Learn more about Systems Engineer from
https://brainly.com/question/27940320
#SPJ1
Answer:syestems engineer
Explanation:took the test I’m like that fr fr
what is the information security principle that requires significant tasks to be split up so that more than one individual is required to complete them?
The information security principle that requires significant tasks to be split up so that more than one individual is required to complete them is known as the "separation of duties" or "dual control."
The information security principle that requires significant tasks to be split up so that more than one individual is required to complete them is known as the principle of separation of duties. This principle helps prevent fraud and errors by ensuring that no single individual has complete control over a critical task or process. By dividing responsibilities among multiple individuals, the risk of unauthorized access, modification, or misuse of sensitive information or systems is greatly reduced. Separation of duties is an important aspect of any effective information security program and is often required by regulatory standards and best practices.
To learn more about information security principle, click here:
brainly.com/question/14994219
#SPJ11
Richard wants to share his handwritten class notes with Nick via email. In this scenario, which of the following can help Richard convert the notes into digital images so that he can share them via email? a. Bar coding device b. Digital printing software c. Document scanner d. Radio frequency identification tag
Answer: Document Scanner
Explanation: Cos then he can easily add the paper notes to his computer and email the client.
you recommend splitting the software qa function between genovia and baltonia. how should the work be divided between them? select an option from the choices below and click submit. baltonia should perform most or all of the content qa and genovia should perform most or all of the functional qa. baltonia should receive one half of the qa projects and genovia should receive the other half. baltonia should perform most or all of the functional qa and genovia should perform most or all of the content qa.
Dividing the software QA function between Baltonia and Genovia with Baltonia responsible for most or all of the content QA and Genovia responsible for most or all of the functional QA is a sound approach. Option A is correct.
Content QA involves verifying the quality of the software's content while functional QA involves testing the software's functionality, features, and performance. By assigning tasks based on each team's expertise, the QA function can be carried out more efficiently and effectively.
This division of work allows for better utilization of resources, leads to a more comprehensive testing process, and expedites the software testing process.
Therefore, option A is correct.
Learn more about Baltonia https://brainly.com/question/31864313
#SPJ11
Assembly language programming in MIPS. Use QTSpim to run code.
Write a simple Assembly Language program that has a data section declared as follows:
.data
.byte 12
.byte 97
.byte 133
.byte 82
.byte 236
add the values up, compute the average, and store the result in a memory location.
The given task requires writing an Assembly Language program in MIPS that computes the sum and average of a set of byte values stored in the data section. The values are already provided, and the program needs to calculate the sum, and average, and store the result in a memory location.
In MIPS Assembly Language, we can use the loaded byte (lb) instruction to load the byte values from the data section into registers. We can then use addition (add) instructions to compute the sum of the values. To calculate the average, we divide the sum by the number of values.
Here's an example code snippet in MIPS Assembly Language that accomplishes this task:
.data
.byte 12
.byte 97
.byte 133
.byte 82
.byte 236
.text
.globl main
main:
la $t0, data # Load the address of the data section
li $t1, 5 # Load the number of byte values (5 in this case)
li $t2, 0 # Initialize the sum to 0
loop:
lb $t3, 0($t0) # Load the byte value from the data section
addu $t2, $t2, $t3 # Add the value to the sum
addiu $t0, $t0, 1 # Increment the address to access the next byte
addiu $t1, $t1, -1 # Decrement the count of remaining values
bgtz $t1, loop # Branch to loop if there are more values
div $t2, $t1 # Divide the sum by the number of values
mflo $t4 # Move the quotient to register $t4
sw $t4, result # Store the average in the memory location "result"
li $v0, 10 # Exit the program
syscall
.data
result: .word 0
In this code, the byte values are stored in the data section, and the average is stored in the memory location labeled "result" using the store word (sw) instruction. The program then exits.
Learn more about Assembly Language here :
https://brainly.com/question/31231868
#SPJ11
Fill in the blank with the correct response.
People in STEM careers are considered
thinkers who reach conclusions through sound judgment and reasoning
Save and Exit
Next
What goes in the blank between considered and thinkers
Answer:
logical
Explanation:
Answer:
logical thinkers
Explanation:
they are logical thinkers because they know whats going on
our department is currently searching for a new faculty member and candidates must submit their application through a web-based form found on our web site. to review the applications, i must log into the web site to display the candidates' applications. this kind of software is what? crm fm hrm pm
The two types of software are system software and application software. System software is a class of computer programs designed to run a computer's hardware and application software.
If we think of a computer system as having a layered architecture, the system software acts as the interface between the hardware and user applications. The operating system is the most well-known example of system software.
The term "Common Software" refers to executable files that were produced for non-HIG purposes and that we own or license to perform operations that are common to all development tools. While programs for desktop or laptop computers are occasionally referred to as desktop applications, programs for mobile devices are frequently referred to as mobile apps.
Learn more about software here-
https://brainly.com/question/985406
#SPJ4
you have a thin-provisioned storage space that suddenly unmounts. what is the most likely cause of this problem? answer the storage space has become corrupted. the storage space has run out of disk space. a new storage device has been added to the pool. one of the disks in the storage space pool has crashed.
There is no more disc space available for storage. You wish to set up 100 gigabytes of storage space per drive for a number of people in your firm.
What drawbacks are there to thin provisioning?absence of elastic Although allowing you to increase your disc space as needed, thin provisioning is a non-elastic technology. To put it another way, you can increase your space allocation but not decrease it.
How is it possible to give users access to more storage space than is available in the pool thanks to thin provisioning?Thin provisioning gives users the amount of disc space they need at any given time on demand. More data is saved by the user, consuming more space on the disc.
To know more about gigabytes visit:-
https://brainly.com/question/25222627
#SPJ1
Ups measures routes for each of its drivers, including the number of miles driven, deliveries, and pickups. Which step in the control process does this represent?.
The Monitoring step of the control process involves measuring and evaluating performance against the standards established in the Planning step. By measuring the number of miles:
DrivenDeliveriesPickups for each driverWhich step in the control process does this represent?UPS is monitoring the performance of its drivers by measuring the number of miles driven, deliveries, and pickups for each driver. This is part of the control process, which involves establishing standards in the Planning step and then measuring and evaluating performance against these standards in the Monitoring step. By monitoring the performance of its drivers, UPS can ensure that they are meeting the established standards and make any necessary adjustments to improve their performance.
Learn more about Control process: https://brainly.com/question/25646504
#SPJ4
Follow your teacher's instruction to__________________your computer after each use.
Answer: proper shutdown
Hope that helps!
Can you log into your account with another phone
Answer:
yes
Explanation:
..Thank for the points
Answer:
Yea
Explanation:
you can have two devices on the same account at the same time.
explain impact of modern technology on human life
Answer:
Mobile technology can decrease communication and relations between people. There's less personal time, where you find that you don't enough time for yourself because you're always in contact with someone. Also, it can be distracting from your schoolwork. ... Technological influences shape the way humans act today.
Determine if the following problems exhibit task or data parallelism:
•Using a separate thread to generate a thumbnail for each photo in a collection
•Transposing a matrix in parallel
•A networked application where one thread reads from the network and another
writes to the network
•The fork-join array summation application described in Section 4.5.2
•The Grand Central Dispatch system.
In Computer technology, parallelism can be defined as a situation in which the execution of two (2) or more different tasks starts at the same time. Thus, it simply means that the two (2) tasks or threads are executed simultaneously and as such making computation faster.
The types of parallelism.Generally, there are two (2) main types of parallelism that is used in computer programming and these are:
Data parallelismTask parallelismRead more on parallelism here: https://brainly.com/question/20723333
what is the storage capacity of a single-layer blu-ray disc?
The storage capacity of a single-layer Blu-ray disc is approximately 25 GB.
This is five times more than the storage capacity of a standard DVD which is around 4.7 GB. The increased storage capacity of Blu-ray discs is due to the use of a blue laser which has a shorter wavelength than the red laser used in DVDs and CDs. The shorter wavelength allows for more data to be stored on the disc, resulting in a higher storage capacity.
Blu-ray discs are commonly used for storing high definition video content, as well as for data storage and backup. They are also used for video game storage as they allow for larger game files to be stored on a single disc.
In addition to single-layer discs, there are also double-layer and triple-layer Blu-ray discs available, which can store up to 50 GB and 100 GB of data respectively. These discs are commonly used for storing large amounts of data or high-quality video content, such as 4K Ultra HD video.
Overall, the storage capacity of Blu-ray discs has significantly increased the amount of data that can be stored on optical media, making them a popular choice for various applications.
Learn more about storage :
https://brainly.com/question/86807
#SPJ11
Suppose a slide contains three ovals and you want to evenly space the ovals horizontally across the slide. after you select the three ovals, which command would you use to accomplish this?
The slide's oval shapes can be uniformly spaced apart using the Align tool. Selecting the three ovals and then choosing "Align Horizontally" from the Align panel will accomplish this.
To evenly space three ovals horizontally across a slide in Microsoft PowerPoint, you can use the Align command. Here are the steps:
Select the three ovals that you want to align.
Go to the "Home" tab on the ribbon and click on the "Align" button in the "Arrange" section.
From the drop-down menu, select "Align Center." This will center all three ovals horizontally on the slide. Next, select "Distribute Horizontally." This will evenly space the ovals across the slide so that the same amount of space is between each oval. Finally, check to make sure that the ovals are aligned and spaced correctly. By using the Align and Distribute commands, you can easily and accurately arrange multiple objects on a slide. This can save time and ensure that your presentation looks professional and organized.
To know more about Space ovals Please click on the given link.
https://brainly.com/question/30112524
#SPJ4
G you must write a python script name laplace_equal_segments. Py that will create the linear system of equations 7. You will solve the problem using the linear algebra function solve in scipy. Your program should
The Python code for the laplace_equal_segments.py script that creates the linear system of equations 7 and solves it using the linear algebra function solve in scipy is given below:
import numpy as np
from scipy.linalg import solve
def laplace_equal_segments(n):
"""
Solves the Laplace equation on the unit interval with n equal segments using the method of finite differences.
"""
# Create a (n+1)x(n+1) matrix A
A = np.zeros((n+1, n+1))
for i in range(1, n):
A[i, i] = -2.0
A[i, i-1] = 1.0
A[i, i+1] = 1.0
A[0, 0] = A[n, n] = 1.0
# Create a (n+1)x1 vector b
b = np.zeros(n+1)
b[0] = b[n] = 0.0
# Solve the linear system Ax = b
x = solve(A, b)
return x
Explanation:
The function laplace_equal_segments(n) takes an integer n as input, which is the number of equal segments we want to divide the unit interval into. The function creates a (n+1)x(n+1) matrix A using finite differences to discretize the Laplace equation on the unit interval, and then creates a (n+1)x1 vector b with boundary conditions. Finally, it solves the linear system Ax = b using the solve function from scipy.linalg, and returns the solution vector x. To use the function, simply call laplace_equal_segments(n) with your desired value of n. For example, to solve the Laplace equation with 10 equal segments, you would call laplace_equal_segments(10).
To know more about the Laplace equation click here:
https://brainly.com/question/31401711
#SPJ11
why is this python code giving me problems?
This is having the user input a decimal number and the code has to round it up to the 2nd decimal place. This code is giving me problems, please fix it.
num3 = int(input("Please input a decimal number:")
num3 = int(round(num3, 2))
print ("your decimal rounded to the 2nd decimal place is:", x)
Answer:
The answer to this question is given below in the explanation section.
Explanation:
The given code in this program has syntax errors.
In the given code, at line 1, input will cast or convert to int. It will generate an error on the second line because integer numbers can't be rounded. In simple, integer numbers don't have decimals. So, to correct the line you must use float instead of int.
In the second line, you need also to emit the int casting (data type conversion), because you have already converted the input into the float. In line 3, the second parameter to print function is num3, not x.
So the correct lines of the python code are given below:
num3 = float(input("Please input a decimal number:"))
num3 = (round(num3, 2))
print ("your decimal rounded to the 2nd decimal place is:", num3)
When you will run the above bold lines of code, it will run the program successfully without giving you any syntax and semantic error.
To connect an analog microphone which color port would you use?
Identify the audio jacks on the back of your computer. Unless your computer is very old, the jacks are color-coded green for line-out -- for speakers or headphones -- blue for line-in and pink for a microphone.
What is patch panel?A patch panel is a tool or item with a number of jacks, typically of the same or similar type, used for connecting and routing circuits for convenient, flexible monitoring, linking, and testing of circuits. Patch panels are frequently used in radio and television, recording studios, and computer networking. The term "patch" was first used in telephony and radio studios, where backup equipment could temporarily replace broken components. Patch cords and patch panels, similar to the jack fields of cord-type telephone switchboards, were used for this reconnection. Patchbays make it simpler to connect various devices in various configurations for various projects because all the adjustments can be made there.
To know more about patch panel visit:
https://brainly.com/question/28197878
#SPJ4