diff options
Diffstat (limited to 'progs/a140.py')
-rw-r--r-- | progs/a140.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/a140.py b/progs/a140.py new file mode 100644 index 0000000..2bdcce2 --- /dev/null +++ b/progs/a140.py @@ -0,0 +1,6 @@ +def all_Characters_Same(s) :
+ n = len(s)
+ for i in range(1,n) :
+ if s[i] != s[0] :
+ return False
+ return True
\ No newline at end of file |