#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2017 Constant, Algolit # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details: . intro = input("vous ete un chevalier") enter = "Appuyé sur entrer pour continuez" continuez = " Souhaitez-vous continuez ? oui / non" sentence = print(continuez) reponse = input() print(intro) #script oui/non y = "oui" n = "non" if reponse == y : print("super") else : print("dommage") # create list item item = "bouclier torche pièces" words = item.split() words.sort() input(words) input("Prendre un item ?") if reponse == words : print("vous avez pris un item") else: print("vous avez rien prit")