Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
ArwaAbdelkhalik committed Jan 12, 2025
1 parent 4bf9cc7 commit 6dfdc33
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions solutions/capitalize_string.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"""

import unittest


def capitalize_string(s):
"""
Expand All @@ -27,3 +29,7 @@ def capitalize_string(s):
if not isinstance(s, str):
raise TypeError("Input must be a string.")
return s.upper()


if __name__ == "__main__":
unittest.main()

0 comments on commit 6dfdc33

Please sign in to comment.