Files
OpenHands/evaluation/regression/cases/python-cli-help/start/commands/scramble.py
Alex Bäuerle cd58194d2a docs(docs): start implementing docs website (#1372)
* docs(docs): start implementing docs website

* update video url

* add autogenerated codebase docs for backend

* precommit

* update links

* fix config and video

* gh actions

* rename

* workdirs

* path

* path

* fix doc1

* redo markdown

* docs

* change main folder name

* simplify readme

* add back architecture

* Fix lint errors

* lint

* update poetry lock

---------

Co-authored-by: Jim Su <jimsu@protonmail.com>
2024-04-29 10:00:51 -07:00

8 lines
115 B
Python

import random
def scramble_string(s):
s_list = list(s)
random.shuffle(s_list)
return ''.join(s_list)