From e38e185324c43f6579c5f8a3ab90a830b58dc3ce Mon Sep 17 00:00:00 2001 From: Dipen Luitel <114840370+dipen40@users.noreply.github.com> Date: Sun, 2 Oct 2022 10:16:54 +0545 Subject: [PATCH] Update app.py --- app.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app.py b/app.py index f65dbe4..c5caace 100644 --- a/app.py +++ b/app.py @@ -7,3 +7,8 @@ word1 = "Hello" word2 = "World" print(word1 + " " + word2) + +#String format() Method to Print Hello World +varA = "Hello" +varB = "World" +print("{} {}".format(word1, word2))