Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

Solution to Q1 by Haris Jamal Khan#2

Open
harisjamalkhan111 wants to merge 1 commit into
Kodifly:mainfrom
harisjamalkhan111:patch-1
Open

Solution to Q1 by Haris Jamal Khan#2
harisjamalkhan111 wants to merge 1 commit into
Kodifly:mainfrom
harisjamalkhan111:patch-1

Conversation

@harisjamalkhan111
Copy link
Copy Markdown

I have used recursion to calculate factorial and comprehension to split that number into individual digits to calculate sum

I have used recursion to calculate factorial and comprehension to split that number into individual digits to calculate sum
@harisjamalkhan111
Copy link
Copy Markdown
Author

Solution to Q1 using recursion, comprehension and built-in sum function

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant