1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Bas_tet [7]
2 years ago
5

Hi. I'm a beginner in python. Can anyone tell me what I'm missing or doing wrong, because I can't figure out why my messages in

the final print aren't getting spaced out. For example in the picture that I attached, why isn't there space between "andfries".

Computers and Technology
1 answer:
andreyandreev [35.5K]2 years ago
4 0

Answer:

message = "i hate cheese and"

message += " fries"

print(message)

Explanation:

Whenever you do string concatenation, which is just combining strings, it doesn't put a space in between the items you're joining together, it does exactly what you tell it to do, so to add a space between the two pieces of text you would have to do the following:

```

message = "i hate cheese and"

message += " fries"

print(message)

```

Don't copy the ```, I just put that to indicate anything in between is code

Anyways notice the space I put before fries? That should also add a space in the message so there is a space between "and" and "fries"

You might be interested in
Which slide elements must claire use to enhance her presentation?
Crank

The answer for the 1st blank is text.


6 0
3 years ago
Read 2 more answers
PLEASE HELP!!!!
hammer [34]
Cooper should have paid more attention on verifying the source of the article before posting it. Without verifying the article, there are chances that your friends within your social media community will criticize you for posting something from a fiction-writing site. Assuming that Cooper's purpose in posting or sharing it online was to be informative, then he'll have to verify the the article if it's true or not.

4 0
3 years ago
Talia was a scientist whose research compared the birth rates of young women of a New England community over the course of five
podryga [215]

Answer: b

Explanation: for me personally i will populate an infographic(chart)rather than essay form i prefer to use an infographic to show my anaylis how it went high or low or when.

8 0
3 years ago
Read 2 more answers
Match the OOP concept to its definition.
Alekssandra [29.7K]

Answer:

defines a class in terms of another class = inheritance

inherits the properties of a base class = derived class

provides only essential information to the world = data abstraction

binds data and functions together = encapsulation

Explanation:

6 0
3 years ago
The purpose of software is to convert data into information. True or False
exis [7]

Answer:

true

Explanation:

8 0
4 years ago
Other questions:
  • Alison retrieved data from a company database containing personal information on customers. When she looks at the SSN field, she
    14·1 answer
  • Hard drive storage is considered to be solid state. true or false
    8·1 answer
  • All the answers I've got is 0, which seems strange but I'm sure I'm following this algorithm correctly.
    15·1 answer
  • T-shaped, square-bottomed, dovetailed, and V-shaped are all types of _______ in a machined part. A. gears B. bolts C. lines D. s
    8·2 answers
  • The final step of the DHCP Discovery process is known as...
    8·1 answer
  • All of the following are ways to save money on transportation except :
    7·1 answer
  • Write a program that asks the user how many numbers will be entered and then has the user enter those numbers. When this is done
    7·1 answer
  • What will you see on the next line?
    6·2 answers
  • In my mouth In my hair..........​
    15·2 answers
  • Host A sends a packet of length 1,100 bytes to host B over a link with transmission rate 4 Mbps over a distance 1300 km, propaga
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!