diff --git a/README.md b/README.md index 94fd668..16fe5c5 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,3 @@ -# Python Project - -A little template for Python projects. - -## Testing - -This project uses [`pytest`](https://docs.pytest.org/en/stable/), once installed the tests can be runned with: - -```sh -pytest -``` +# Uni Py Exercises +Just a collection of some exercises in Python from my university (😭) \ No newline at end of file diff --git a/src/main.py b/src/main.py index c633bc4..af57d5a 100644 --- a/src/main.py +++ b/src/main.py @@ -1,6 +1,11 @@ #! /usr/bin/env python +from strings import * + def main(): + + string_ex() + pass if __name__ == "__main__": diff --git a/src/strings.py b/src/strings.py new file mode 100644 index 0000000..235c49d --- /dev/null +++ b/src/strings.py @@ -0,0 +1,6 @@ + +def string_ex(): + str = "Hello, world" + print(str) + print(len(str)) +