Just like the title says
I’m trying to create a geomancy function that produces a random number between 1 and 10. If it’s odd I want it to write • and if it’s even I want it to write ••.
And when I run it multiple times it adds either output to the same file.
For example:
I roll 3.
So The text file now says
•
Then I roll again and get 8.
So now the text file says
•
••
And so on and so forth.
I’m trying to create a geomancy function that produces a random number between 1 and 10. If it’s odd I want it to write • and if it’s even I want it to write ••.
And when I run it multiple times it adds either output to the same file.
For example:
I roll 3.
So The text file now says
•
Then I roll again and get 8.
So now the text file says
•
••
And so on and so forth.