DEV Community

Discussion on: textbaisedgame.py

Collapse
 
stegriff profile image
Ste Griffiths

Hi @masterpr0grammer , welcome to Dev.to!

Try using triple backticks,

``` to define a code block, and you'll get formatting like this:



def start():
# give some prompts.
print("\nYou are standing in a dark room.")
print("There is a door to your left and right, which one do you take? (l or r)")


Enter fullscreen mode Exit fullscreen mode

You could also consider writing a bit about your code to tell us about the project :)

Have fun.