Reverse Word

    0

    0

    HARIGOVIND VALSAKUMAR

    PythonReverseWords
    HGV Public Cookbook

    Function to reverse a sentence

    def reverse_words(input_str):
        return " ".join(reversed(input_str.split(" ")))
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.