Apr 8, 20231 min readPython DatatypesPython supports several data types. They are string, int, float, list, tuple, range, dict, set, frozenset, bool, bytes, bytearray,...
Apr 8, 20231 min readString concatenation in PythonStrings in Python can be concatenated or joined in a simple way. We can use the + sign to concat two strings. x = "Metric" y = "Coder" ...
Apr 8, 20231 min readClasses in PythonEverything in Python is just like an object. A class comprises methods and attributes or properties. In the following example, we have...
Apr 8, 20231 min readPython CommentsA comment is a non executable line of code. There are two types of comments in Python. They are single line comments and multi-line...