I've made a program which reverses the given word. It goes like that:
word = input("Type text: ")
x = len(word)
y = x - 1
while y >= 0:
print(word[y])
y -= 1
Naturally loop prints each letter in separate line and I have no idea how to combine those letters into one string. Could you help me?