From d7aa1c703eff397689cb3663ef05a2cf61cb1373 Mon Sep 17 00:00:00 2001 From: TARANPREETKAUR18 <101043541+TARANPREETKAUR18@users.noreply.github.com> Date: Sat, 8 Oct 2022 21:13:17 +0530 Subject: [PATCH] Add example of comments in Python Add examples of comments in Python using #(for single-line comments) and '''(for comments of multiple lines) --- python.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/python.md b/python.md index 3ced0cb..ea91205 100644 --- a/python.md +++ b/python.md @@ -15,6 +15,15 @@ print("hello world") * `#` is used to comment a line in Python +### Example +```py +#Commenting single line in Python +'''Commenting +multiple +lines +in +Python''' +``` ## Data Types |Category|Data Type|