Posted By

nickleeh on 10/30/08


Tagged

python


Versions (?)

Convert the input text to upper case


 / Published in: Python
 

  1. while True:
  2. reply = raw_input('Enter text, [tpye "stop" to quit]: ')
  3. if reply == 'stop': break
  4. print reply.upper()

Report this snippet  

You need to login to post a comment.