magie2.py

Created by danio

Created on December 03, 2019

409 Bytes


print()
print("-> Pense à un nombre")
print("-> Double ce nombre")
print("-> Ajoute 10")
print("-> Divise le par 2")
print("-> Soustrait le nombre de")
print("départ au résultat")
print("-> Rentre 1 si tu veux que")
print("je devine le résultat.")
x=int(input())
if x==1:
  print("Décodage...")
  for loop in range(5):
    print("...")
  print("Le nombre auquel tu penses")
  print("est",5)

During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.