8.10 Code Practice Question 1

Write code that takes in two words from user input and stores them in the variables x and y respectively. Then, the programs the values in x and y, and print x and y).

Note: The variable names x and y are required for this question

8.10 Code Practice Question 1Write Code That Takes In Two Words From User Input And Stores Them In The

Answers

Answer 1

x = input("Enter a word: ")

y = input("Enter a word: ")

x,y = y, x

print(x)

print(y)

I hope this helps

Answer 2

Since we need to perform some coding functions such as:

Asking for the input of a numberStoring them as individual variablesPrinting/Displaying the values independently.

First thing we need to do is to declare the unknown variables as x and y

Next would be to write the input this way:

x= input ("Put a word:")

y= input ("Put a second word:")

x,y = y, x

Print(x0

Print(Y)

Read more about programming here:

https://brainly.com/question/18900609


Related Questions

sales management at ursa major solar wants to allow users create new account records with pre populated values.which feature should administrator

Answers

Question:  sales management at ursa major solar wants to allow users create new account records with pre populated values.which feature should administrator

Answer:  Sales representatives at Universal containers often schedule in

person meetings at customer offices. Management wants to track   activities for this meeting category to clearly display customer office meetings in the account , contact or opportunitity page  layouts, as well as adding this data to reports.

Explanation:

What does the "zoom tool" do in Photoshop?
O
A. All of the above
o
B. It gives the illustrator the ability to zoom in and out of the image
o
C. It gives the illustrator the ability to edit the image at a closer look
O D. It gives the illustrator the ability to erase the image better by having a closer look

Answers

Answer:

A. All of the above

Explanation:

It’s A All of above

As a programmer, why do you think that skills and training are needed? Give 5 reasons.

Answers

1. without them you wouldn’t be able to program
2. need for job interviews
3. important to be good and make the money
4. can be adaptable
5. easy to move from a business to another
1) because you don’t want the thing you are programming to not work
2) you can make the robot do exclusive stuff
3) you need to know how to be a programmer
4) The robot can do my evil task
5) you can scare your little sis with a scary robot doll face

Which of the following is an object-oriented language?

A. C
B. C++
C. BASIC
D. COBOL

Answers

Answer:

C++

Explanation:

Significant object-oriented languages include: (list order based on TIOBE index) Java, C++, C#, Python, R, PHP, Visual Basic.NET, JavaScript, Ruby, Perl, Object Pascal, Objective-C, Dart, Swift, Scala, Kotlin, Common Lisp, MATLAB, and Smalltalk.

The programs' structure is made obvious via OOP. OOP makes the C++ code easier to maintain, alter, and debug by encouraging “Don't Repeat Yourself” (DRY) programming practices. OOP allows for quicker development times and less code needed to create fully reusable apps. Thus, option B is correct.

What role of C++ as an object-oriented language?

The following are several justifications for calling C++ a partial or semi-object oriented language. The primary action is not a class action.

Object-oriented programming is supported by C++, but it is not a feature of the language itself. You don't even need to use an object once to construct a legitimate, well-coded, and brilliantly styled C++ program.

Therefore, Object-oriented programming can be implemented using C++'s core features. It contains classes and objects as well as the OOP principles of inheritance, encapsulation, abstraction, and polymorphism. It also has access to specifiers.

Learn more about language here:

https://brainly.com/question/29751978

#SPJ2

help plz, u just gotta select all that apply :)

Answers

Answer:

Concept: Graph Analysis

We want to know all those that produce around 0.01 kg: Parsly, Coriander, Mint, Strawberry Rate positively and give brainlist

I have a problem with my Nintendo DS lite does anyone know how to fix it?

Answers

Try checking if the battery is still working, they usually tend to give out at times.

Collaboration, listening, and negotiating are considered __________ skills.

interpersonal
mathematical
personal
verbal


VERBAL IS NOT THE ANSWER SOMEONE HELP

Answers

Answer:

interpersonal

Explanation:

Interpersonal skills are the types of skills that enhance the individuals' social interaction and communication means with others whereby there is the establishment of social rules and references.

It involves social communication activities such as collaboration, listening, and negotiation.

Hence, in this case, the correct answer is "INTERPERSONAL SKILLS.

Answer:

A. is correct

Explanation:

short note on first generation computer​

Answers

Answer:

The period of first generation was from 1946-1959. The computers of first generation used vacuum tubes as the basic components for memory and circuitry for CPU

If you would like to compare information on two different Web pages, you should _____.
scroll through the pages
the home page
use tabs
organize bookmarks

Answers

Answer:

Use Tabs

Explanation:

I had this lesson on odyessy ware and this was right the other guy is wrong

Answer:

Use Tabs is also correct on Edge nuity

Explanation:

i have Keyboarding and Apps

A student who might find digital learning challenging.

Answers

Digital learning exists mostly online, while traditional learning takes place in a classroom building.

Answer: it is "A"

|Likes meeting other students.|

can some one please help

Answers

Answer:

the thing is black for me. retake?

Explanation:

For Internet Protocol (IP) v6 traffic to travel on an IP v4 network, which two technologies are used

Answers

Answer:

These technologies are: Dual Stack Routers, Tunneling, and NAT Protocol Translation.

Explanation:

Dual Stack Routers -  This is the process in which a router’s interface is attached with IPv4 and IPv6 addresses

Tunneling -Tunneling is used as a medium to help the different IP versions  communicate with the transit network.

NAT Protocol Translation -  This helps the IPv4 and IPv6 networks communicate with each other since they do not understand the IP addresses of each other since, they are different IP versions.

The two technologies that are used when Internet Protocol (IP) v6 traffic travel on an IP v4 network are datagrams and ipv6.

A datagram can be defined as a transfer unit that is associated with a packet-switched network.

Internet Protocol version 6 (IPv6) is a protocol used for packet-switched inter-networking.

The IPv6 is a protocol used for end-to-end datagram transmission through multiple Internet Protocol networks.

In conclusion, the two technologies that are used when Internet Protocol (IP) v6 traffic travel on an IP v4 network are datagrams and ipv6.

Learn more in:

https://brainly.com/question/14851068

Which tab in MS Word would you select to insert a shape into a document? Question 6 options: Insert Review View File

Answers

Answer:

Insert

Explanation:

Under the insert tab, shapes will be an option to put in under the illustrations category.

Answer:

um insert?

Explanation:

im assuming its insert bc you said "to insert a shape into a document" so yh

i hope this helped?

Grades are numbers or ________ that show how a student performed in a course.

Answers

It’s either letters or percentages

What is the difference between an if-statement, an if-else statement, and an if-else-if statement? How are they similar?

This is in computer science principles

Answers

Answer:

Explanation:

If statement is saying one perspective. However, if else if is many different.

anyone else parents take your phone and you ask for it nicely and they say no and you ask why and they ignore you

Answers

Answer:

that's the same situation with me but with other objects cuz me no have ph0nE

Explanation:

when i was a smol chiLd i would get beat if i didnt  know my multiplication table l0l

yes, hate it so much

What is the purpose of a div?
Group of answer choices

all of the above

to add a background color or image to a web page section

to change the styling of multiple contained elements

to group elements

Answers

Answer:

I'd choose A, all of the above.

Reasoning Why:

I'll be taking you on a step to step process on why I inputted the answer.

The <div>, is basically like a container that you can group tougher, why this is great is because you can edit the div using a background-color effecting that group such as the following..

EXAMPLE OF BACKGROUND-COLOR DIV (background-color)

<!DOCTYPE html>

<html>

<head>

<title>Brainly Example | HTML Div</title>

<style>

#byexample{

background-color:red;

/*Example of the Background-color attrib*/

/*You can also use the background-image attrib, however I recommend you checkout W3Schools, on that topic.*/

}

</style>

</head>

<body>

<div id="byexample">

<p>Just some random text to demonstrate.</p>

</div>

</body>

</html>

END OF EXAMPLE

You can also, in the <div> change multiple styles of an element in the div. However, if do want to change the styles of a single element you would need to nest it.

<!DOCTYPE html>

<html>

<head>

<title>Brainly Example | HTML Div</title>

<style>

#byexample #text{

background-color:red;

color:yellow;

}

</style>

</head>

<body>

<div id="byexample">

<p id="text">Just some random text to demonstrate.</p>

</div>

</body>

END OF EXAMPLE

Lastly, you can group elements using divs, as stated in openclassroom (website).

Anyways, I hope this helped!

Happy coding!

WHY DOES THIS HAPPEN!?!??!?

Answers

Answer:

whats the qeustain?

Explanation:

HELP PLZZ Which statement is true? Select 3 options.


A. A function must have a return value.

B. A function can use variables as parameters.

C. The definition of a function must come before where the function is used.

D. The definition of a function can come before or after it is used.

E. A function can have more than one parameter.

Answers

Answer:

B. C. E.

hope this helps :D

Answer:

The definition of a function must come before where the function is used.

A function can have more than one parameter.

A function can use variables as parameters.

Explanation:

How do graphic designers showcase their work?
Graphic designers create(Blank)
to showcase their work.


THIS IS A BIG TEST IM BEHIND AND CANNOT FAIL PLZ

Answers

Answer:

Platforms!

Explanation:

Answer:

portfolios

Explanation:

A portfolio is a collection of work done by a graphic designer. Graphic designers use them to display their work to their clients.

The data type of 17.3 should be ________________.

int
float
str
list
Please answer quick.​

Answers

Answer:

float

Explanation:

Answer:

17.3 should be a float

Explanation:

Float type is a data that is contain a decimal number

What are the most common forms of information?

Answers

Answer: web search

Explanation:

Select four Microsoft programs.
a. Serrer
b. Visio
C. Office
d. Windows 7
e. Red Hat

Answers

Answer:

Windows, office serrear and Visio

Explanation:

Can someone tell me how to fix the keyboard on ipad?- its in the middle of my screen andd i dont know how to do it

Answers

Answer:

Here

Explanation:

To move keyboard to bottom of screen, you just need to tap and hold the keyboard icon at the bottom-right corner of the keyboard, choose Dock option. To fix iPad keyboard in middle of screen, please tap and hold the keyboard icon, then choose Dock.Nov 5, 2020

heeeeeeeeeeeelp idek plz help

Answers

Answer:

b

Explanation:

69.147.76.15 is an example of what?​

Answers

Answer:

IP address.

Explanation:

An IP address is an acronym for internet protocol address and it can be defined as a unique number assigned to a computer or other network devices, so as to differentiate each device from one another in an active network system. Thus, an IP address is typically used to uniquely identify each computer or network devices connected to the internet or network.

Hence, 69.147.76.15 is an example of an IP address.

In Computer networking, IP address are classified into two (2) main categories and these are;

1. Local (internal) IP address.

2. Global (external) IP address.

Generally, when this IP address such as 69.147.76.15 is translated by a domain name system (DNS), it is mapped to the domain name yahoo.com which is much more understandable or comprehensible to the end users.

Choose the term that completes the sentence.
A bubble (sort/function/search) starts by comparing the first item in the list to the rest of the items.

If the first one is greater than a later item, the items are swapped.

Answers

Answer: BUBBLE SORT

I hope I've been helpful to you.

Answer:

Sort

Explanation:

I Answered this in Edge.nuity and it was correct

Fill in the blanks : To store 3 character a computer occupies...................bytes memory space​

Answers

Answer:

Umm was there supposed to be a picture????

Explanation:

Hope you have a wonderful Christmas Eve time with your family!!❄️

Eight bits are called a byte. One byte character sets can contain 256 characters. The current standard, though, is Unicode, which uses two bytes to represent all characters in all writing systems in the world in a single set.

What is memory space?

Memory refers to the location of short-term data, while storage refers to the location of data stored on a long-term basis. Memory is the power of the brain to recall experiences or information.

Memory is most often referred to as the primary storage on a computer, such as RAM. Memory is also where information is processed. It enables users to access data that is stored for a short time.

Learn more about Memory here,

https://brainly.com/question/23423029

#SPJ2

computer network reduces the cost of operation​

Answers

Answer:

Computer Networks can allow businesses to reduce expenses and improve efficiency by sharing data and common equipment, such as printers, among many different computers. At the same time, the network may be connected by cables, telephone lines, infrared beams etc, which is cheaper and helps to reduce the expenses.Explanation:

Question # 3

Dropdown

Finish the code for this bubble sort.

length = len(myList)

for n in range(length - 1):

for test in range(n + 1, length):

if myList[n] _____ myList[test]:

temp = myList[n]

myList[n] = myList [test]

myList[test] = temp

print(myList)

Answers

Answer:

The answer is >

Explanation:

I did the assignment on edge this was the correct answer

The complete code is length = len(myList), for n in range(length - 1):, for test in range(n + 1, length):, if myList[n] > myList[test]:.

What is coding?

Computer code, or a set of instructions or a system of rules defined in a specific programming language, is a term used in computer programming (i.e., the source code).

Although learning to code is not difficult, it might be scary at first. The initial stages of learning something new might be difficult. With practice, persistence, and patience, coding becomes simpler. If you're thinking about learning to code, it's simple to get caught up in the challenge.

Languages written in an imperative, functional, logical, or object-oriented style are common. These coding language paradigms are available for programmers to select from in order to best meet their demands for a given project.

Therefore, the correct term to complete the code bubble sort is >.

To learn more about coding, refer to the link:

https://brainly.com/question/20712703

#SPJ2

Other Questions
Drug awareness assignment! Match these items.1. the term used for a drug that can be purchased without a doctor's approval 2. medicine only your doctor can give you 3. drugs purchased from the street 4. whom to ask before mixing any drugs 5. taking someone else's medication 6. a chemical substance taken to change bodily function 7. drugs used to relieve the body of pain and disease 8. sugar pill that is chemically inerta. misuseb. drug c. doctor or pharmacistd. placeboe. illegalf. prescriptiong. medicationh. medicationi. "over-the-counter" Which of the following best describes an ecosystem in a neighborhood garden? Type the following sentence and add parentheses or brackets where needed. Add any necessary punctuation marks for clarity. Use exact spelling and correct spacing."I appreciate this the honor truly, but I can't accept it." Choose the correct Preterite conjugation.Mi madre(cocinar) la cena anoche. Agriculture allows for a higher carrying capacity (it can produce more and support more people) than other adaptive strategies. This gives rise to higher population density and can allow more easily for an elite supported by the labor of others.A. TrueB. False rocky thinks of an odd integer adds the next two consecutive integer which of these could be the sum A biochemist carefully measures the molarity of magnesium ion in of cell growth medium to be . Unfortunately, a careless graduate student forgets to cover the container of growth medium and a substantial amount of the solvent evaporates. The volume of the cell growth medium falls to . Calculate the new molarity of magnesium ion in the cell growth medium. Be sure your answer has the correct number of significant digits. A product (that has not been yet invented) that involves lighting up when something happens? I need help answering that Im lost and its a 3 step problem Anyone know the answer?? Most slide layouts include at least one ________ by default.Question 2 options:placeholderaction buttontransitionanimation How did women feel they were being treated based on the provisions of the Declaration of Independence? Ava is five weeks pregnant, and her fetus is beginning to develop three layers that will form the essential human functions. What will the ectoderm layer become over the course of Ava's pregnancy?heart, circulatory system, bones, muscles, and reproductive systemskin, nervous systems, connective tissue, and eyeshair, fingernails, and eyebrowslungs, intestines, and bladder Describe thurstons relationship with his name Graph each function. State the domain and range.f(x)={(-x-2 if x>0),(-x if x 80 is what percent of 125? 2 points The sad thing about Mrs. Turner is that she actually hates herself. O True O False Cory is a bird watcher he estimates that 30% of the birds he sees are american robins, 20% are dark eyed juncos and 20% are slnc sparrows. he designs a simulation. 2 What is as a percentage? 50 3. Discuss Ponyboy's evolving conception of the Socs. How does hisopinion of the Socs at the end of the novel differ from his opinion at thebeginning?