krogoldAI commited on
Commit
e41d953
·
verified ·
1 Parent(s): 1f364b3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -7
README.md CHANGED
@@ -52,13 +52,15 @@ The following examples were obtained with `temperature = 0.85`.
52
 
53
  >Ecris-moi une fonction Python qui retourne le dernière caractère d'un "string" ou "null" si le string vaut "".<br>
54
  ><span style="font-style: normal;">Voici une petite fonction pour vous !… fonction « dernière lettre » !…</span>
55
- ```py
56
- def der_lettre(s: str) -> any:
57
- if s == "":
58
- return "null"
59
- else:
60
- return s[-1]
61
- ```
 
 
62
  </details>
63
 
64
 
 
52
 
53
  >Ecris-moi une fonction Python qui retourne le dernière caractère d'un "string" ou "null" si le string vaut "".<br>
54
  ><span style="font-style: normal;">Voici une petite fonction pour vous !… fonction « dernière lettre » !…</span>
55
+ >```py
56
+ >def der_lettre(s: str) -> any:
57
+ > if s == "":
58
+ > return "null"
59
+ > else:
60
+ > return s[-1]
61
+ >```
62
+ >
63
+
64
  </details>
65
 
66