Name Description Size Visibility
super bario bros
580 Bytes Public
7.62 KB Public
Réciprocité de “a(x)|b(x) ∀x∈ℤ” (programme de maths expertes) : Pour deux fonctions a(x) et b(x) et une série de solutions x possibles données, calculer les solutions a(x)=y et b(x)=z pour chaque x et indiquer si y|z. Renvoie une liste de solutions x vérifiant a|b et, dans le cas échéant, une liste des x indiqués ne vérifiant pas a|b. Utilisation : exécuter cb(), définir les fonctions a(x) et b(x) avec la syntaxe python (ex. 2*x+3), puis entrer chaque valeur possible de x à tester. L’aide est accessible avec la commande .. une fois le prompt affiché. Les fonctions a(x) et b(x) sont évaluées avec eval(a), il faut que leur contenu soit une expression cohérente en python qui retourne un nombre. IMPORTANT : l’émulateur Numworks en ligne plante lors de eval(a) et eval(b) malgré a et b expressions correctes alors qu’il ne devrait pas, ce script est tout à fait correct et marche sans problème sur calculatrice réelle et dans tout autre interpréteur python.
1.92 KB Public
Another smarter numeral base converter
3.6 KB Public
press the key whose number is printed in the currently appearing crate on the screen you have 5 seconds to break as many crates as you can (the countdown stops when there’s nothing to break) be carfeful ! breaking a crate that isn’t shown will give you bad points !
1.4 KB Public
a script to precisely draw on the screen with the turtle module
2.49 KB Public
draw_v3.1 - a script to precisely draw on the screen with the turtle module Usage Basic Execute the main() function and it opens the interface. Every action is sent to the program thanks to key presses. Movements Move on the cardinal axes with the great arrow key. Move relative to your position with alpha, ln for/backwards and exp, log left/right. Change the scale of relative movements with keys 7, 4, 1 (length) and 8, 5, 2 (angle). Enter absolute coordinates and angles with pi and square-root. Pen management Toggle pen with sin. Change the line’s color with cos (presets) and tan (rgb). Change the size with left parenthesis, plus and multiply. Clear the screen and with backspace. Miscellanous Change ticking speed with right parenthesis, minus and divide. Toggle turtle with square (x²). Switch prompt with var (interface). Note that turtle doesn’t use the ion coordinate system: the origin (0,0) is in the very center of the screen. When dealing with angles, turtle uses degrees and describes 0° as “looking to the right”. Interface The drawing area starts blank and fills up 90% of the screen (ion coordinates 0,0 to 320,202). There is a status bar, called the prompt, at the bottom which shows all the user values. There are 3 prompt modes ; switch the shown mode with var. The position prompt logs the absolute coordinates (with turtle origin) and the heading/orientation. The settings prompt logs the relative gaps (pixgap and deggap) alongside the tick speed. The pen prompt logs the current color, the pen state (up/down) and its size/weight. When you need to enter a value, a specific input-prompt gets showed. You can use the digits, minus and backspace to indicate the value and exe or ok to send. Escape it without making changes to any program-value with divide.
7.7 KB Public
8.21 KB Public
mask(m,p) : trouver l’adresse ip d’un sous réseau à partir d’une ip locale (p) et d’un masque (m) rand() : renvoie une ip locale et un masques générés aléatoirement sous forme d’appel à mask() Le script propose une courte description ainsi que deux exemples lors de son importation. Note : les adresses ip et les masques sont spécifiés sous forme de listes (tuple) d’int-s, par exemple 192.168.0.1 s’écrit (192, 168, 0, 1) et 255.255.248.0 s’écrit (255, 255, 248, 0)
1.38 KB Public
Computes and prints each step of the Euclidea Algorithm.
300 Bytes Public
598 Bytes Public
224 Bytes Public
486 Bytes Public
283 Bytes Public
For given (A, B) returns the B exposent root of A as a float. (note: B is optionnal, it defaults to 2)
144 Bytes Public
a click speed test execute tt() and optionally add a time argument (in seconds) (8 seconds by default) you then have that much time to press the “x10” key as much as you can ! once finished, tt returns your score and your average click per second
381 Bytes Public
Writes text given to main() on the screen (graphical output). Ecrit le texte donné en argument à main() sur l’écran (résultat graphique)
8.28 KB Public

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.