3. Elaborate why and how you use “Output” command in Python Programming Language, write the syntax of output command?​

Answers

Answer 1

Answer:

Explanation:

you use print() to output something

so it would be like this:

print("What is up, gamer?")

so the syntax is print() with whatever is in the parentheses being what you want to output


Related Questions

Big Chungus is god. prove me wrong.

Answers

Answer:

who is Big chungus???

Believe in Lord Buddha !

HELP ME ILL GIVE BRAINLY Input 50 numbers and then output the average of the negative numbers only. Write in pseudocode!

Answers

Answer:

The explanation is for 10 inputs though. You'd have to follow these steps to find input 50 numbers.

Explanation:

This is how I wrote it in the Plain English programming language which looks like pseudo-code but compiles and runs (to save you all the rest of the steps):

To run:

Start up.

Write "Enter 10 numbers separated by spaces: " on the console.

Read a reply from the console.

Loop.

If the reply is blank, break.

Get a number from the reply.

Add 1 to a count.

Add the number to a total.

Repeat.

Write "The total is: " then the total on the console.

Put the total divided by the count into an average.

Write "The average is: " then the average on the console.

Refresh the screen.

Wait for the escape key.

Shut down.

a leading global vendor Of computer software hardware for computer mobile and gaming systems and cloud services it's corporate headquarters is located in Redmond Washington and it has offices in more then 60 countries

Which One Is It

A) Apple
B) Microsoft
C) IBM
D) Global Impact​

Answers

Answer:

B

Explanation:

They have offices in Redmond Washington

Create a program that asks the user for the number of male and female students registered in a class/section. The program should display the total number of students and the percentage of male and female in the class.

Sample output
Enter the number of male: 36
Enter the number of female: 17
Number of students = 53
Male = 67.92%
Female = 32.08%

Answers

1. Input
number_of_males = int(input('Enter the number of males: '))
number_of_females = int(input('Enter the number of females: '))

#2. Process
total_number_of_students = number_of_females + number_of_males
percentage_of_males = number_of_males / total_number_of_students
percentage_of_females = number_of_females / total_number_of_students

#3. Output
print('Total number of males =', format(percentage_of_males, '.0%'))
print('Total number of females =', format(percentage_of_females, '.0%'))

The capability of moving a completed programming solution easily from one type of computer to another is known as ________. Group of answer choices

Answers

Answer: Portability

Explanation: I hope it helps you!

Choose one piece of information your class can know, but you don’t want to share on your website. Why is it okay for your classmates and teacher to know it, but not to post it publicly?

Answers

Answer:

because other people you dont know can see it and it can sometimes not be good

Explanation:

Keisha needs to connect to the Internet, but no wireless networks or Wi-Fi hotspots are available. What can she use instead to make the connection

Answers

There are several ways of connecting to the internet aside the use of WiFi Hotspot. Hence, Keisha could make use of Bluetooth or a modem.

Bluetooth tethering allows users to establish internet connection between smart devices such as a smartphone and a computer by using the Bluetooth functionality of the devices.

Similarly, modems can be used to establish a connection by inserting a data Sim into the USB modem and Inputting it into the port of the computer.

Learn more : https://brainly.com/question/25698028

Creating an application for an ice cream shop. Create an interface named Flavor. Create three subclasses Lemon, Mint, and Chocolate. Create a class named Cone that has a single member variable named scoops of type List with a generic argument of Flavor. Initialize the scoops member variable to an object of one of the two list classes discussed during the lecture. Add a method named add with a single parameter of type Flavor named scoop. This will add the scoop object to the scoops list.

Create a class named IceCreamShop. The class has a single member variable of type Map named orders. Initialize this map to an instance of type HashMap. This map is used to track customer orders. It maps a customer name of type String to an instance of Cone. The map is modified by the following methods:

Add a method orderScoop(String customer, Flavor flavor). This method first checks if thereâs already an order for the given customer in the map. If the map does not have an entry with the customer name, a new entry is put into the map with a new Cone object. If the map already contains an entry, it gets the cone value from the map. Then it adds a new flavor to the cone. Note: Thereâs no need to put the cone back into the map because the map uses a reference to the cone object.

Add a method completeOrder(String customer). This method will return the cone for the given customer and remove the entry from the map.

Answers

Answer:

I don't know for sure what the answer is but I hope you can find someone that can give you the answer sorry!

Explanation:

Design a chip that can complete four bit binary addition, subtraction, and, or operation. Complete the Verilog program and show simulation on Modelsim software , write the program list and screenshot of simulation results.

Answers

Answer:

How am I supposed to design a chip here?

Explanation:

How does tracking changes relate to sharing a workbook in Excel?

Answers

Answer:When you highlight changes as you work, Excel outlines any revisions (such as changes, insertions, and deletions) with a highlighting color. On the Review tab, click Track Changes, and then click Highlight Changes. Select the Track changes while editing. This also shares your workbook check box.

Explanation:

A workbook in excel is a file that contains one or more worksheets to assist you with data organization.

What is a workbook?

A workbook in excel is a file that contains one or more worksheets to assist you with data organization. A blank workbook or a template can be used to build a new workbook.

The Advanced tab of the Share Workbook dialogue box gives further choices for changing how Excel records change. For example, you may choose the "Automatically Every" radio option and enter a value in the "Minutes" text box. If you enter 10, Excel will store changes made by users every 10 minutes.

When you highlight changes while you work, Excel highlights any modifications (such as updates, insertions, and deletions) with a highlighting colour. Track Changes and Highlight Changes may be found on the Review tab. Select the Track changes while editing.

Learn more about Workbook:

https://brainly.com/question/10321509

#SPJ2

Write SQL queries to answer the following questions: (15 points) a. Which students have an ID number that is less than 50000

Answers

Answer:

SELECT * FROM STUDENTS WHERE ID < 50000

Explanation:

If we assume the table is called STUDENTS, then we want to select everything (represented by *), where (like an if statement) the ID (assuming the name of the column) is less than 50000.

Which validation method would you use for first name on a data form

Answers

Which validation method would you use for first name on a data form

Where is RAM installed?

Answers

The CPU socket hope that helps

Answer: RAM is located in the central processing unit or CPU which is also called a processor. This is located inside the computer case on the motherboard.

Would appreciate brainly <3

Think up and write down a small number of queries for a web search engine.

Make sure that the queries vary in length (i.e., they are not all one word). Try

to specify exactly what information you are looking for in some of the queries.

Run these queries on two commercial web search engines and compare the top

10 results for each query by doing relevance judgments. Write a report that answers at least the following questions: What is the precision of the results? What

is the overlap between the results for the two search engines? Is one search engine

clearly better than the other? If so, by how much? How do short queries perform

compared to long queries?​

Answers

Hope it helps. Thanks

30th Nov 2020. Difference between Data and Information

Answers

Answer:

Data is a collection of unstructured or unorganized facts and figures.

Information is a collection of processed data.

Hope it helps...............

Should people who are able to break a hashing algorithm be allowed to post their findings on the Internet?

Answers

Answer:

Cyber security is a very important aspect of digital world. Without cyber security our sensitive data is at risk. Its very important that companies keep our system safe by spotting any security vunerabilities. SO ACORDING TO ME I DO NOT THINK THEY SHOULD BE ABLE TO POST THEIR FINDINGS ON THE INTERNET As it may contain viruses

Turtle graphics windows do not automatically expand in size. What do you suppose happens when a Turtle object attempts to move beyond a window boundary

Answers

When a turtle object attempts to move beyond a window boundary, the turtle object stops because it cannot move outside the window boundary.

The turtle graphics window is simply a graphics window that is used as a playground when drawing turtles.

A turtle object is always in the turtle graphics window.

This in other words mean that, the turtle object cannot exceed the boundaries of the turtle graphics window

An attempt to move the turtle object outside its window will stop the turtle object;

This is so because the turtle object is always in the turtle graphic window, and it cannot move beyond it.

Read more about turtle graphics window at:

https://brainly.com/question/3070883

What is the full form of MPEG? The full form of MPEG is blank.

Answers

Answer:

Moving Picture Experts Group

Explanation:

Answer:

The full form of MPEG is Moving Picture Experts Group.

Explanation:

MPEG is a group of working experts to determine video or audio encoding and transmitting specifications/standards.

list ten beeping sounds in a computer system according to the hard ware​

Answers

Answer:

CMOS Shutdown Register Failure

Explanation:

Discuss some of the reasons you feel that people have for either liking or disliking Excel

Answers

It depends on what you’re talking about liking or disliking like are you talking about food or people

g The reduced ISA consists of four instructions: What are those instructions and what does each instruction do

Answers

The ISA is run by some set of instructions. This instructions are;

1.  Arithmetic: This Instructions perform various Arithmetic functions

2. Logical:  This instruction often carryout Logical operations on one or more operands.

3. Data transfer: This handles the transfer of instructions from memory to the processor registers and then backward process again.

4. Flow control: These instructions helps in breaking the sequential flow of instructions and jumping to instructions at different locations.  

Instruction set is simply known to be a full combination /number of instructions that are understood by a CPU.

It is know as a machine code that is often written in binary, and shown by assembly language.

Learn more from

https://brainly.com/question/22740965

Create a procedure named STATUS_SHIP_SP that allows an employee in the Brewbeans' Shipping Department to update an order status to add shipping information. The BB_BASKETSTATUS table lists events for each order so that a shopper can see the status, date, and comments as each stage of the order process is finished. The IDSTAGE column of the BB_BASKETSTATUS table identifies each stage; the value 3 in this column indicates that an order has been shipped. The procedure should allow adding a row with an IDSTAGE of 3, date shipped, tracking number and shipper. The BB_STATUS_SEQ sequence is used to provide a value for the primary key column. Test the procedure with the following information: o Basket # = 3 o Date shipped = 20-FEB-12 o Shipper = UPS o Tracking # = ZW2384YXK4957

Answers

Answer:

c

Explanation:

A procedure named STATUS_SHIP_SP that allows an employee in the Brewbeans' Shipping Department to update an order status to add shipping information is in the explanation part below.

A representative from Brewbeans' shipping division can change an order's status and add shipment details by using the PL/SQL method STATUS_SHIP_SP, as shown in the following example:

CREATE OR REPLACE PROCEDURE STATUS_SHIP_SP (

   p_basket_number   IN  NUMBER,

   p_date_shipped    IN  DATE,

   p_shipper         IN  VARCHAR2,

   p_tracking_number IN  VARCHAR2

)

IS

   v_status_id   NUMBER;

BEGIN

   -- Get the next value from the BB_STATUS_SEQ sequence

   SELECT BB_STATUS_SEQ.NEXTVAL INTO v_status_id FROM DUAL;

   

   -- Insert a new row into the BB_BASKETSTATUS table

   INSERT INTO BB_BASKETSTATUS (STATUSID, BASKETNO, IDSTAGE, STATUSDATE, COMMENTS)

   VALUES (v_status_id, p_basket_number, 3, p_date_shipped, 'Shipped: ' || p_shipper || ', Tracking Number: ' || p_tracking_number);

   

   -- Commit the transaction

   COMMIT;

   

   -- Display a success message

   DBMS_OUTPUT.PUT_LINE('Order status updated. Shipment information added.');

EXCEPTION

   WHEN OTHERS THEN

       -- Display an error message

       DBMS_OUTPUT.PUT_LINE('Error: Unable to update order status.');

       -- Rollback the transaction

       ROLLBACK;

END;

/

Thus, by doing this, the procedure will be called with the specified parameters, and if successful, a new entry with the proper shipping information for basket number 3 will be added to the BB_BASKETSTATUS database.

For more details regarding SQL, visit:

https://brainly.com/question/34315524

#SPJ6

Viewing digital content

Answers

Digital Content Creation Platforms offer content subscription or pay-as-you-go services for organizations. ... By offering access to this media, Digital Content Creation platforms make it so that organizations can share media of social interest while still complying with copyright laws.

Two categories of estimation mode

Answers

Answer:

The Standard Parametric Mode (SPM) and the Robust Parametric Mode (RPM) are two categories of estimation mode. These approaches turn the data distribution into an approximation normal distribution and then estimate the mode by using the probability density function of the estimated distribution as a guide.

Explanation:

Hope it helps:)

Write a function remove_duplicates that removes duplicates from an array. For example, if remove_duplicates is called with an array containing 1, 4, 9, 16, 9, 7, 4, 9, 11 … then the array is changed to 1, 16, 7, 4, 9. 11. Your function should have a reference parameter for the array size that is updated when removing the duplicates

Answers

The function is an illustration of loops

Loops are used to perform repetitive operations

The function in Java where comments are used to explain each line is as follows:

//This defines the remove_duplicates function

public static int remove_duplicates(int arr[], int n){

 //If the length of the array is 0 or 1, then return the original array

 if (n == 0 || n == 1) {

  return n;

 }

 //This creates a new array

 int[] newArr = new int[n];

 

 //This initializes the index of the array to 0

 int ind = 0;

 //This iterates through the original array

 for (int i = 0; i < n - 1; i++) {

     //The following loop populates the new array with the unique elements of the original array

  if (arr[i] != arr[i + 1]) {

   newArr[ind++] = arr[i];

  }

 }

 newArr[ind++] = arr[n - 1];

 // The following loop changes the original array

 for (int i = 0; i < ind; i++) {

  arr[i] = newArr[i];

 }

 return ind;

}

At the end of the function, the duplicate elements of the array are removed

Read more about similar programs at:

https://brainly.com/question/22552591

Given a variable that contains mixed collection types, update the provided function to display the first inital and last name of the instructor:

Update the function to accept a list and the name of the instructor you wish to find.
Update the function to reformat the name of the instructor and return it back to the calling program.
If the instructors name is entered as John Smith then the function should return back J. Smith
If the instructors name is entered as Tracy Anne Rios then the function should return back T. Rios
If the instructors name is entered as Jackson then the function should return back Jackson
Add in any exception handling for the following scenarios:
Exceptions related to accessing the list or dictionary should output the message: Instructor not found.
All other exceptions should output the message: An error has occurred.
Test to ensure the program passes the provided test cases found in the TESTS.md file
Hints
You may only use a try/except block, no if statements
Figure out how to use only one return in the method

Tests.md:
Input

Amy Williams
Output

A. Williams
Case 2
Input

Sarah Jane Smith
Output

S. Smith
Case 3
Input

Thomas Tom
Output

Instructor not found.

What i have so far
#!/usr/bin/env python3
# Discussion 10.2: Collection Type Exceptions

# Task 1. Modify Functions for Names
def get_initial_name(initials, name):
list = instructor_name.split(' ') # this function returns a list
try:
initial = list[0][0]
name = list[-1]
f_name = initial + '. ' + name
except:
return 'Instructor not found'

# DO NOT MODIFY BELOW
if __name__ == "__main__":

courses = [
{ "name": "Amy Andrews", "courseName": "Math I", "units": 3 },
{ "name": "Bryan Bravo", "courseName": "English I", "units": 3},
{ "name": "Charles Chavez", "courseName": "Physics I", "units": 3 },
{ "name": "Daniel Diaz", "courseName": "Chemistry I", "units": 3 },
{ "name": "Edgar Allen Elam", "courseName": "Math II", "units": 3 },
{ "name": "Felicia Farr", "courseName": "Music I", "units": 3 },
{ "name": "GarthGarcia", "courseName": "Physical Education I", "units": 3 }
]

# Take Input
instructor_name = input("> ")

# Output the Result
print(get_initial_name(courses, instructor_name))

Answers

Given an independent variable it dependent variable of cobtriallex vainest update the function of reformat the name of the insurance company

Five jobs arrive nearly simultaneously for processing and their estimated CPU cycles are, respectively: Job A = 2 ms, Job B = 12 ms, Job C = 15 ms, Job D = 7 ms, and Job E = 3 ms.

Using FCFS, in what order would they be processed? What is the total time required to process all five jobs? What is the average turnaround time for each of these five jobs?

Answers

This is an example with solution:

Five jobs arrive nearly simultaneously for processing and their estimated CPU cycles are, respectively: Job A = 12, Job B = 2, Job C = 15, Job D = 7, and Job E = 3 ms.

a. Using FCFS, and assuming the difference in arrival time is negligible, in what order would they be processed? What is the total time required to process all five jobs? What is the average turnaround time for all five jobs?

Answer: The order of processing for the given jobs = A->B->C->D->E.

Total time needed to process all the jobs = 12+2+15+7+3 = 39 ms.

Turn around time for job A = 12 ms.

Turn around time for job B = 15 ms.

Turn around time for job C = 30 ms.

Turn around time for job D = 37 ms.

Turn around time for job E = 40 ms.

Answer : Therefore, the average turnaround time = (12+15+30+37+40)/5 = 26.8 ms.

Order of processing is A, B, C, D, E and Total time to process and Average turnaround time is 39 ms and 24 ms

Turnover time and order of processing:

Order of processing = A, B, C, D, E

Total time to process all five jobs = Job A + Job B + Job C + Job D + Job E

Total time to process all five jobs = 2 + 12 + 15 + 7 + 3

Total time to process all five jobs = 39 ms

Average turnaround time = [(2-0) + (2+12-0) + (2+12+15-0) + (2+12+15+7-0) + (2+12+15+7+3-0)] / 5

Average turnaround time = (2+14+29+36+39) / 5

Average turnaround time = 24 ms

Find out more information about 'Turnaround time'.

https://brainly.com/question/5768680?referrer=searchResults

Identify the false statement. a. When you use inheritance to create a class, you save time because you can copy and paste fields, properties, and methods that have already been created for the original class. b. When you use inheritance to create a class, you reduce the chance of errors because the original class's properties and methods have already been used and tested. c. When you use inheritance to create a class, you make it easier for anyone who has used the original class to understand the new class because such users can concentrate on the new features.

Answers

Uploading this answer for points please do not accept this answer thank you.

What is primary difference between the header section of a document and the body

Answers

Answer:

A HTML file has headers and a "body" (payload) — just like a HTTP request. The <body> encapsulates the contents of the document, while the <head> part contains meta elements, i.e., information about the contents. This is (typically) title, encoding, author, styling etc.

Explanation:

CAN I GET BRAINLIEST

discuss with illustrations how to implement a simple home network ​

Answers

Answer:

How to Set Up a Home Network- Beginners Guide

Today almost every home and small office has a local network, and an Internet connection.

The home network or small area network enables multiple devices e.g. PCs,tablets etc to connect to each other, and also to connect to the internet.

In this tutorial you will learn how you to build and setup a home or small area network and connect it to the Internet.

Explanation:

Choosing a Wired or Wireless Network

Do You Build a wired or Wireless Network? which is best?

Early (pre 2008) home networks were predominately wired networks.

Wired networks use Ethernet over UTP cable and tend to be faster than wireless networks, which is an important consideration if you are a gamer. The simple wired home network diagram below shows a minimum setup with a switch and broadband router.

Wired Network Advantages

Fast typically 100 Mbps to 10 Gbps

Secure and reliable.

Wired Network Dis-Advantages

Doesn’t work with devices that don’t have an Ethernet port e.g. tablets and smart phones.

Not so easy and fast to setup as it requires running cables. However Homeplug or powerline adapters can be used instead.

Not so easy for visitors and mobile devices (laptops) to connect to.

Main Uses

It Is best used for network backbone i.e. connecting between router,network switches and wireless access points on different levels (floors).

Other Questions
only right answer no spammers Can you find the correct answer for this question.Please How does a phase change from solid to liquid occur in a substance?(1 point) how do i answer this question :) the title of the passage 'The power of determination' is appropriate . to what extent do you agree or disagree with this statement? justify your response Which sentence best describes how art in Buddhist cave temples along the Silk Road reflects the beliefs of the Chinese people?The temples served as burial tombs for Chinese emperors.The temples provided retreats for monks and temples for travelers to worship.The temples were dug out of white marble, which the Chinese considered a sacred stone.The temples were built to shelter Chinese armies during the Han Dynasty wars. Find the perimeter. Simplify the answer. Choose the best answer to complete this sentence._____________________the Declaration of Independence while a member of the Continental Congress, Jefferson was elected to the Virginia House of delegates in 1776.Group of answer choices-He drafted-When drafted-After being drafted-After drafting Scientists are experimenting with a kind of gun that may eventually be used to fire payloads directly into orbit. In one test, this gun accelerates a 5.6-kg projectile from rest to a speed of 3.5 103 m/s. The net force accelerating the projectile is 2.5 105 N. How much time is required for the projectile to come up to speed? I need help plsASAP Kal decides to open a home-based cupcake business. His cost is an initial value of $10 in operating expenses plus $0.25 to make each cupcake. He will sell each cupcake at $1.50 to try and make a profit. How many cupcakes will he need to sell before he makes a profit?Also need an equation _____ is the natural, temporary absence of consciousness from which a person can be aroused by normal stimulation. how to mix essential oils for hair growth and thickness A gas has a pressure of 8.5atm and occupies 24L at 25C. What volume (in liters) will the gas occupy if the pressure is increased to 13.5atm and the temperature is decreased to 15C? Round to the nearest liter. The Colossian heresy emphasized what?FitnessDialogueAsceticismHousehold gods What shape has 5 faces, 6 vertices and 9 edges. help maybe pass by ufnfudbfudgs One evening, 2/3 of Mrs. Thornes students watched a reality television show. Of Mrs. Lombardos students, 4/5 watched the same reality show: Which teacher has more students watch the reality show? Recursive functions are ________ iterative algorithms. as efficient as less efficient than more efficient than impossible to compare to What kinda of polymer is in the image below?