Skip to content

Commit 511119f

Browse files
Adds setup instructions
1 parent 9540de7 commit 511119f

File tree

1 file changed

+32
-3
lines changed

1 file changed

+32
-3
lines changed

README.md

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python - Coding Bat Solutions
2-
*Unofficial answers to Python Coding Bat problems*
2+
*Unofficial answers to Python Coding Bat solutions for `String-1`,`Logic-1` and `Warmup-1` problems*
33

44
The problems can be found here: http://codingbat.com/python
55

@@ -8,9 +8,38 @@ I made these solutions while studying for my grade 9 computer science test. The
88

99
I have both my solutions for the test, and they can be found in the `test` folder.
1010

11+
*Please note this project will no longer be updated with more content, only bug fixes will occur*
12+
13+
## Setup Instructions
14+
15+
It is very easy to get these things up and running on your machine. Most people will not even want to run these, but instead see the solutions to them.
16+
17+
### Viewing Solutions
18+
19+
Well, that's easy, just open the folder that is the problem set name. Then click the solution you want to use.
20+
21+
__Note:__ *If you are using Coding Bat's online interface, please follow the instructions below.*
22+
23+
Suppose, the following is shown below, only take the function, so everything from line 1-5 should be put in the online interface.
24+
25+
```
26+
def monkey_trouble(a_smile, b_smile):
27+
if(a_smile == "yes" and b_smile == "yes" or a_smile == "no" and b_smile == "no"):
28+
return True
29+
else:
30+
return False
31+
32+
a_smile = raw_input("Is a smiling? (yes or no) ")
33+
b_smile = raw_input("Is b smiling? (yes or no) ")
34+
35+
print(monkey_trouble(a_smile,b_smile))
36+
```
37+
38+
### Downloading the Repository
39+
40+
Press the green, `Clone or download` button on the top of the repository. Then click `Download ZIP`.
41+
1142
## Improvements
1243
__Note:__ *All of these solutions have been tested using Coding Bat's online interface*
1344

14-
Hopefuly soon, I will be expaning these solutions for all of the Python questions.
15-
1645
If you find a better solution, please fork the repository and submit a pull request or let me know via email at [info@michaelbateman.ca](mailto:info@michaelbateman.ca). Please note - I will not be changing anything in the `test` folder, only the other files, if a better solution can be found.

0 commit comments

Comments
 (0)