title: How to scramble the letters of a variable in python
body: <p>Im trying to make it so you type in a word and then a password and then it outputs the word with the letters scrambled up and then a separate program to decode it. I have tried to use Import Random but it hasn't worked. I have been looking online for about an hour and still haven't found anything. Here is the code I have so far.</p>
  
  <pre><code>ss = raw_input ("Enter Plain Text Here:  ")
  password = raw_input ("Enter the Password here:  ")
  RealPassword = "Test Password"
  if password == RealPassword:
      print "Password Accepted!"
      Var1 = (ss[1])
      Var2 = (ss[2])
      Var3 = (ss[3])
      Var4 = (ss[4])
      Var5 = (ss[5])
      Var6 = (ss[6])
      Var7 = (ss[7])
      Var8 = (ss[8])
      Var9 = (ss[9])
      Var10 = (ss[10])
      Var11 = (ss[11])
      Var12 = (ss[12])
      Var13 = (ss[13])
      Var14 = (ss[14])
      Var15 = (ss[15])
      Var16 = (ss[16])
      Var17 = (ss[17])
      print Var1 + Var2 + Var3 + Var4 + Var5 + Var6 + Var7 + Var8 + Var9 
  else:
      print "Wrong"
  </code></pre>