subject

Help me pls!! Look at the following assignment statements:

food1 = "water"
food2 = "melon"

What is the correct way to concatenate the strings?

newFood = word1 == word2
newFood = word1 + word2
newFood = word1 * word2
newFood = word1 - word2

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:30
Why would a programmer use the logical operator and in an if statement? a: when an action is to be taken that requires both conditions to be falseb: when an action is to be taken that requires both conditions to be truec: when an action is to be taken that requires the first condition to be falsed: when an action is to be taken that requires the second condition to be truei took the test and the answer is b.
Answers: 3
question
Computers and Technology, 24.06.2019 08:00
Can someone work out the answer as it comes up in one of my computer science exams and i don't understand the cryptovariables
Answers: 1
question
Computers and Technology, 25.06.2019 08:50
The purpose of this problem is to write some small functions and practice passing things around amoung functions.1) the main function shall ask the user to enter three numbers and read the three numbers.2) write a function named findsum that takes three numbers as arguments and returns their sum. the main function shall call this function.3) write a function named findaverage that takes the sum and the number of numbers and returns the average. the main function shall call this function.4) write a function named findsmallest that takes the three numbers and returns the smallest value. the main function shall call this function.5) the main function shall print the results in the following format, with two decimal positions and the decimal points aligned:
Answers: 3
question
Computers and Technology, 25.06.2019 13:10
1. which characteristics of pop art are evident in the image? select all that apply. (3 points). a. ben-day dots b. bold use of color c. celebrity figure d. everyday object
Answers: 3
You know the right answer?
Help me pls!! Look at the following assignment statements:

food1 = "water"
food2...
Questions
question
History, 08.04.2020 20:45
question
Chemistry, 08.04.2020 20:45
question
Mathematics, 08.04.2020 20:45
question
Mathematics, 08.04.2020 20:45
question
Chemistry, 08.04.2020 20:45
question
Mathematics, 08.04.2020 20:46
question
Mathematics, 08.04.2020 20:46
question
Mathematics, 08.04.2020 20:46
Questions on the website: 13722363