Skip to content

Add function to calculate pyramid height - #691

Open
sinemtanriver wants to merge 2 commits into
canbula:masterfrom
sinemtanriver:patch-2
Open

sinemtanriver wants to merge 2 commits into
canbula:masterfrom
sinemtanriver:patch-2

Conversation

@sinemtanriver

Copy link
Copy Markdown
Contributor

Describe your changes

Checklist

  • I have read the [CONTRIBUTING]
  • I have performed a self-review of my own code
  • I have run the code locally and it works as expected
  • I have commented my code, particularly in hard-to-understand areas

Screenshots (if appropriate)

Added functions to remove duplicates, count occurrences, and reverse dictionaries.

@canbula canbula left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comment below

@@ -0,0 +1,28 @@
from collections import Counter

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solve this without using any modules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants