diff --git a/basics/naming_convention.py b/basics/naming_convention.py new file mode 100644 index 0000000..ece0df7 --- /dev/null +++ b/basics/naming_convention.py @@ -0,0 +1,11 @@ +""" +Basic naming conventions in python +""" + +# Do's +# Use lowercase and snakecase for functions and methods i.e. def save_file() +def save_file(file: str) -> None: + with open(file, "w") as F: + F.write() + +#Dont's