devine.py

Created by cent20

Created on April 19, 2021

241 Bytes

𝗱𝗲𝘃𝗶𝗻𝗲 !

Devineras tu le nombre magique ?
𝔍𝔢 𝔰𝔞𝔦𝔰 𝔮𝔲𝔢 𝔱𝔲 𝔳𝔞𝔰 𝔢𝔰𝔰𝔞𝔶𝔢𝔯 𝔡𝔢 𝔱𝔯𝔦𝔠𝔥𝔢𝔯 𝔲𝔫 𝔩𝔦𝔰𝔞𝔫𝔱 𝔩𝔢 𝔰𝔠𝔯𝔦𝔭𝔱, 𝔪𝔞𝔦𝔰 𝔦𝔩 𝔢𝔰𝔱 𝔡𝔦𝔞𝔟𝔬𝔩𝔦𝔮𝔲𝔢 …


# Ce script ne produit pas le résultat attendu !
# Devineras-tu pourquoi ?
a = input("\nDevine le nombre magique :")
while a!=42:
    print("mauvaise réponse")
    a = input("\nDevine le nombre magique :")
print("Gagné !\n")

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.