From 1c338d433cf189f93d6ff6dd1516d098657c216b Mon Sep 17 00:00:00 2001 From: Vineeth Kedasu <64684884+Vineethneeraj@users.noreply.github.com> Date: Thu, 23 May 2024 03:08:45 +0530 Subject: [PATCH] Update Day 1.md Please check my solution --- Status/Day 1.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Status/Day 1.md b/Status/Day 1.md index 557714e..2385ba2 100644 --- a/Status/Day 1.md +++ b/Status/Day 1.md @@ -214,6 +214,15 @@ num = int(input("Number: ")) print(dict(enumerate([i*i for i in range(1, num+1)], 1))) ``` --- +'''Python +'''Solution by: Vineeth Kedasu +''' +d = {} +i = int(input()) +for j in range (1,i+1): + dict[j] = j**2 +print(dict) +--- ## Conclusion **_These was the solved problems of day 1. The above problems are very easy for the basic syntex learners.I have shown some easy ways of coding in my solutions. Lets see how to face and attack new problems in the next day._**