You double the quotes inside the quotes like this:str1 = """abcd"""Or if you wanted spaces at the start and end of the stringstr1 = " ""abcd"" "