Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python solutions for PS-Sprint-1 problems #16

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

kishordey316
Copy link

Uploaded Python solutions for the first 5 problems in PS-Sprint-1:

  • 1._check_even_odd.py: Determines if a number is even or odd.
  • 2_check_prime_num.py: Checks if a number is prime.
  • 3_check_leap_year.py: Verifies if a year is a leap year.
  • 4_check_armstrong_or_narcissistic_or_pluperfect_digit.py: Identifies if a number is an Armstrong number.
  • 5_fibonacci_series.py: Generates a Fibonacci series up to a given number.

These solutions follow the problem requirements and coding standards in Python.

Uploaded Python solutions for the first 5 problems in PS-Sprint-1:
- 1._check_even_odd.py: Determines if a number is even or odd.
- 2_check_prime_num.py: Checks if a number is prime.
- 3_check_leap_year.py: Verifies if a year is a leap year.
- 4_check_armstrong_or_narcissistic_or_pluperfect_digit.py: Identifies if a number is an Armstrong number.
- 5_fibonacci_series.py: Generates a Fibonacci series up to a given number.

These solutions follow the problem requirements and coding standards in Python.
Added solutions for problems in PS-Sprint-1:

6_check_palindrome.py: Check if a number or string is a palindrome.
7_different_star_patterns.py: Generate different star patterns.
8_factorial.py: Calculate factorial of a given number.
9_summing_digits_of_number.py: Sum digits of a given number.
10_gcd.py: Compute the greatest common divisor of two numbers.
@kishordey316 kishordey316 changed the title Add solutions for PS-Sprint-1 problems 1-5 in Python Add Python solutions for PS-Sprint-1 problems Nov 2, 2024
Uploaded Python solutions for the first 5 problems in PS-Sprint-1:
- 6_check_palindrome.py: Determines if a given string or number is a palindrome.
- 11_lcm.py: Calculates the Least Common Multiple (LCM) of two numbers.
- 12_count_vowel_consonant.py: Counts vowels and consonants in a string.
- 13_reverse_string.py: Reverses a given string.
- 14_largest_smallest_num_in_array.py: Finds the largest and smallest numbers in an array.
- 15_sorting_array.py: Sorts an array in ascending order.

These solutions follow the problem requirements and coding standards in Python.
@kishordey316 kishordey316 changed the title Add Python solutions for PS-Sprint-1 problems Python solutions for PS-Sprint-1 problems Nov 4, 2024
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.

1 participant