Question: PLEASE WRITE THE CODE IN PYTHON FOR ALL QUESTIONS : ) String concatenation I Given these strings: s 1 = 'abcd' s 2 = 'efgh'
PLEASE WRITE THE CODE IN PYTHON FOR ALL QUESTIONS :
String concatenation
Given these strings: 'abcd'
s 'efgh'
Create a new string composed of the first string followed by concatenated with the second.
StringCharacter Repeating J
Create a single string containing copies of the string 'abc'. Use the multiplication operator to create a "line" of dashes.
String Cases
Convert a string to all upper case.
backslash character II
Create a string that contains a backslash character using both plain literal string and a raw string.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
