DNA Sequence Reverser

Easy
#strings #bioinformatics

Input: `s` (str) representating a DNA sequence. Return: The reversed sequence string.

Example

Input: 'python'
Output: 'nohtyp'
Need a hint?
  • String slicing [::-1] is the fastest way
Run your code to see output