projets
/
ongolaboy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b7525e
)
Valeur aleatoire: update un peu
author
Willy MANGA
<willy.manga@auf.org>
Tue, 19 Jun 2012 09:40:52 +0000
(11:40 +0200)
committer
Willy MANGA
<willy.manga@auf.org>
Tue, 19 Jun 2012 09:40:52 +0000
(11:40 +0200)
* des termes en plus
* un résultat plus grand
scripts/aleatoire/valeurAleatoires.py
patch
|
blob
|
blame
|
history
diff --git
a/scripts/aleatoire/valeurAleatoires.py
b/scripts/aleatoire/valeurAleatoires.py
index
8dd7f4b
..
e8201c7
100644
(file)
--- a/
scripts/aleatoire/valeurAleatoires.py
+++ b/
scripts/aleatoire/valeurAleatoires.py
@@
-4,12
+4,12
@@
import random
listing = ["a","z","e","r","t","y","u","i","o","p","q","s","d","f","g","h",
- "j","k","l","m","w","x","c","v","b","n",";",":","!","ù","*","$","⁼",
+ "j","k","l","m","w","x","c","v","b","n",";",":","!","ù","*","$","⁼","@","#","&",
")","à","ç","_","è","-","(","'","é","&","1","2","3","4","5","6","7","8","9","0"]
valeurAleatoire =''
-compteur = 15
+compteur = 25
while compteur > 0:
obtention = random.choice(listing)
valeurAleatoire+=obtention