diff options
Diffstat (limited to 'progs/a901.py')
-rw-r--r-- | progs/a901.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/a901.py b/progs/a901.py new file mode 100644 index 0000000..6d1dea5 --- /dev/null +++ b/progs/a901.py @@ -0,0 +1,3 @@ +def string_list_to_tuple(str1):
+ result = tuple(x for x in str1 if not x.isspace())
+ return result
\ No newline at end of file |