Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > fr.comp.lang.python > #3748
| Path | csiph.com!news.mixmin.net!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail |
|---|---|
| NNTP-Posting-Date | Sat, 05 Feb 2022 09:22:45 -0600 |
| Newsgroups | fr.comp.lang.python |
| Subject | Très très débutant - merci pour l'aide |
| X-poster | PEAR::Net_NNTP v1.5.0 (stable) |
| From | DeMonteRobert <nospam_r.demonte69@gmail.com.invalid> |
| Content-Type | text/plain; charset=windows-1252 |
| Content-Transfer-Encoding | 8bit |
| Organization | !No_Organization! |
| Message-ID | <QeydndQb0pPbC2P8nZ2dnUU7_83NnZ2d@giganews.com> (permalink) |
| Date | Sat, 05 Feb 2022 09:22:46 -0600 |
| Lines | 25 |
| X-Usenet-Provider | http://www.giganews.com |
| X-Trace | sv3-qkNO4Zi3HMPO55EUQeuRecBb4iDlH8qUcMU2/EYUb9lKsKVlYBK8cnoEo9bMPFaYkL6RXXmePqCYhuy!IuKGUKpiFMuLF+UiYLGJo9fEEA9foRx2SJSN3kYjGFSqy2LEOhzLK220CMMZL0J9VflYC8JjOUf0 |
| X-Complaints-To | abuse@giganews.com |
| X-DMCA-Notifications | http://www.giganews.com/info/dmca.html |
| X-Abuse-and-DMCA-Info | Please be sure to forward a copy of ALL headers |
| X-Abuse-and-DMCA-Info | Otherwise we will be unable to process your complaint properly |
| X-Postfilter | 1.3.40 |
| X-Original-Bytes | 2012 |
| Xref | csiph.com fr.comp.lang.python:3748 |
Show key headers only | View raw
Bonjour,
voila mon premier codage et une erreur apparait.... je trouve pas pourquoi ?
Pouvez m'aidez svp merci...
code:
# Manoir hanté
from random import randint
print ('le manoir hanté')
Je_suis_courageux = True
score = 0
while Je_suis_courageux :
porte_fantôme = randint (1, 3)
print ('Tu te retrouves face à trois portes...')
print ('Derriere laquelle se cache le fantome ?')
print ('Quelle porte ouvres -tu ?')
print = input ('1, 2 ou 3 ?')
num_porte = input ('1, 2 ou 3? ')
if num_porte == porte_fantôme:
print ('UN FANTOME !')
Je_suis_courageux = False
else:
print ('Pas de fantôme!')
print ('tu entres dans la prochaine salle.')
score = score + 1
print ('Au secours !')
print ('Partie terminée ! Ton score :', score)
Back to fr.comp.lang.python | Previous | Next — Next in thread | Find similar
Tr�s tr�s d�butant - merci pour l'aide DeMonteRobert <nospam_r.demonte69@gmail.com.invalid> - 2022-02-05 09:22 -0600
Re: Très très débutant - merci pour l'aide Benoit Izac <use.reply.to@INVALID.ADDRESS> - 2022-02-05 20:56 +0100
Re: Très très débutant - merci pour l'aide Lulu <lulu042@fry.fr.invalid> - 2022-04-07 22:53 +0200
Re: Très très débutant - merci pour l'aide Benoit Izac <use.reply.to@INVALID.ADDRESS> - 2022-04-08 12:52 +0200
csiph-web