This code needs to be indented nicely, this is how you can do it.
HOW TO DO IT.
paste the code in.
click the button “Format Code”
it should now look nice and pretty with indents.
paste it back into the wordpress post as code.