Python Saved Program: ferrous-terrain

facebook share

Here's the online compiler accompanied with IDE at your service. This is a saved code by one of our users. Try it out or save your own from the IDE page and don't forget to leave a feedback. You can find that at the bottom of the page.



def front_back(str):
  ln=len(str)
  print(ln)
  print("fff, "+str[ln]+str[2:(ln-2)]+str[0])
  return str[ln]+str[1:(ln)]+str[0]
  
front_back("sacked")  
Execute

Output

Press the execute button or CTRL + enter to run code.

Inputs