From 022ef83e2f32fdca9c4aac49575f21849cc49da9 Mon Sep 17 00:00:00 2001 From: JiayangWu <530081999@qq.com> Date: Sun, 1 Mar 2020 21:06:00 -0500 Subject: [PATCH] 2020-03-01 --- ...246\346\230\257\345\220\246\345\224\257\344\270\200.py" | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 "\351\235\242\350\257\225\351\242\23001.01.\345\210\244\345\256\232\345\255\227\347\254\246\346\230\257\345\220\246\345\224\257\344\270\200/\351\235\242\350\257\225\351\242\23001.01-\345\210\244\345\256\232\345\255\227\347\254\246\346\230\257\345\220\246\345\224\257\344\270\200.py" diff --git "a/\351\235\242\350\257\225\351\242\23001.01.\345\210\244\345\256\232\345\255\227\347\254\246\346\230\257\345\220\246\345\224\257\344\270\200/\351\235\242\350\257\225\351\242\23001.01-\345\210\244\345\256\232\345\255\227\347\254\246\346\230\257\345\220\246\345\224\257\344\270\200.py" "b/\351\235\242\350\257\225\351\242\23001.01.\345\210\244\345\256\232\345\255\227\347\254\246\346\230\257\345\220\246\345\224\257\344\270\200/\351\235\242\350\257\225\351\242\23001.01-\345\210\244\345\256\232\345\255\227\347\254\246\346\230\257\345\220\246\345\224\257\344\270\200.py" new file mode 100644 index 0000000..50fe13e --- /dev/null +++ "b/\351\235\242\350\257\225\351\242\23001.01.\345\210\244\345\256\232\345\255\227\347\254\246\346\230\257\345\220\246\345\224\257\344\270\200/\351\235\242\350\257\225\351\242\23001.01-\345\210\244\345\256\232\345\255\227\347\254\246\346\230\257\345\220\246\345\224\257\344\270\200.py" @@ -0,0 +1,7 @@ +class Solution(object): + def isUnique(self, astr): + """ + :type astr: str + :rtype: bool + """ + return len(set(astr)) == len(astr) \ No newline at end of file