Skip to content

Commit 63749e0

Browse files
committed
adding another codingbat solution
1 parent 8a09de6 commit 63749e0

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
CodingBat Solutions
2+
====================
3+
4+
A few selected solutions form teh codingbat site:
5+
6+
http://codingbat.com/python
7+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env python
2+
3+
4+
def not_string(st):
5+
if st.startswith('not'):
6+
return st
7+
else:
8+
return 'not ' + st
9+

0 commit comments

Comments
 (0)