Foundations of Python

33 / 134

Python - String Concatenation

In Python, we can use several string operations like concatenations. Two strings can be concatenated using the + operator. For example, to concatenate strings "football" and "basketball" and assign it to new variable games, use the below code

games = "football" + "basketball"

  • Assign Cloudx to a variable first and Lab to a variable second
  • Concatenate first and second and store the result in the variable final
See Answer

No hints are availble for this assesment

Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...