Don't like ads? PRO users don't see any ads ;-)
Guest

;D

By: a guest on Jul 29th, 2012  |  syntax: Python  |  size: 0.20 KB  |  hits: 23  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Szoveg felcserelo program
  2.  
  3. txtOne,j = "Burgonya",0
  4. txtTwo,i = txtOne,len(txtOne)
  5. while( i > 0):
  6.     txtTwo[j] = txtOne[i]
  7.         j = j + 1
  8.     i = i - 1
  9.  
  10. print "txtOne:",txtOne
  11. print "txtTwo:",txtTwo