BroHelp.me

How to assign a multiline string to a variable using python

a = """brohelp,
brohelp,
brohelp,
brohelp.
"""
print(a)

Or three single quotes:

a = '''brohelp,
brohelp,
brohelp
brohelp.'''
print(a)

Random Articles

  • What month comes after October?
  • Give me oxygen , and I will live. give me water, and I will die. Who am I?
  • How to round numbers in godot
  • Power function using recursion java
  • Popen python example
BroHelp is provided without warranty of any kind. If you found any problem please contact us at [email protected]
BroHelp.me 2020 - 2021