Update syntax highlighting, update allUnique

This commit is contained in:
Angelos Chalaris
2019-08-20 10:09:53 +03:00
parent 59fd9ad9a8
commit 0f405f0da9
35 changed files with 73 additions and 72 deletions

View File

@ -6,12 +6,12 @@ Checks if a string is upper case.
Convert the given string to upper case, using `str.upper()` method and compare it to the original.
```python
```py
def is_upper_case(string):
return string == string.upper()
```
```python
```py
is_upper_case('ABC') # True
is_upper_case('a3@$') # False
is_upper_case('aB4') # False