From 0c6ac4ab9c9a43f3d0b330c9c7ac4b93896d1c41 Mon Sep 17 00:00:00 2001 From: CharlyBVO <charles-henry.bertrand@uclouvain.be> Date: Wed, 19 Feb 2020 14:24:53 +0100 Subject: [PATCH] fix stupid problem 2 --- validity_check.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/validity_check.py b/validity_check.py index b4fe831..ff92bde 100644 --- a/validity_check.py +++ b/validity_check.py @@ -29,5 +29,6 @@ if __name__ == "__main__": if i<3 and prev_line[i] != curr_line[i] : print('You modify your data !\n') exit(1) - if(curr_line[4]) !='VU' or (curr_line[4]) !=' VU' or (curr_line[4]) !='VU ': + if(curr_line[3]) !='VU' or (curr_line[3]) !=' VU' or (curr_line[3]) !='VU ': print('You have to write "VU" in the last column !\n') + exit(1) -- GitLab