27 lines
No EOL
476 B
Markdown
27 lines
No EOL
476 B
Markdown
![img](../../../../../assets/htb.png)
|
|
|
|
|
|
<img src='../../../../../assets/logo.png' style='zoom: 80%;' align=left /> <font size='10'>Reversal</font>
|
|
|
|
1<sup>st</sup> October 2024
|
|
|
|
Prepared By: ir0nstone
|
|
|
|
Challenge Author(s): ir0nstone
|
|
|
|
Difficulty: <font color='green'>Very Easy</font>
|
|
|
|
# Synopsis
|
|
Given a string, return the reverse of the string.
|
|
|
|
## Skills Required
|
|
* Basic Python
|
|
|
|
# Solution
|
|
We take in the string, and then we reverse it.
|
|
|
|
```py
|
|
s = input()
|
|
|
|
print(s[::-1])
|
|
``` |