Imports in HW6

Luigi_delle (220 points)
1 2 3
asked Dec 3, 2021 in HW6 by Luigi_delle (220 points)
Hi there everyone, I wanted to use regex in my HW6, it's a python module. I've to import "re" to use it, can I import this built in or is it forbidden ??

3 Answers

ruben.ciranni (4650 points)
7 13 31
answered Dec 3, 2021 by ruben.ciranni (4,650 points)
It is forbidden to import any library unless specified. If I’m not wrong there’s a line in the test_01 file that checks if you import libraries that aren’t in the allowed libraries list.
rokshana03 (7140 points)
1 3 27
answered Dec 3, 2021 by rokshana03 (7,140 points)
Importing any module, whether it is a python built-in module or a module created by someone else, is forbidden as its already written in the homework and on its post.
Simone Russolillo (5790 points)
5 10 22
answered Dec 3, 2021 by Simone Russolillo (5,790 points)
no you can't import libraries