Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
AidanBaird authored Jun 25, 2022
1 parent f00f903 commit 0a498bb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Convert_a_Bolean_to_a_string_kyu8.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# check if b is either True or False and return a string reponse instead

def boolean_to_string(b):
if b == True:
return "True"
elif b == False:
return "False"

0 comments on commit 0a498bb

Please sign in to comment.