From 77eeae65b006bd23f446dccc252deb2eaf142619 Mon Sep 17 00:00:00 2001 From: 4e66f0f4356d6380f30fb8f275301c74 <4e66f0f4356d6380f30fb8f275301c74@app-learninglab.inria.fr> Date: Fri, 17 Apr 2026 13:38:17 +0000 Subject: [PATCH] test --- module2/exo1/toy_notebook_fr.ipynb | 57 ++++++++++++++++++++++++++++-- 1 file changed, 54 insertions(+), 3 deletions(-) diff --git a/module2/exo1/toy_notebook_fr.ipynb b/module2/exo1/toy_notebook_fr.ipynb index 0bbbe37..a0709ba 100644 --- a/module2/exo1/toy_notebook_fr.ipynb +++ b/module2/exo1/toy_notebook_fr.ipynb @@ -1,5 +1,57 @@ { - "cells": [], + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [], + "source": [ + "%load_ext rpy2.ipython" + ] + }, + { + "cell_type": "code", + "execution_count": 8, + "metadata": {}, + "outputs": [], + "source": [ + "min(1, 3)\n", + "myVar = 2" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "myVar" + ] + }, + { + "cell_type": "code", + "execution_count": 6, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "[1] 2\n", + "[1] 2\n" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "%%R\n", + "a = 2\n", + "print(a)\n", + "min(2, 7)" + ] + } + ], "metadata": { "kernelspec": { "display_name": "Python 3", @@ -16,10 +68,9 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.3" + "version": "3.6.4" } }, "nbformat": 4, "nbformat_minor": 2 } - -- 2.18.1