From fa25955681243466973bf8e4197bc79d261a0ca3 Mon Sep 17 00:00:00 2001 From: Vinoy-Kumar-Behera <166197162+Vinoy-Kumar-Behera@users.noreply.github.com> Date: Sun, 16 Jun 2024 22:55:04 +0530 Subject: [PATCH] 1st question --- Task/vinoy/1st question | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Task/vinoy/1st question diff --git a/Task/vinoy/1st question b/Task/vinoy/1st question new file mode 100644 index 0000000..46c65ff --- /dev/null +++ b/Task/vinoy/1st question @@ -0,0 +1,9 @@ +a=input("word1") +b=input("word2") +if len(a)!=len(b): + print("These words are not anagrams") +else: + if sorted(a)==sorted(b): + print("These words are anagrans") + else: + print("These words areĀ notĀ anagrams")