Inspiration Learn more about python and get hands on practice.

What it does Simply reverse a string.

How we built it It's built using python and concepts of loop, in particular.

Challenges we ran into

Accomplishments that we're proud of

What we learned

What's next for Reverse a string


#program to reverse a string
def reverse(a):
    str = ""
    for i in a:
        str = i + str
    return str


a = "ArchitSharma"

print("The original string  is : ", end="")
print(a)

print("The reversed string(using loops) is : ", end="")
print(reverse(a)) ```

Built With

Share this project:

Updates