Write a simple basic programme that will furid the sum of two numbers and display its results

Answers

Answer 1

Answer:

les go

Explanation:

a=input()

b=input()

print(a+b)

//python


Related Questions

Which column and row references are updated when you copy the function: =SUM(B5:$D15)?

Answers

When you copy the function =SUM(B5:$D15) to another cell, the column reference remains the same (i.e., B and D), but the row reference changes based on the position of the new cell relative to the original cell.

What is the rationale for the above response?

For example, if you copy the formula to the cell directly below it, the new formula will become =SUM(B6:$D16), where the row references have been incremented by 1. Similarly, if you copy the formula to the cell to the right of it, the new formula will become =SUM(C5:$E15), where the column references have been incremented by 1.

In general, when you copy a formula to a new cell, Excel adjusts the cell references relative to the position of the new cell, unless you use absolute or mixed references by adding a "$" sign before the column or row reference.

Learn more about excel function at:

https://brainly.com/question/30324226?

#SPJ1

Annotate around the picture of the car to explain how formula 1 cars use aerodynamics to increase grip.

Answers

The laws governing aerodynamic development determine the shape of an F1 vehicle. Let's begin by taking a step back and examining the significance of airflow in Formula 1. Aerodynamics' main goal is to create downforce, which forces the wheels deeper into the ground and increases tyre grip.

What is Aerodynamics?

Aerodynamics, which derives from the Ancient Greek words aero (air) and v (dynamics), is the study of air motion, especially as it is influenced by solid objects like aeroplane wings. It touches on subjects related to gas dynamics, a branch of fluid dynamics. Aerodynamics and gas dynamics are frequently used interchangeably, but "gas dynamics" refers to the study of the movements of all gases rather than just air.

80% of the grip needed for the vehicle is produced by the downforce. F1 cars' aerodynamic designs, which enable fast cornering speeds, are mainly responsible for their ability to endure centrifugal forces of up to 4G without skidding off the track.

Hence, Aerodynamics is used to increase the grip of formula car

To learn more about Aerodynamics from the given link

https://brainly.com/question/30031660

#SPJ1

Write a program to output The sum of the cubes of odd integers between 11 and 49​

Answers

Answer:

779400

Explanation:

There are 20 odd integers between 11 and 49, they are 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49. There are 5 odd numbers before 11, and 25 odd numbers from 1 to 49.

Use the formula to calculate the sum

25^2 * (2 * 25^2 - 1) - 5^2 * (2 * 5^2 - 1)

= 25^2 * (2 * 625 - 1) - 5^2 * (2 * 25 - 1)

= 25^2 * (1250 - 1) - 5^2 * (50 - 1)

= 625 * 1249 - 25 * 49

= 780625 - 1225

= 779400

Verify:

11^3 + 13^3 + 15^3 + 17^3 + 19^3 + 21^3 + 23^3 + 25^3 + 27^3 + 29^3 + 31^3 + 33^3 + 35^3 + 37^3 + 39^3 + 41^3 + 43^3 + 45^3 + 47^3 + 49^3

= 1331 + 2197 + 3375 + 4913 + 6859 + 9261 + 12167 + 15625 + 19683 + 24389 + 29791 + 35937 + 42875 + 50653 + 59319 + 68921 + 79507 + 91125 + 103823 + 117649

= 779400

Here's a Python program that will output the sum of the cubes of odd integers between 11 and 49:

sum_of_cubes = 0

for i in range(11, 50):

if i % 2 == 1:

sum_of_cubes += i ** 3

print("The sum of the cubes of odd integers between 11 and 49 is:", sum_of_cubes)

This program initializes a variable called sum_of_cubes to 0, then uses a for loop to iterate through the range of numbers between 11 and 49. For each number in that range, it checks if the number is odd by using the modulus operator (%) to check if the number is divisible by 2 with a remainder of 1. If the number is odd, it adds the cube of that number to the sum_of_cubes variable.

Finally, the program prints out the total sum of the cubes of the odd integers between 11 and 49.

Void Recur_fun(int n) {
if(n > 0) {
Recur_fun(n-1);
cout << n << endl;
Recur_fun(n-1);
}
}

Answers

Note that the recurrence relation for this function is:

T(n) = 2T(n-1) + 1, with T(1) = 1.

Here is the tree for Recur_fun(3):
               Recur_fun(3)

              /           \

      Recur_fun(2)      Recur_fun(2)

        /     \            /     \

 Recur_fun(1)  Recur_fun(1) Recur_fun(1)  Recur_fun(1)

     |            |           |             |

     1            2           3             4


Output for n=3: 1 2 1 3 1 2 1

Here is the tree for Recur_fun(4):

                         Recur_fun(4)

                       /           \

              Recur_fun(3)      Recur_fun(3)

              /     \           /     \

       Recur_fun(2)  Recur_fun(2) Recur_fun(2)  Recur_fun(2)

         /     \      /     \      /     \        /     \

   Recur_fun(1)  Recur_fun(1) Recur_fun(1) Recur_fun(1) Recur_fun(1) Recur_fun(1) Recur_fun(1) Recur_fun(1)

       |            |           |          |          |          |          |            |

       1            2           1          3          1          2          1            4

Output for n=4: 1 2 1 3 1 2 1 4 1 2 1 3 1 2 1

Here is the tree for Recur_fun(5):

                                                   Recur_fun(5)

                                                 /           \

                                           Recur_fun(4)      Recur_fun(4)

                                           /     \            /     \

                                     Recur_fun(3)  Recur_fun(3)  Recur_fun(3)  Recur_fun(3)

                                      /     \      /     \      /     \      /     \

                               Recur_fun(2)  Recur_fun(2) Recur_fun(2) Recur_fun(2) Recur_fun(2)  Recur_fun(2) Recur_fun(2) Recur_fun(2)

                                 /     \      /     \     /     \     /     \     /     \     /     \    /     \     /     \

                           Recur_fun(1) Recur_fun(1) Recur_fun(1) Recur_fun(1) Recur_fun(1) Recur_fun(1) Recur_fun(1) Recur_fun(1) Recur_fun(1) Recur_fun(1) Recur_fun(1) Recur_fun(1) Recur_fun(1) Recur_fun(1) Recur_fun(1) Recur_fun(1)

                                |           |         |        |         |         |          |          |         |        |         |         |         |        |         |          |         |

                                1           2         1        3         1         2          1          4        1        2         1         3         1        2         1          5        1

Output for n=5: 1 2 1 3 1 2 1 4 1 2 1 3 1 2 1 5 1 2 1 3 1 2 1

What is the rationale for the above response?

The rationale behind the response is based on the fact that the function calls itself recursively twice with an argument of n-1 before printing the value of n.

Therefore, the function will keep calling itself with decreasing values of n until n becomes less than or equal to zero, at which point it will start printing the values of n in ascending order. The output for each value of n is determined by following this recursive process.

Learn more about recurrence relation at:

https://brainly.com/question/9521757

#SPJ1

Full Question:

Write the recurrence relation and make a tree

Void Recur_fun(int n) {

if(n > 0) {

Recur_fun(n-1);

cout << n << endl;

Recur_fun(n-1);

}

}

What is the output of this function for n=3, n=4 and, n=5?

Stock images are available for use whith a proper

Answers

A stock image is one that has already been shot and made available for others to use with permission (usually, a license).

What is a stock image?

A stock image is a pre-existing photograph or illustration that is licensed for commercial use by businesses, individuals, and organizations. These images are typically created by professional photographers and graphic designers and are made available for purchase through online platforms or agencies.

Stock images are often used in marketing materials, websites, and social media posts to convey specific messages or concepts. They are a cost-effective solution for businesses that need high-quality visuals but may not have the resources or time to create them from scratch. Stock images are usually sold under a royalty-free or rights-managed license, depending on the intended use and distribution of the image.

To learn more about stock image, visit: https://brainly.com/question/29780715

#SPJ1

In your own words, describe what is meant by digital transformation?

Answers

Answer:

Digital transformation is the process of using digital technologies to create new — or modify existing — business processes, culture, and customer experiences to meet changing business and market requirements. This reimagining of business in the digital age is digital transformation.

Build Your Own Program!
Requirements
The list below lays out the minimum requirements of your program. Feel free to go big and add even more!!
Your program:
must use JavaScript Graphics
must allow the user to interact with your project with either their mouse or keyboard
must use at least one timer
must break down the program into multiple functions
must utilize control structures where applicable

Answers

Modify the code in the subfolder text_scores to create a web application that adds student names and scores into arrays and displays the scores. Should follow the specific guidelines below.

What will be specific guidelines?

The specific guidelines that are mentioned above

var names = ["Ben", "Joel", "Judy", "Anne"];

var scores = [88, 98, 77, 88];

var $ = function (id) { return document.getElementById(id); };

window.onload = function () {

$("add").onclick = addScore;

$("display_scores").onclick = displayScores;

};

Program Requirements are on the website, the Use a Test Score array application appears as follows. One button is needed for the Array; there are two text fields for Name and Score.

Therefore, The software checks the two input text boxes after the user clicks the Add to Array button (5%).

Learn more about array on:

https://brainly.com/question/30757831

#SPJ1

Which range function will print all odd numbers between 11 and 33?
Group of answer choices

range (11, 34)

range (11, 34, 2)

range (11, 33, 2)

range (11, 33)

Answers

Answer:

Explanation:

The range function that will print all odd numbers between 11 and 33 is:

This will start at 11, end at 33 (inclusive), and increment by 2 each time, printing all odd numbers in that range.

What type of person has the necessary skills to research effectively using online resources?

A.
Someone who is functionally capable.

B.
Someone who is physically able.

C.
Someone who is correctly informed.

D.
Someone who is digitally literate.

Answers

Answer:

D

Explanation:

To be able to use online resources effectively, you have to be digital literate so as to know how to use technology to your benefit. You can have a technological tool in your hand which has the potential to turn your life around for good but if you don't know how to use it, what impact will it be able to make? In this digital day and age, it is only the digitally literate that will be able to move forward in life.

Hope it helped :)

Someone who is digitally literate is a type of person that has the necessary skills to research effectively using online resources. The correct option is D.

What is online resource?

Someone who is digitally literate is more likely to have the skills needed to conduct effective research using online resources.

Being digitally literate means having the skills, knowledge, and experience to effectively and efficiently use digital technologies.

This includes the ability to navigate and search the internet, assess the reliability and credibility of online sources, and use online tools and resources effectively for research and learning.

While functional and physical ability are important for using digital technologies, they do not always imply digital literacy.

Correct information is also important, but without the necessary digital literacy skills, it is insufficient to ensure effective online research.

Thus, the correct option is D.

For more details regarding online resources, visit:

https://brainly.com/question/28964112

#SPJ2

Which type of boot authentication is secured

Answers

Answer:

Pre-boot authentication (PBA) or power-on authentication (POA) serves as an extension of the BIOS, UEFI or boot firmware and guarantees a secure, tamper-proof environment external to the operating system as a trusted authentication layer.

WHO IS YOUR FAVORITE FNAF CHARACTER?
Pick at least since there’s a lot-

Ill go first!
1: lolbit ofc
2: Roxanne
3: lefty
4: spring trap
5: Funtime foxy<3
6: foxy (og)
7: SHADOW FREDDY

Answers

Answer:

I really like rockstar freddy, toy bonnie, mangle and balloon boy.

Explanation:

What does the following loop do?

val = 0
total = 0

while (val < 10):
val = val + 1
total = total + val
print(val)
Group of answer choices

Print the numbers forward from 1 to 10.

Print the sum of the numbers from 1 to 10.

Finds the average of the numbers between 1 and 10.

Print the numbers from 1 to 10 along with the sum up to that number.

Answers

Note that the following loop calculates the sum of the numbers from 1 to 10 and prints each value of val as it is being added to the total.

What is the justification for the above response?

The variable "val" is initialized to 0 and "total" is initialized to 0.

The while loop checks if "val" is less than 10. If it is, the loop executes the code inside the loop body.

Inside the loop body, "val" is incremented by 1 and added to "total".

The print statement prints the current value of "val".

The loop continues until "val" is equal to 10.

After the loop finishes, the final value of "val" is 10 and the final value of "total" is the sum of the numbers from 1 to 10, which is 55.

Learn more about loop at:

https://brainly.com/question/30706582

#SPJ1

the degome family lives beside the capitol building which is near the market everyday mrs. degoma goes to the market to buy. what is the best thing she can do to cut down her transportation expenses

Answers

The best thing she can do to cut down her transportation expenses is that she must go by foot to the market as she lives near the market.

What is her living arrangement?

As she has no severe cognitive or the physical disabilities, she must appreciates this living arrangement, which has been the best classified as an assisted living facility.

Assisted living Facilities will allow the older adults to have semi independent living, in the facility in which the older adults use to live in their own rooms or in the apartment.

Therefore, the assisted-living facilities are basically a system of housing, which has the different from nursing homes.

Learn more about nursing on:

https://brainly.com/question/12681285

#SPJ9

Is there an equivalent notion of header information that is added to passengers and baggage as they move down the airline protocol stack?

Answers

With reference to airline industry, they use tags that holds information on passenger's name, destination and flight number for identification.

What is the equivalent notion of header information that is added to passengers and baggage as they move down the airline protocol stack

In the context of the airline industry, there is a similar concept to header information called baggage tags, which are attached to each checked bag as it moves through the airline's handling process. These tags contain information such as the passenger's name, flight number, destination, and a unique identifying number for the bag. This information is used to track the bag's location and ensure that it is loaded onto the correct flight and delivered to the correct destination. Similarly, passengers are assigned boarding passes, which contain information such as the passenger's name, flight number, seat assignment, and departure gate. This information is used to manage passenger flow through the airport and onto the correct flight. So, while the exact terminology may differ, the concept of adding identifying information to passengers and baggage as they move through the airline protocol stack is an essential aspect of airline operations.

Learn more on airline industry here;

https://brainly.com/question/28147456

#SPJ1

How to code a chatbot on your website? I see that chatbots are getting popular now. Recently one chatbot was put into Quizlet. And I want to have my chatbot just like Quizlet.

Answers

Answer:

it is harder than it looks like, you must run some server, use freamworks like django or something esle to store inputs and outputs... wirhound experience best way is copy someones code, or learn

It's important to note that building a chatbot can be a complex process that requires a combination of technical expertise, creative design, and user testing.

What is chatbots?

Building a chatbot for your website can be a great way to engage with your visitors and provide them with helpful information or assistance.

Determine the purpose of your chatbot: Before you start building your chatbot, it's important to identify what you want your chatbot to achieve. Do you want to provide customer support, answer common questions, or provide personalized recommendations?

Design the conversation flow: Once you have a platform, you can start designing the conversation flow for your chatbot. This involves mapping out the questions and responses that your chatbot will provide to users.

Train your chatbot: After designing the conversation flow, you need to train your chatbot using natural language processing (NLP) and machine learning. This involves providing your chatbot with a set of sample questions and responses so that it can learn how to recognize user input and respond appropriately.

Test and refine your chatbot: After your chatbot is up and running, you should test it with real users and gather feedback to identify areas for improvement. Use this feedback to refine your chatbot and make it more effective at meeting your goals.

To know more about chatbots, visit: https://brainly.com/question/29780741

#SPJ1

The results of the spec cpu2006 bzip2 benchmark running on an amd barcelona has an instruction count of 2. 389e12, an execution time of 750 s, and a reference time of 9650 s. Find the cpi if the clock cycle time is 0. 333 ns

Answers

The CPI if the clock cycle time is 0. 333 ns will be 0.74.

so, The CPI = execution time / (instruction count * clock cycle time) = 0.000738 or approximately 0.74.

Define CPI.

CPI stands for "Consumer Price Index." It is a measure of inflation that tracks the average change over time in the prices paid by consumers for a basket of goods and services. The CPI is calculated by taking the price changes for each item in the basket and weighting them according to their relative importance to the average consumer. The resulting index provides a useful indicator of the cost of living and is used by governments, businesses, and individuals to make economic and financial decisions.

To find the CPI (cycles per instruction), we can use the formula:

CPI = execution time / (instruction count * clock cycle time)

Plugging in the given values, we get:

CPI = 750 s / (2.389 x 10^12 * 0.333 ns)

CPI = 0.000738 or approximately 0.74

Therefore, the CPI for the spec cpu2006 bzip2 benchmark running on an AMD Barcelona processor with a clock cycle time of 0.333 ns is approximately 0.74.

To learn more about CPI click here

https://brainly.com/question/1889164

#SPJ1

In what ways does the discrete nature of computers impact the information that can be stored?

Answers

Computers are effective information processors and storage devices that can store, organise, and handle enormous amounts of data at unmatched speeds. The set of all discrete finite bit strings is represented by a limited number of bits (zeroes and ones) in computers. Real numbers, for example, can only be used if a limited representation of them can be found. A computer cannot store the entire number. As a result, real-number computing software actually only operates on a discrete portion of R.

What is a Computer?

A Computer is an electronic device that manipulates information or data and has the ability to store, retrieve, and process it. It can be used to type documents, send emails, play games and browse the Web as well as edit or create spreadsheets, presentations and even videos.

Computers can also store data for later uses as well in appropriate storage devices

Thus, Computers have a broad impact on the information that can be stored.

To learn more about Computer from the given link

https://brainly.com/question/24540334

#SPJ1

A spreadsheet has some values entered: Cell A1 contains 10, cell A2 contains 14, cell A3 contains 7. You enter in cell A4 the
following: =1+2. What value is displayed in A4?
о 3
о 10
O 14
о 24

Answers

Answer: c.14 hope this helps :)

Note that int he above spreadsheet, the value displayed in cell A4 would be "3" (Option A)

What is the rationale for the above response?

This is because the formula =1+2 adds the values 1 and 2 together, resulting in 3. Therefore, cell A4 would display the value 3. The values in cells A1, A2, and A3 are not used in the calculation of cell A4.

A spreadsheet is a software application used for organizing, analyzing, and manipulating data in a tabular form. It consists of rows and columns, with each cell in the table holding a piece of data or a formula that performs a calculation on the data.

Learn more about spreadsheet  at:

https://brainly.com/question/8284022

#SPJ1

PLEASEEE HELP HURRY

Answers

To start searching for a scholarly article on G. o. ogle Scholar, you should:

"Type the title of the article or keywords associated with it." (Option A)

What is the rationale for the above response?

Here are the steps you can follow:

Go to Go. o. gle Scholar website In the search box, type the title of the article or relevant keywords associated with it.Click the "Search" button.Browse through the search results to find the article you are looking for.Click on the title of the article to view the abstract and other details.If the article is available for free, you can download or access it directly from the search results page. If not, you may need to purchase or access it through a library or other academic institution.

Note that you can also use advanced search options and filters available on Go. ogle Scholar to narrow down your search results based on various criteria, such as publication date, author, and journal.

Learn more about G. o. ogle at:

https://brainly.com/question/28727776

#SPJ1

1 Drag each tile to the correct box. Drag the type of connection to the underlying transmission technology it uses. Not all tiles will be used. reserved. dial-up mobile internet cable internet TELEPHONE NETWORK DSL TELEVISION NETWORK Reset C C Next CELLULAR NETWORK​

Answers

Note that the underlying transmission technology and the Type of Connection it uses are matched below.

Type of Connection      Underlying Transmission Technology

Dial-up                                Telephone Network

Cable Internet                Television Network

DSL                                        Telephone Network

Mobile Internet                 Cellular Network

What is Transmission Technology?

Transmission technology refers to the method or technique used to transmit data, signals, or information over a communication channel. This includes a variety of technologies such as cables, optical fibers, wireless signals, or radio waves. Transmission technology is critical to the efficiency, reliability, and speed of data transmission.

The above match pairs different types of connections with their underlying transmission technology.

Dial-up and DSL both use the telephone network to transmit data over phone lines.

Cable internet uses the television network to transmit data over coaxial cables.

Mobile internet uses the cellular network to transmit data wirelessly over radio waves. Each underlying transmission technology has its advantages and disadvantages, which can affect the quality, speed, and reliability of data transmission.

Learn more about  transmission technology:
https://brainly.com/question/14827380
#SPJ1

Write a program to:
• It will collect and output some basic data about the user such as name, and gender which will be
displayed with an accompanying welcome message [3]
• Use appropriate data structures to store the item code, description and price information for
the mobile devices, SIM cards and accessories [2]
• Allow the customer to choose a specific phone or tablet [3]
• Allow phone customers to choose whether the phone will be SIM Free or Pay As You Go [2]
• Calculate the total price of this transaction [4]
• Output a list of the items purchased and the total price. [3]
• Any other choice outside of these three categories would give out appropriate message to the
user and requesting the user to make a new choice. [2]

Answers

According to the question, a program using appropriate data structures are given below:

#include <iostream>

#include <string>

#include <vector>

#include <map>

using namespace std;

int main() {

   string name;

   string gender;

   cout << "Please enter your name: ";

   cin >> name;

   cout << "Please enter your gender (male/female): ";

   cin >> gender;

   cout << "Welcome " << name << ", you are a " << gender << ".\n\n";

   map<string, vector<string>> items;

   items["mobile"] = {"iphone11", "1000", "samsungs20", "800"};

   items["sim"] = {"sim1", "30", "sim2", "40"};

   items["accessories"] = {"charger", "20", "headphone", "30"};

   string choice;

   cout << "Please choose a device (mobile/sim/accessories): ";

   cin >> choice;

   string phone;

   if (choice == "mobile") {

       cout << "Which phone do you want to buy (iphone11/samsungs20) ? ";

       cin >> phone;

       cout << "Do you want to buy a SIM Free or Pay As You Go ? ";

       cin >> choice;

   }

   int totalPrice = 0;

   for (auto item : items[choice]) {

       totalPrice += stoi(item);

   }

   cout << "You have chosen " << phone << " (SIM Free/Pay As You Go) and your total price is: " << totalPrice << endl;

   if (choice != "mobile" && choice != "sim" && choice != "accessories") {

       cout << "Please choose a valid item from the list (mobile/sim/accessories)." << endl;

   }

   return 0;

}

What is data structures?

Data structures are the way in which data is organized and stored in a computer system. Data structures provide a means to manage large amounts of data efficiently, such as large databases and internet indexing services. Data structures are used in almost every program or software system. They are essential in providing an efficient way to store and retrieve data. Data structures are divided into two categories: linear and non-linear. Linear structures include arrays, linked lists, stacks, and queues.

To learn more about data structures

https://brainly.com/question/24268720

#SPJ9

Write a program that uses an initializer list to store the following set of numbers in a list named nums. Then, print the first and last element of the list.

56 25 -28 -5 11 -6

Answers

Answer:

Here's a Python program that uses an initializer list to store the given set of numbers in a list named nums and then prints the first and last elements of the list:

Explanation:

# Initialize a list named nums with the given set of numbers

nums = [56, 25, -28, -5, 11, -6]

# Print the first element of the list

print("First element:", nums[0])

# Print the last element of the list

print("Last element:", nums[-1])

The program outputs:

First element: 56

Last element: -6

7.4 Code 1 Edhesive assignment

Answers

Answer:

I have attached a screenshot of the program. This ensures that the formatting is not destroyed

Explanation:

The isnumeric() method checks to see if the string is composed of only digits 0 - 9. So entering a float number such as 4.2 or a negative number will fail the test on line 3

Review the items below to make sure that your Python project file is complete. After you have finished reviewing your turtle_says_hello.py assignment, upload it to your instructor.

1. Make sure your turtle_says_hello.py program does these things, in this order:

Shows correct syntax in the drawL() function definition. The first 20 lines of the program should match the example code.

Answers

Code defines the drawL() function with the correct syntax and includes the required documentation string. The function takes a turtle object 't' as an argument, and draws an L shape using turtle graphics.

Define the term syntax.

In computer programming, syntax refers to the set of rules that dictate the correct structure and format of code written in a particular programming language. These rules define how instructions and expressions must be written in order to be recognized and executed by the computer.

Syntax encompasses a wide range of elements, including keywords, operators, punctuation, identifiers, and data types, among others. It specifies how these elements can be combined to form valid statements and expressions, and how they must be separated and formatted within the code.

To ensure that your turtle_says_hello.py program meets the requirement of having correct syntax in the drawL() function definition, you can use the following code as an example:

import turtle

def drawL(t):

   """

   Draws an L shape using turtle graphics.

   t: Turtle object

   """

   t.forward(100)

   t.left(90)

   t.forward(50)

   t.right(90)

   t.forward(100)

To ensure that your turtle_says_hello.py program is complete and correct.

1. Make sure that your program runs without errors. You can do this by running your program and verifying that it executes as expected.

2. Check that your program follows the instructions provided in the assignment. Your program should start by importing the turtle module, creating a turtle object, and define the drawL() function.

3. Verify that your drawL() function works as expected. The function should draw an "L" shape using turtle graphics. You can test this by calling the function and verifying that it draws the expected shape.

4. Ensure that your program ends by calling the turtle.done() function. This will keep the turtle window open until you manually close it.

5. Make sure that your code is properly formatted and indented. This will make it easier for others to read and understand your code.

6. Finally, ensure that your program meets any other requirements specified in the assignment. This might include things like adding comments or following a specific naming convention.

Therefore, Once you have verified that your program meets all of these requirements, you can upload it to your instructor for review.

To learn more about syntax click here

https://brainly.com/question/18362095

#SPJ1

Step 1 (3 pts). Input the arrow base height (int) and width (int). Draw a rectangle using asterisks (height x width). Hint: use a nested loop in which the inner loop draws one row of *s, and the outer loop iterates a number of times equal to the height. Submit for grading to confirm two tests pass. Ex: if input is:-. 6-. 4

Answers

Answer:

height = int(input("Enter the arrow base height: "))

width = int(input("Enter the arrow base width: "))

# Draw rectangle

for i in range(height):

for j in range(width):

print('*', end='')

print()

Output:

For the input 6 and 4, the output would be:

****

****

****

****

****

****

The answer is in the comments

Click to review the online content. Then answer the question(s) below, using complete sentences. Scroll down to view additional questions.
Online Content: Site 1

Explain how to determine if an online source is credible. (site 1)

Answers

Determining if an online source is credible is an important skill for research and academic purposes. There are many factors that can help you evaluate the reliability and trustworthiness of a website or an article.

What are some common criteria to check source credibility?

Origin: Check to see if the website was created by a reputable organisation or author. The URL or copyright information can be used to identify the author. Trustworthy websites usually end in .org, .edu, .gov, or any recognizable web address.

Currency: Check if the information is up-to-date and current. You can look at the date of publication or update on the website or article. Outdated information may not reflect the latest developments or research on a topic.

Relevance: Check if the source is relevant to your research topic and purpose. You can look at the title, abstract, introduction, and conclusion of an article to see if it matches your research question and scope.

Authority: Check if the author and publication are a trusted authority on the subject you are researching. You can look at their credentials, affiliations, publications, citations, and reputation in their field.

Accuracy: Check if the information is factual, verifiable, and supported by evidence. You can look at the sources that the author cited and see if they are easy to find, clear, and unbiased. You can also cross-check with other sources to confirm the accuracy of the information.

Purpose: Check if the source has a clear purpose and audience. You can look at the tone, language, style, and bias of the source to see if it is objective, informative, persuasive, or entertaining. You should avoid sources that have hidden agendas, conflicts of interest, or misleading claims.

These are some general guidelines that you can follow when evaluating online sources for credibility. However, you should also use your own critical thinking skills and judgment when deciding whether a source is suitable for your research.

To learn more about website, visit: https://brainly.com/question/28431103

#SPJ1

Consider the following code:

start = int(input("Enter the starting number: "))
stop = int(input("Enter the ending number: "))

x = 3
sum = 0
for i in range (start, stop, x):
sum = sum + i

print (sum)
What is output if the user enters 10 then 15?

Group of answer choices

10

15

23

39

Answers

Answer:

23

Explanation:

The user is prompted to enter the starting number and ending number, which in this case are 10 and 15 respectively. The variable x is assigned the value of 3. The variable sum is initialized to 0. The for loop is executed, with the loop variable i taking on the values start, start+x, start+2x, and so on, up to but not including stop. In this case, the loop variable i will take on the values 10, 13, and 16 (since start is 10, and x is 3). The loop will not include 15 because it is the stopping point and not included. The statement sum = sum + i adds each value of i to the sum variable on each iteration of the loop. After the loop has completed, the value of sum (which is 10 + 13 = 23) is printed. So the correct answer is 23.

What is the output by the following code?

for x in range (3):
for y in range (4):
print("*", end=" ")
print("")
Group of answer choices

* * * *
* * * *
* * * *

* * *
* * *
* * *
* * *

* * * *
* * * *
* * * *
* * * *

* * *
* * *
* * *

Answers

Answer:

* * * *

* * * *

* * * *

That's the answer.

Project performance metrics are used to
A.
increase company profits.

B.
drive customer satisfaction.

C.
assess the health or state of a project.

D.
ensure employee compliance to rules.

Answers

Answer:

C

Explanation:

Project performance metrics are used to assess the health or state of a project.

someone help me please and thank you

Answers

The Creative Commons license allows creators to specify how others can use their work.

It offers options for attribution, non-commercial use, share-alike, and no-derivative works to protect intellectual property and encourage collaboration. See further explanation below.

What is the rationale for the above response?

Attribution: Someone might want to use this part of the Creative Commons license because it ensures that they receive credit for their work. This is important for creators who want recognition for their efforts and to be acknowledged for their intellectual property. By requiring attribution, creators can also prevent others from taking credit for their work.

Non-Commercial: Someone might want to use this part of the Creative Commons license to prevent others from using their work for commercial purposes. This may be important for creators who do not want their work to be used in advertisements or to be sold for profit. By limiting commercial use, creators can maintain control over their work and ensure that it is being used in accordance with their values.

Share-Alike: Someone might want to use this part of the Creative Commons license to encourage collaboration and innovation. By requiring users to share any new versions of the work under the same license, creators can ensure that their work remains open and accessible to others. This can promote creativity and encourage others to build upon existing work.

No Derivative Works: Someone might want to use this part of the Creative Commons license to protect the integrity of their work. By prohibiting changes to the work, creators can maintain control over how their work is presented and ensure that it is not altered in a way that they do not approve of. This can be important for creators who are concerned about how their work is being used and want to maintain control over its message.

Learn more about Creative Commons at:

https://brainly.com/question/29247019

#SPJ1

Other Questions
Explain the quote "the war ain't gonna be won by either side. someday i'll just end"(Flyboys movie) How was Victor being selfish when he destroyed the creature's half-alived mate? Explain and use evidence. I will mark you brainliest! Can someone please help me! a forest of 800 trees is exposed to a disease that kills 1/4 of the trees per year. how many trees will be left after after 11 years? round your answer to the nearest whole number What is the meaning of the word ""corollary"? How does the word apply when used in the "Roosevelt Corollary to the Monroe Doctrine"? The trinomial x^(2)+7x-18 factors into and x^(2)-7x-18 factors into The signs in each binomial are Which quote from the text is an example of using logos to promote the idea of woman suffrage?To keep a foothold in society, woman must be as near like man as possible, reflect his ideas, opinions, virtues, motives, prejudices, and vices.Society is but the reflection of man himself, untempered by woman's thought; the hard iron rule we feel alike in the church, the state, and the home.People object to the demands of those whom they choose to call the strong-minded, because they say the right of suffrage will make the women masculine.A government of the most virtuous educated men and women would better represent the whole and protect the interests of all than could the representation of either sex alone. f(x,y) = x^2 + 3y^(2) is equivalent to f(x,y)= x^2 + 4xy + 7y^(2) A sequence of transformations is applied to a polygon. Which of the following statements represent a sequence of transformations where the resulting polygon is similar to the original polygon but has a smaller area than the original polygon? Select TWO that apply.Responses1. a rotation of 180 counterclockwise about the origin followed by a dilation about the origin by a scale factor of 5/22. a dilation about the origin by a scale factor of 5/7 followed by a reflection over the y-axis and a dilation about the origin by a scale factor of 3/43. a reflection over the y-axis followed by a translation of 10 units down and a dilation about the origin by a scale factor of 24. a dilation about the origin by a scale factor of 2/3 followed by a rotation of 90 counterclockwise about the origin and a translation 5 units left Parallel Sort using Multiple Processes and Threads Goal In this assignment, you will implement a parallel version of the Bubble Sort algorithm to sort a bunch of numbers using first multiple processes and then multiple threads. You will learn about working with multiple processes, concurrency, race conditions, and simple inter-process and inter-thread synchronization. Part A: Sequential Bubble Sort 1. Learn the following concepts a. The bubble sort algorithm b. fork() system call c. pipe() system call d. pthread_create() and pthread_join() e. shmget(), shmat(), shmdt(), and shmctl() system calls. f. gettimeofday() to time the sorting performance. 2. Study, compile, and run this sequential bubble sort program. It takes an integer argument N, generates a set of N random integers, sorts them in ascending order using bubble sort, and prints the sorted list to standard output. $ seq_bubble 4 Generating 20 10 15 2 Sorted sequence is as follows: 2 10 15 20 3. Now study, compile, and run this even-odd pass variant of sequential bubble sort. You will find this version more amenable to a parallel implementation. 4. Test the above programs with hundreds, thousands, or millions of numbers. Adjust MAX_NUM and MAX_COUNT in the code as needed. 5. You can redirect very large output to a file using the operator to examine later. 6. Use gettimeofday () to measure and print the sorting time for different values of N. . Requirements for parts B and C below. - Use only the C language and glibc, so that you can understand low-level behavior or your code. No other languages, libraries or packages are necessary/allowed. - Do not use any pre-existing bubble-sort implem tions/libraries other than the provided in this assignment. - Implement only a parallel version of bubble sort, NOT any other sorting algorithm, even though there may be other (possibly better) parallel sorting algorithms, such as parallel nes . merge sort . Question 1 (20 marks)A) What are the main difference between financial accounting andmanagement accounting? (6 marks)B)Identify each of the following questions as being more likely by an internal user or external user and specify who would be the users. (6 marks) 1.How does the companys profitability compare to other companies?2.Do we need to borrow in the near future?3.Will the company be able to pay its short-term debts?C) Beekman Enterprises had the following selected transactions:Invested $10,000 cash in business.Billed customers $2,100 for services performed.Paid $350 cash for advertising.Borrowed $5,000 from the bank by signing a note.For each transaction, indicate the following.The basic type of account debited and credited (asset, liability, equity).The specific account debited and credited (cash, rent expense etc.).The normal balance of the specific account. What other poems have you read or heard? What was the subject, theme, and form of the poem? HELP PLS DUE TDAY STRESSING Please quick, mark brainy and 20 points If the energy released by an electron making a transition from one hydrogen atom orbit to another is 3.02 10^19 J, what is the wavelength (in nm) of the photon? Determine the area of the parallelogram with vertices(7,7,6),(4,9,5),(10,6,6), and(7,8,5). Use the square root symbol "" where needed to give an exact value for your answer. Area =0 Interior angles measured as A \( 51^{\circ} 22^{\prime} 30^{\prime \prime} \) B \( 105^{\circ} 38^{\prime} 48^{\prime \prime} \) C \( 78^{\circ} 10^{\prime} 37^{\prime \prime} \) D \( 124^{\prime} 46^ If you were at a party with both NAACP supporters and followers of Marcus Garvey, which topic would be safest to discuss?Select the best answer from the choices provided. A. the cheapest way to send people to Africa B. the need to end colonialism in Africa C. the legal strategies to improve conditions in the U.S D. the silly hats and costumes of the Knights of the Nile Vicky is taking Edward to small claims court. Vicky claims that Edward owes her money for a project she completed; Edward says the work was substandard and he doesnt have to pay. What term applies to Edward in this case?prosecutionclaimantdefendantbarrister I am doing a detailed strategic analysis on PPG Industries.Please give the external analysis for PPG Industries.Please Include-Opportunity & threats, PESTEL, Porters fiveforces, strategic