Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
NotificationsYou must be signed in to change notification settings

parmod25feb/python-code

Repository files navigation

Here are some Python programming challenges for practice:

  1. Reverse a String: Write a function to reverse a given string.
  2. Palindrome Check: Write a function to check if a given string is a palindrome.
  3. Anagram Check: Write a function to check if two given strings are anagrams of each other.
  4. Factorial: Write a function to compute the factorial of a given number.
  5. Fibonacci Sequence: Write a function to generate the Fibonacci sequence up to a specified number of terms.
  6. Check Prime: Write a function to check if a given number is prime.
  7. Armstrong Number: Write a function to check if a given number is an Armstrong number.
  8. String Reversal in Place: Write a function to reverse a string in place without using any built-in functions or slicing.
  9. Count Vowels and Consonants: Write a function to count the number of vowels and consonants in a given string.
  10. Binary to Decimal Conversion: Write a function to convert a binary number to its decimal equivalent.
  11. Decimal to Binary Conversion: Write a function to convert a decimal number to its binary equivalent.
  12. Find Missing Number: Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, write a function to find the one missing from the sequence.
  13. Merge Sort: Write a function to implement the merge sort algorithm to sort an array of integers.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp