Sep-13-2019, 11:09 AM
(Sep-13-2019, 10:57 AM)hemal07yc Wrote: I Didn't get any output
So you have an answer.
However, if you are wondering why there is no output: there is no letter 'i' in x ('abcdef') so while loop is never executed as condition is false.
If you are adventurous you can write i = 'a' and observe what will happen (warning: you will enter endless loop, to break it press ctrl + c)
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.