aayushi-droid / Python-Thunder

A curated list of Python applications
MIT License
86 stars 160 forks source link

Pentagonal Number #9

Closed aayushi-droid closed 3 years ago

aayushi-droid commented 3 years ago

Before jumping into Pr first comment for assign.All Problem from Edabit. Link is mandatory to add

Problem statement: Write a function that takes a positive integer and calculates how many dots exist in a pentagonal shape around the center dot on the Nth iteration.

In the image below you can see the first iteration is only a single dot. On the second, there are 6 dots. On the third, there are 16 dots, and on the fourth there are 31 dots.

Return the number of dots that exist in the whole pentagon on the Nth iteration.

Problem Link: https://edabit.com/challenge/st8mDxreMcuWxuz8c


Before submitting a PR please Check some details.Check Edabit for problem task

This repository is vaild for HacktoberFest2020

Read before making PR - How to contribute on Github Good Luck,

duarte2025 commented 3 years ago

Can i work on this issue?

aayushi-droid commented 3 years ago
gittygupta commented 3 years ago

please assign this to me

Ayush7-BIT commented 3 years ago

Hey i like to work on this issue, if possible assign me this..