From 48ad94be011f028d0b79e43c8937056b8e5e8ec3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sylwia=20Mi=C5=9Bkiewicz?= Date: Fri, 1 Jun 2018 07:59:38 +0200 Subject: [PATCH] done --- labs02/task11.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/labs02/task11.py b/labs02/task11.py index 7d36767..ae34488 100644 --- a/labs02/task11.py +++ b/labs02/task11.py @@ -9,7 +9,7 @@ Oba napisy będą składać się wyłacznie z małych liter. """ def common_chars(string1, string2): - pass + return sorted(set(string1.replace(' ',''))& set(string2.replace(' ',''))) def tests(f):