projets
/
ongolaboy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e09087f
)
aléatoire: maj, min
author
Willy MANGA
<willy.manga@auf.org>
Thu, 9 May 2013 10:27:30 +0000
(11:27 +0100)
committer
Willy MANGA
<willy.manga@auf.org>
Thu, 9 May 2013 10:27:30 +0000
(11:27 +0100)
scripts/aleatoire/valeurAleatoires.py
patch
|
blob
|
blame
|
history
diff --git
a/scripts/aleatoire/valeurAleatoires.py
b/scripts/aleatoire/valeurAleatoires.py
index
e8201c7
..
54e372d
100644
(file)
--- a/
scripts/aleatoire/valeurAleatoires.py
+++ b/
scripts/aleatoire/valeurAleatoires.py
@@
-12,6
+12,8
@@
valeurAleatoire =''
compteur = 25
while compteur > 0:
obtention = random.choice(listing)
+ if compteur % 2 == 1 :
+ obtention = obtention.upper()
valeurAleatoire+=obtention
compteur-= 1