Solutions will be available when this assignment is resolved, or after a few failing attempts.

Reverse a string

Write a function reverse_string that receives a string and returns it reversed. Example:

reverse_string('Hello World')  # 'dlroW olleH'
reverse_string('Python')  # nohtyP

Test Cases

test with short string - Run Test

def test_with_short_string():
    assert reverse_string('Python') == 'nohtyP'

test with large string - Run Test

def test_with_large_string():
    assert reverse_string('Python is Awesome') == 'emosewA si nohtyP'
def reverse_string(a_string): pass