removed print out
This commit is contained in:
parent
c757efb8f8
commit
13375bd8c2
@ -1,14 +1,10 @@
|
||||
package psyfer
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"math/rand"
|
||||
)
|
||||
import "math/rand"
|
||||
|
||||
func TransposeRandom(input string) string {
|
||||
shuffle := ""
|
||||
list := rand.Perm(len(input))
|
||||
fmt.Println(list)
|
||||
for _, i := range list {
|
||||
shuffle += string(input[i])
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user