ServiceNow Interview Question

how to replace cal with hyd in give String=calchen cal without using String replace

Interview Answer

Anonymous

Jul 20, 2020

here is the code with python 3 b = "calben cal" s=b[3:7] print("hyd"+s+" "+"hyd")

1