exercisese1.pye2.pye3.py
main.pyutils.pyconfig.py
Q: Write a Python program to check that a string contains only a certain set of characters (in this case a-z, A-Z and 0-9).
Q: Write a Python program that matches a string that has an a followed by zero or more b's.
Q: Write a Python program that matches a string that has an a followed by zero or more b's.
- Checkout to the
mainbranch. - Run
python3 main.py <module_name>Eg:python3 main.py e2
- Create a new file inside exercises with file name
e<serial_number>.py. - Add
TEST_CASES = {
"case_1": "case 1 string",
"case_2": "case 2 string"
}
PATTERN = <Your Pattern here>
to the newly created file.
- Go to
__init__.pyand import the newly added module. - Go to
config.pyand add the new module toMODULES
- Create an issue
- Fork this repo
- Create a PR to the
developmentbranch with the issue reference.