Answer to Question #277105 in Python for dynes

Question #277105
  1. Create a variable and assign the string value "LET'S GO!" to it. You can name the variable anything you want as long as it's a valid name that is accepted in Python.
  2. Print out the value of the variable twice, but on the same line, separated by space, using the print() function. Use what you've learned on printing variables with spaces from the current lesson. The output generated by your code must be the same as that of the sample output.
1
Expert's answer
2021-12-09T01:23:29-0500
string = "LET'S GO!"
print(string, string)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS