-
Avec un mauvais langage, on peut faire que du movaicode
```php
```
-
Bonjour ! J’aurais pu utiliser [`strrev`][1] mais ça n’aurait pas été movai.
[1]: https://www.terraform.io/docs/configuration/functions/strrev.html
```hcl
variable "text" {
type = string
}
…
izeau updated
2 years ago
-
```python
# coding: utf-8
import random, time
start = time.time()
s = "MOVAI CODE"
print("String initial=", s)
while 1:
inverse = ''.join(random.sample(s, len(s)))
if inver…
-
Yep, you can copy/paste it, it works!
```
-
On peut tout faire sur google sheet. Même du movai code.
https://docs.google.com/spreadsheets/d/1L-mQ8wJ2E8cAPut4ZVwaRv5XrVUiOJL_MOl-PxBkTlA/edit#gid=0
Bisous 😘
-
```basic
10 INPUT "reverse : ", A$
20 FOR I = LEN(A$) TO 1 STEP -1
30 PRINT MID(A$, I, 1);
40 NEXT I
```
![movai](https://user-images.githubusercontent.com/2135375/93724025-eb0d9b80-fba3-11ea-…
-
```ruby
def reverse_str(str)
str_chars = str.chars
loop do
str_shuffled = str_chars.shuffle.join
puts "Est-ce votre chaîne renversée: '#{str_shuffled}' ?"
return str_shuffled if …
-
```python
# -*- coding: utf-8 -*-
import numpy as np
import matplotlib.pyplot as plt
import json
#To learn more about rotation matrix, check out this video: https://www.youtube.com/watch?v=dQw4…
-
# Inside fun.js
```js
const rec = (f) => (...args) => f((...args) => rec(f)(...args), ...args)
const ter = (s) => (n) => (e) => (s.length ? n() : e())
const rev = (s) => ter(s)(() => rec((r, x, ..…
-
```py
import itertools as it
import typing as tp
def validate_separation(string: str, separated: tp.List[str]) -> bool:
"""
Validates the separation of a string with spaces as delimit…