Write a Python program that accepts a string from user. Your program should create a new string by shifting one position to left.

For example if the user enters the string 'examination 2021' then new string would be 'xamination 2021e'

Source Code

text = input('Enter a string: ')
newtext = text[1:] + text[0]
print('New string:', newtext)

Output

Enter a string: examination 2021
New string: xamination 2021e