Write a program using integers user_num and x as input, and output user_num divided by x three times. Ex: If the input is: 2000 2 Then the output is: 1000 500 250 Note: In Python 3, integer division discards fractions. Ex: 6 // 4 is 1 (the 0.5 is discarded).

Answers

Answer 1

Answer:

Python

Explanation:

user_num = int(input())

x = int(input())

user_num1 = user_num // x

print(user_num1, end=' ')

user_num2 = user_num1 // x

print(user_num2, end=' ')

user_num3 = user_num2 // x

print(user_num3)


Related Questions

Why computer is known as data processing system?

Answers

Computer is known as data processing system because it changes raw data that is not in useful form such as tables, figures, etc into processed data known as information that is useful. Processing includes manipulating, storing, accessing, and transmitting.

The following are a set of named spreadsheets with the indicated column headings. Use these spreadsheets to answer exercises 1.30 through 1.32.
A. Name of Spreadsheet: EQUIPMENT Column Headings: (Number; Description, AcquisitionDate, AcquisitionPrice)
B. Name of Spreadsheet: COMPANY Columns Headings: (Name, IndustrvCode, Gross Sales, OfficerName, OfficerTitle)
C. Name of Spreadsheet: COMPANY Columns Headings: (Name, IndustrvCode, Gross Sales, NameOfPresident)
D. Name of Spreadsheet: COMPUTER Columns Headings: (SerialNumber, Make, Model, DiskTpe, DiskCapacityj
E. Name of Spreadsheet: PERSON Columns Headings: (Name, DateOfHire, DeptName. DeptManager, ProjectlD, NumHours, ProjecthManager)

Answers

Answer:

There are five work sheets in this excel file, they are equipment, company, company, person and computer. Excel worksheets are made up of cells, with the columns labelled alphabetically and the rows numbered.

Explanation:

The columns of a worksheet is called a field while row are called records. They are used to locate a cell in the worksheet. There are so many statistical, mathematical and engineering functions in excel. It is used to display the analysis of data.

does anyone know about the progressive era?

Answers

Answer: The Progressive Era was a period of widespread social activism and political reform across the United States that spanned the 1890s to the 1920s.

Explanation:

I have heard of it but not completely sure

What is an efficiency target? Give an example of setting an efficiency target

Answers

Answer:

Goals help provide our everyday lives with structure, and operate similarly at the institutional level, offering organizations a low cost method of encouraging motivation, communication and accountability. In short, goals help organizations to achieve a variety of ends—including the reduction of energy waste.

Energy efficiency improvement goals, also known as energy efficiency targets, are intended reductions in energy over a specified time frame that have been defined in a SMART manner. Targets are useful because they can encourage decision makers to improve the use of energy in their communities and operations. Moreover, energy efficiency targets can have short or long term timeframes and can be implemented on various scales, ranging from the national level down to individual buildings. Cities should explore both mandatory public sector targets and voluntary private sector targets to forge energy-efficient communities.

"A loosely coupled group of volunteer programmers that contribute code to develop and maintain software are called:"

Answers

Answer:

Open Source Community

Explanation:

_______ can be used to prevent busy waiting when implementing a semaphore.
A) Spinlocks
B) Waiting queues.
C) Mutex lock.
D) Allowing the wait

Answers

Answer:

b) waiting queues

Explanation:

Workspace How do the following technologies help you in your quest to become a digital citizen: kiosks, enterprise computing, natural language processing, robotics, and virtual reality?

Answers

Answer:

1) A kiosk are small platforms that can be used for obtaining information and programming relate to entertainment, transportation, commerce, applications, and other areas. A kiosk is located in busy business areas. With Kiosks, one is able to get answers to important information such as service locations.

2) Enterprise computing is the use of information technologies and computing in organizational setting. Enterprise computing provides improved data security

3) Natural language processing is the artificial intelligence concept that deals with the interaction between man and computer by use of natural language. With natural language processing, it is possible to interact with artificial intelligence application in the same manner we interact with a real person

4) Robotics is concerned with the design construction, and operation of robots. It involves the collaboration of computer science and engineering fields. Robotics provide 24 hours assistance including in inhuman conditions such as low oxygen

5) Virtual Reality (VR) is the creation of easily believable simulation of real life by means of computer technology. With virtual reality, one is able to practice practical  trade skills in their living room

Explanation:

How should you handle cyberbullies?

Answers

Answer:

insult those son of a bishes backk

i would ✨punch them ✨

When working in an application and the user saves their work, sometimes at the bottom of the window, a progress bar will indicate show the progress of the save operation. This is an example of what?​ a. ​ Active discovery b. ​ Provide closure on a dialogue or action. c. ​ Saving the user’s work d. ​ Affordance

Answers

The correct answer is B provide closure

What is the purpose of a Peer-to-Peer architecture? Describe the two methods we learned for finding the peer with a desired resource.

Answers

Answer:

peer to peer connections in a network prevents drop-down of connection when a cable fails

Explanation:

A peer to peer computer network is a connection is a network between computers that connects one device to every other device in the network. A computer is connected to its neighbors and to another computer physically with an ethernet cable.

When a cable is disconnected, the computer can still communicate with other computers in the network, preventing network drop-down and continuity.

___________ allows users to share and collaborate the data relevant to groups, individuals or organizations. qlikview

Answers

Answer:

Business Intelligence

Explanation:

Business Intelligence refers to all the methods and technologies applied towards obtaining, computing, and analyzing business data which would serve the purpose of informing better decision making. Business Intelligence analyzes huge amounts of business data and breaks them down for easy comprehension. They help to provide insight into the current and past market situations that would help managers in making better predictions.  

Some of such decisions could be the effect of breaking into new markets or increasing the prices of products and services. The data obtained during business intelligence should come from the market where the products are sold as well as data compiled by the organization, so as to provide holistic information.

If two classes combine some private data members and provides public member functions to access and manipulate those data members. Where is abstraction used?a. Using private access specifier for data membersb. Using class concept with both data members and member functionsc. Using public member functions to access and manipulate the data membersd. Data is not sufficient to decide what is being used

Answers

Answer:

c. Using public member functions to access and manipulate the data members

Explanation:

In object oriented programming, abstraction is used in order to lessen the complexity and hiding non essential details about how a program is actually working in the background. In order to achieve abstraction, classes are defined in such a way that the data members are hidden and the member functions form public interface. The public member functions here are used to access and manipulate these hidden or private data members. So the use of public member functions shows the abstraction here. These members functions are public so they can be directly accessed and the hidden or private data members can be accessed indirectly with the help of these member functions. So internal details of the classes and its data members are hidden from the outside world. Thus abstraction used here ensures security of data members of two classes and protects them from any accidental alterations by other parts of program.

Which are examples of normative goals

Answers

Answer:

Goal-based decision making is goal generation together with goal-based planning

This decomposition of decision making in goal generation and planning raises several

questions, such as:

– How to represent beliefs? How to represent obligations? In this paper we represent

beliefs and obligations by rules, following the dominant tradition in deontic logic

(see e.g. [26,27]).

– How to develop a normative decision theory based on belief and obligation rules?

In this paper we introduce a qualitative decision theory, based on belief (B) and

obligation (O) rules.

Describe and define each of the following tkinter widgets:
a) Label
b) Entry
c) Button
d) Frame

Answers

Answer:

Tkinter in Python comes with a lot of good widgets. Widgets are standard graphical user interface (GUI) elements, like different kinds of buttons and menus.   Ttk comes with 17 widgets, eleven of which already existed in tkinter:

Button Checkbutton Entry Frame Label LabelFrame Menubutton PanedWindow Radiobutton Scale and Scrollbar

The other six are new: Combobox, Notebook, Progressbar, Separator, Sizegrip and Treeview. And all them are subclasses of Widget.

Explanation:

The Label widget is a standard Tkinter widget used to display a text or image on the screen. The label can only display text in a single font, but the text may span more than one line. In addition, one of the characters can be underlined, for example to mark a keyboard shortcut.Entry widgets are the basic widgets of Tkinter used to get input, i.e. text strings, from the user of an application. This widget allows the user to enter a single line of text. If the user enters a string, which is longer than the available display space of the widget, the content will be scrolled.The Button widget is a standard Tkinter widget used to implement various kinds of buttons. Buttons can contain text or images, and you can associate a Python function or method with each button. When the button is pressed, Tkinter automatically calls that function or method.A frame is rectangular region on the screen. The frame widget is mainly used as a geometry master for other widgets, or to provide padding between other widgets.

The definition of widgets is given:

a) Label - It is a common Tkinter widget that displays text or an image on the screen.

b) Entry - They are the fundamental Tkinter widgets used to collect input, i.e. text strings, from an application's user.

c) Button - it is a Tkinter standard that is used to implement various types of buttons.

d) Frame - it is a rectangle on the screen. The frame widget is primarily used as a geometry master for other widgets or as padding between other widgets.

What are Tkinter widgets?

Tkinter in Python includes a plethora of useful widgets. Widgets are graphical user interface (GUI) elements that include various types of buttons and menus.

The label can only display text in one font, but the text can span multiple lines. Furthermore, one of the characters can be highlighted, for example, to indicate a keyboard shortcut.

Therefore, the definitions of the widgets are given above.

To learn more about Tkinter widgets, refer to the below link:

https://brainly.com/question/17438804

#SPJ2

Discuss a particular type of Malware and how has it been used in "todays news" and the respective impact on cyber security. Add to your discussion ways the Malware could have been detected and potentially avoided.

Answers

Answer:

Trojan Malware

Explanation:

Trojan horse malware is considered to be one of the most famous computer malware or virus right now. This type of malware is used to fool or trick a user into downloading some malicious software or any file. These attacks are then done by the cyber criminal who can access your system for can get your private credentials.

They send an fake email or a link and by clicking on this fake link, the cyber criminal get access to our computer from where he can access our confidential credentials.

Such a type of cyber attack can be controlled if the employees of the organisation are been educated regularly about the potential threats of these type of malware. Care should be taken not to download file from any un-trusted websites or emails.

Research is much concerned with proper fact finding, analysis and evaluation.” Do you agree with this statement? Give reasons in support of your answer.​

Answers

Answer:

Yes, I agree.

Explanation:

Research is basically trying to find out new ways of doing things or challenging an already established claim or theory, with the aim of disproving or improving on it.

So, research is much concerned with proper fact-finding, which would ensure that the results and samples are accurate, analysis and evaluation which would make sure that the new data gotten is properly investigated.

I agree that Research is much concerned with proper fact finding, analysis because research increases the stock of knowledge and requires different analysis and facts base on past research.

What is Research?

Research can be regarded as reactive and systematic work which is been carried out to bring about improvement in knowledge of the reseacher.

In research, findings needs to be done, it could requires experiments and field work, evaluation of the results is also needed to compare with past results of the past scholars.

Learn more about Research at:

https://brainly.com/question/968894

The instructions tha tell the computer how to carry out the processing tasks are refered to as........

Answers

Answer:

Code

Explanation:

Code are basically instructions in the computers language to tell the computer “what to do.” If you want to, say, open and edit a file, you’d tell the computer to do that by:

Opening the file

Finding where to edit

Adding the line of your choice

Hope this helped!

The best way to share criticism is to ______. a. write it in the break room b. talk it about with all your coworkers c. talk about it privately d. discuss it at meetings

Answers

Answer:

C.

Explanation:

Answer:

The correct answer is C. hope this helps

Explanation:

I also got a %100 one the test so its right.

Which of these statements is true?
A. Cognitive systems can only translate small volumes of audio data into their literal text translations at massive speeds
B. Cognitive systems can only process neatly organized structured data
C. Cognitive systems can derive mathematically precise answers following a rigid decision tree approach
D. Cognitive systems can learn from their successes and failures

Answers

Answer:

D. Cognitive systems can learn from their successes and failures

Explanation:

Cognitive System is a term used in Computer Science to describe an advanced computer in which it was built to think and behave like humans. In other words, it is a form of artificial intelligence, which has the ability to assess activities before taking them.

Hence, in this case, the right answer is "Cognitive systems can learn from their successes and failures," because this is an attribute of human being, in which cognitive computing is created to behave or have human reasoning.

Comments are used to write pseudocode outlines. How do you indicate that a line is a comment? You start the line with a _________

Answers

Answer:

#

Explanation:

A more common way to plan a program is with pseudocode, an outline composed of comments. Comments are indicated by a pound sign (#) at the beginning of the line.

Depending on the programming language, there are several ways we can comments our statements or codes that are not needed in our programmes

In Kotlin and Java Languages we can us the double slash "//" symbol to express single line comment

Example

//This is a comments

We can also us the "/***/" to express multi line comments

Example

/**This is a comment

also*/

Hence we have the

Inline Comments Multiline Comments

For more information on comments in programming language kindly visit

https://brainly.com/question/15068446

how many bits long is a autonomous system number?

Answers

Answer:

There are two different formats to represent ASNs: 2-byte and 4-byte. A 2-byte ASN is a 16-bit number. This format provides for 65,536 ASNs (0 to 65535).

Explanation:

Timeliness is an important goal of any access control monitoring system.
A. True
B. False

Answers

The answer for this question is true

Write a program using integers user_num and x as input, and output user_num divided by x three times. Ex: If the input is: 2000 2 Then the output is: 1000 500 250

Answers

Answer:

Soory! I can't tell please tell clearly

Answer:

user_num = int(input("Number: "))

x = int(input("x: "))

for i in range(1,4):

    user_num = user_num/x

    print(user_num," ")

Explanation:

list five application of personal computers. is there a limit to the application of computers? Do you envision any radically different and exciting application in the near future? if so, what?

Answers

Answer:

Word processing,

Book keeping,

Digital image editing,

Creating/writing music,

Graphics design,

Gaming,

Coding,

Mapping.

Which quality of service (QoS) mechanism provided by the network does real-time transport protocol (RTP) rely on to guarantee a certain QoS for the data streams it carries

Answers

Answer:

The real-time transport protocol (RTP) carries the audio and video data for streaming and uses the real-time control Protocol to analyse the quality of service and synchronisation. The RTP uses the user datagram protocol ( UDP) to transmit media data and has a recommended Voice over IP configuration.

Explanation:

RTP is a network protocol used alongside RTCP to transmit video and audio file over IP networks and to synchronise and maintain its quality of service.

In Microsoft Excel, which statement is not a recommended guideline for designing and creating an Excel table? Avoid naming two fields with the same name. Ensure no blank columns separate data columns within the table. Leave one blank row between records in the table. Include field names on the first row of the table.

Answers

Answer:

Leave one blank row between records in the table.

Explanation:

In Microsoft Excel application, there are recommended guidelines for designing and creating an Excel table, to carry out some operations, some of which are:

1. Do not use two fields with the same name.

2. Users should make sure there are no blank columns separate data columns within the table.

3. Incorporate field names on the first row of the table.

Hence, in this case, the statement that is not a statement is not a recommended guideline for designing, and creating an Excel table is "Leave one blank row between records in the table."

Design an application for the Sublime Sandwich Shop. The user makes sandwich order choices from list boxes, and the application displays the price. The user can choose from three main sandwich ingredients of your choice (for example, chicken) at three different prices. The user also can choose from three different bread types (for example, rye) from a list of at least three options. Save the file as JSandwich.java.

Answers

Answer: Provided in the explanation section

Explanation:

Using Code :-

import java.awt.*;

import java.awt.event.*;

import javax.swing.*;

public class SandwichShop

{

String sandwichIngredients [] = {"Chicken", "Mutton", "Veg"};

String breadTypes[] = {"Bloomer", "Cob", "Plait"};

JFrame jf;

JPanel p1, p2, p3, p4, mainP;

JList ingredient, bread;

JLabel ingL, breadL, amountL;

JTextField amountT;

JButton amountB, exitB;

SandwichShop()

{

jf = new JFrame("Sandwich Shop");

p1 = new JPanel();

p2 = new JPanel();

p3 = new JPanel();

p4 = new JPanel();

mainP = new JPanel();

ingredient = new JList<String>(sandwichIngredients);

bread = new JList<String>(breadTypes);

ingL = new JLabel("Select Sandwich Ingredients");

breadL = new JLabel("Select Bread Types");

amountL = new JLabel("Amount: ");

amountT = new JTextField(5);

amountB = new JButton("Check Amount");

exitB = new JButton("Exit");

p1.add(ingL);

p1.add(ingredient);

p2.add(breadL);

p2.add(bread);

p3.add(amountL);

p3.add(amountT);

p4.add(amountB);

p4.add(exitB);

mainP.add(p1);

mainP.add(p2);

mainP.add(p3);

mainP.add(p4);

mainP.setLayout(new GridLayout(4, 1));

jf.add(mainP);

jf.setVisible(true);

jf.setSize(400, 300);

exitB.addActionListener(new ActionListener()

{

public void actionPerformed(ActionEvent ae)

{

System.exit(0);

}

});

amountB.addActionListener(new ActionListener()

{

public void actionPerformed(ActionEvent ae)

{

int indexIngredient = ingredient.getSelectedIndex();

int indexBread = bread.getSelectedIndex();

if(indexIngredient == 0 && indexBread == 0)

amountT.setText("100");

if(indexIngredient == 0 && indexBread == 1)

amountT.setText("120");

if(indexIngredient == 0 && indexBread == 2)

amountT.setText("160");

if(indexIngredient == 1 && indexBread == 0)

amountT.setText("190");

if(indexIngredient == 1 && indexBread == 1)

amountT.setText("205");

if(indexIngredient == 1 && indexBread == 2)

amountT.setText("210");

if(indexIngredient == 2 && indexBread == 0)

amountT.setText("97");

if(indexIngredient == 2 && indexBread == 1)

amountT.setText("85");

if(indexIngredient == 2 && indexBread == 2)

amountT.setText("70");

}

});

}

public static void main(String[] args)

{

new SandwichShop();

}

}

Write a program that asks the user for three names, then prints the names in reverse order.
Please enter three names:
Zoey
Zeb
Zena
Zena
Zeb
Zoey

Answers

Answer:

The program written in C++ is as follows'

#include<iostream>

using namespace std;

int main()

{

string names[3];

cout<<"Please enter three names: "<<endl;

for (int i = 0; i< 3;i++)

{

cin>>names[i];

}

for (int i = 2; i>= 0;i--)

{

cout<<names[i]<<endl;

}

return 0;

}

Explanation:

This line declares an array for 3 elements

string names[3];

This line prompts user for three names

cout<<"Please enter three names: "<<endl;

This following iteration lets user input the three names

for (int i = 0; i< 3;i++)  {  cin>>names[i];  }

The following iteration prints the three names in reverse order

for (int i = 2; i>= 0;i--)  {  cout<<names[i]<<endl;  }

Which of the following is a technology designed for use in manufacturing?

A) electronic monitoring bracelets

B) machine-to-machine (M2M) communications

C) bring your own device (BYOD)

D) web analytics

Answers

Answer:

B) machine-to-machine (M2M) communications

Explanation:

Manufacturing technology refers to the technological advancement that enables the production of the tools that further helps in the manufacturing of the other goods. The quality, quantity, and production are enhanced with these manufacturing technologies. Machine-to-machine communications are designed for manufacturing technologies. In this technology, the information and data can be easily transferred from one device to another either by the help of wires or without wires.

The technology designed for use in manufacturing among the options listed is machine-to-machine (M2M) communications.

Machine-to-machine (M2M) communications involve the exchange of data or information between devices or machines without human intervention.

In the context of manufacturing, M2M technology can be used to connect and communicate between various machines, equipment, sensors, and systems involved in the manufacturing process.

This allows for automation, real-time monitoring, data collection, and coordination, ultimately improving efficiency and productivity in manufacturing operations.

To learn more on Technology click:

https://brainly.com/question/15059972

#SPJ6

______are unplanned responses to risk events used when project teams do not have contingency plan in place.A) Workarounds.
B) Fallback plans.
C) Contingency plans.
D) Triggers.

Answers

Answer:

B) Fallback plans.  

Explanation:

Fallback plan: The term "fallback plan" is described as a backup plan that is being related to the contingency plan. Thus, it comes into consideration when the contingency plan is being failed to get implemented ans similarly when the fallback plan failed to work then the contingency plan comes into consideration.

In the question above, the given statement represents the fallback plans.

Other Questions
Why is it important to note the exact variety of fresh produce desired, instead of merely noting the type of item needed What are two traits about yourself that make you an exceptional person? oth Social Studies25. (Ancient Origins: Settling Down MC)Which of these factors was most influential in the growth of industry? (1 point)improvements in transportationaccess to natural resourcespermanent shelterdevelopment of terrace farming26 (Ancient rinins: Settling Down LC) Why does pressure increases with depth? Number between 17/4 and square root of 20 In which of the following choices are both the stock and options positions on the same side of the market? A. Long call/long stock B. Short call/long stock C. Long put/short stock D. Short put/short stock Explain how the Enlightenment influenced founders, include a definition of the Enlightenment (in your own words) specific ideas, people and how the founders incorporated those ideas into founding documents and\or principles of government Name 3 things that Alan freed is most noted for in rock history? Select the sentence which contains an appositive.Sam, our cat, is too lazy to catch mice.I think, dear friends, that the time has come to say goodbye.I think you have done good work here,Jeremy. What is 2-2+2-2+5000-5000+88+88-88-88+1 Your class just finished computer project. Your teacher said that she'll be coming around to check your project, but in the meantime you can quietly do other work. You decide to complete your online math homework. Are you being digitally responsible In order determine the distance between two cities on a map,which map feature would a student have to use If F1 is the force on q due to Q1 and F2 is the force on q due to Q2, how do F1 and F2 compare? Assume that n=2. Three different samples were weighed using a different type of balance for each sample. The three were found to have masses of 0.6160959 kg, 3.225 mg, and 5480.7 g. The total mass of the samples should be reported as? What is the total area, in square inches, of the figure shown below? Answer ASAP, will give brainliest I NEED HELP PLS!!!! All organisms need a place to live that provides protection, sunlight, and water. sunlight, food, and water. food, water, and protection. protection, food, and sunlight. thanks again and I hope to see everyone again and have to go back in to see how things go and I can do the job and the job is going to go back in to see how things go and I can get you the money and the other one I can think to see you the money and the job is going to see how you were feeling well today so the other one I can get it in to see how things go and get the other two I have to go back in to see how things go and get the other two I have to go back in to the other one I can find out if I have any other one is going and I have a lot to see if I could find out what is happening to you the money and I Tyra bought 4.5 pounds of strawberries they cost $2.60 a pound how much did she spend Passive transport is the movement of materials across the cell membrane without the use of:OxygenO waterenergyO DNA