Hey guys!
Today I made some rock paper scissors code.
Pretty much the computer will verse you in a round of rock paper scissors and will continue to do so until there is a clear winner(in case of a tie).
The code for it is here.
For an idea of what it looks like, here is a scenario in which I choose to play paper:
In this case, first I tied with the computer when I chose paper, and then the computer won against me when I chose scissors.
Check it out because it's pretty cool :D
- Maya :)
Friday, 24 July 2020
Monday, 20 July 2020
Python times tables code
Python code for times tables!
Hey guys!
So today I made some Python code that will print out the times tables of your choice up to the number of your choice, e.g "I want the 7 times tables up to 10 times."
I posted the code in GitHub, so here is the link to the repository where you will find the code and a more in-depth explanation.
For reference, here is a picture of the output when I put "2 times tables up to 10 times":
Check it out, it's pretty cool :D
- Maya :)
Subscribe to:
Posts (Atom)