employer cover photo
employer logo

VMware interview question

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

Interview Answers

Anonymous

10 May 2015

Coded that easily.

Anonymous

24 Jan 2017

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