subject

Exercise 3.6.9: 24 vs. "24"5 points Using the correct data type is important when math operators are involved.

Strings can also be “added” together. This is called concatenation.

A substring is part of an existing string. When strings are concatenated, each separate substring is combined to create a new string. Let’s check this out!

In this exercise, change the variables in the second code segment to strings and run the code. What do you notice?

# Code Segment One - Data Type - numbers
num_result = 24 + 24
print(num_result)

# Code Segment Two - Data Type - Strings
# Change both numbers to strings and run code
# Change only one number to a string and run code. What happens?
string_result = 24 + 24
print(string_result)
python

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:00
Match the following. 1. show grouping of word processing tasks that can be performed quick access toolbar 2. shortcut location for commonly used elements scroll bars 3. organized commands used to modify documents ribbon 4. used to align and measure content in a word screen zoom bar 5. vertical and horizontal bars that are used to navigate through a document contextual tabs 6. displays the name of the document in use ruler 7. allows users to enlarge or shrink a visual of a word document title bar
Answers: 2
question
Computers and Technology, 23.06.2019 09:00
What provides an array of buttons for quick access to commonly used commands and tools
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
Hey i just logged on and one of the moderators deleted a bunch of my answers to questions, even though the answers were right and the people it doesn't make sense but if anyone wants to talk about anything just message me lol (this is super random lol)
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
What type of slide show is a dynamic and eye-catching way to familiarize potential customers with what your company has to offer? a. ole b. photo album c. brochure d. office clipboard
Answers: 2
You know the right answer?
Exercise 3.6.9: 24 vs. "24"5 points Using the correct data type is important when math operators ar...
Questions
question
History, 06.10.2020 14:01
question
Biology, 06.10.2020 14:01
question
Geography, 06.10.2020 14:01
Questions on the website: 13722363