employer cover photo
employer logo

VMware Interview Question

Given a string replace all the white spaces by "%20".

Interview Answers

Anonymous

May 10, 2015

Coded that easily.

Anonymous

Jan 24, 2017

x = "Hi, How are you ?" def change (x): y = x.split(" ") return "%20".join(y) change(x)