I want to create a string like this:
(just theoretically:-))
import random
list1 = ["1", "2", "3"]
string1 = random.choice(list1)
string2 = "Random Number is" + string1
but I want string2 to show up formatted like this:
Random Number is
2
But, for the life of me I cant figure out how to create a new line and a tab, without writing string2 like this
"""Random Number is
2"""
I spent 30 minutes in the documentation and on google, and all i found was "\t" and "\n", but I cant even figure out how to make them work! Any help would be greatly appreciated, Thanks!