Add 57 new questions and exercises

This commit is contained in:
abregman
2021-08-13 09:23:50 +03:00
parent 6e01886e6b
commit 3b05d95256
27 changed files with 1981 additions and 242 deletions

View File

@ -0,0 +1,16 @@
## Reverse a String - Solution
```
my_string[::-1]
```
A more visual way is:<br>
<i>Careful: this is very slow</i>
```
def reverse_string(string):
temp = ""
for char in string:
temp = char + temp
return temp
```