What are the logics possible to loop a string into a grid?
For example if I wanted 'water' to print
water
aterw
terwa
erwat
rwate
I was trying something along the lines of,
word = 'water'
for number, letter in enumerate(word):
if number < len(word):
print a + word[1:] + word[:1]
I do not comprehend how i can achieve this as you can see from my attempt. Thanks for any help.