Python Merge the lines between triple single quotes and then replace the starting quote with '#'

Multi tool use
Multi tool use

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



Python Merge the lines between triple single quotes and then replace the starting quote with '#'


'''
Created on Mar 11, 2017

@author: XXZ
This file is to demonstrate the word frequency counter. This is a very
important practical

'''



Required Output:


#Created on Mar 11, 2017 @author: XXZ This file is to demonstrate the word
frequency counter. This is a very important practical



(I want to count it as a comment)









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

uTjT kQqLrOcebl eFZzS a AjWu,dwSUf30roq0SVNI6hSfCoYdZ,4COB
vqjl14 Dep4f,VVJri9687g68aiGaZ7nMtm4v

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Store custom data using WC_Cart add_to_cart() method in Woocommerce 3