Guys, easiest way to initialize a dict with keys of 1 - 12?
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Aug 15, 2021, 3:43 AM EDT
Try below should work,
Sandip G PatilRank #1,083 · 1.8K reputationPosted Aug 15, 2021, 2:20 PM EDT
Shweta LodhaRank #31 · 39.8K reputationPosted Aug 15, 2021, 2:32 PM EDT
Rijwan AnsariRank #82 · 24.2K reputationPosted Aug 17, 2021, 8:20 AM EDT