From a75b44358ebb670ae2bc8035e6e8c2dac4195b3e Mon Sep 17 00:00:00 2001 From: Marc Partensky Date: Mon, 28 Sep 2020 00:06:55 +0200 Subject: [PATCH] made auto correction test without wifi --- test-auto-correction.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 test-auto-correction.py diff --git a/test-auto-correction.py b/test-auto-correction.py new file mode 100755 index 0000000..3ef496b --- /dev/null +++ b/test-auto-correction.py @@ -0,0 +1,14 @@ +#!/usr/bin/env python +class Salut: + def __init__(self, bonjour): + self.bonjour = bonjour + +class Salut2: + def __init__(self, b1njour): + self.b1njour = b1njour + +s = Salut('truc') +print(s.bonjour) + +s = Salut2('machin') +print(s.b1njour)