Practice - Concatenation of Strings
Practice Questions
Test your understanding with targeted questions
What is a string in Python?
💡 Hint: Think about how you would denote text.
How do you concatenate two strings?
💡 Hint: What symbol is often used in math for addition?
4 more questions available
Interactive Quizzes
Quick quizzes to reinforce your learning
Which operator is used for concatenating strings in Python?
💡 Hint: Think about how we combine things in math.
True or False: In Python, strings can contain both single and double quotes.
💡 Hint: Consider how you can write a string with quotes inside it.
3 more questions available
Challenge Problems
Push your limits with advanced challenges
Create a script to gather user input for their first and last name, then concatenate and display a greeting such as 'Hello, [First Name] [Last Name]' updating as the user types.
💡 Hint: Remember to use input and concatenate the strings effectively.
Given a string with the value str_data = 'Data Science is fun', write a function that returns the substring from index 5 to 11.
💡 Hint: Focus on correctly using the slicing technique.
Get performance evaluation
Reference links
Supplementary resources to enhance your learning experience.