Anjan50 / Python

Different type of program list and project
18 stars 86 forks source link

Add Python (.py) example file. #1

Open Anjan50 opened 4 years ago

Anjan50 commented 4 years ago

Add .py file Add in this folder You can add any Python language file and Project which you have practiced

Program list

Basic Programs:

  1. Python program to add two numbers
  2. Python Program for factorial of a number
  3. Python Program for simple interest
  4. Python Program for compound interest
  5. Python Program to check Armstrong Number
  6. Python Program for Program to find area of a circle
  7. Python program to print all Prime numbers in an Interval
  8. Python program to check whether a number is Prime or not
  9. Python Program for n-th Fibonacci number
  10. Python Program for Fibonacci numbers
  11. Python Program for How to check if a given number is Fibonacci number?
  12. Python Program for n\’th multiple of a number in Fibonacci Series
  13. Program to print ASCII Value of a character
  14. Python Program for Sum of squares of first n natural numbers
  15. Python Program for cube sum of first n natural numbers

Array Programs:

  1. Python Program to find sum of array
  2. Python Program to find largest element in an array
  3. Python Program for array rotation
  4. Python Program for Reversal algorithm for array rotation
  5. Python Program to Split the array and add the first part to the end
  6. Python Program for Find reminder of array multiplication divided by n
  7. Reconstruct the array by replacing arr[i] with (arr[i-1]+1) % M
  8. Python Program to check if given array is Monotonic

List Programs:

  1. Python program to interchange first and last elements in a list
  2. Python program to swap two elements in a list
  3. Python program to remove Nth occurrence of the given word
  4. Python | Ways to find length of list
  5. Python | Ways to check if element exists in list
  6. Different ways to clear a list in Python
  7. Python | Reversing a List
  8. Python | Cloning or Copying a list
  9. Python | Count occurrences of an element in a list
  10. Python program to find sum of elements in list
  11. Python | Multiply all numbers in the list
  12. Python program to find smallest number in a list
  13. Python program to find largest number in a list
  14. Python program to find second largest number in a list
  15. Python program to find N largest elements from a list
  16. Python program to print even numbers in a list
  17. Python program to print odd numbers in a List
  18. Python program to print all even numbers in a range
  19. Python program to print all odd numbers in a range
  20. Python program to count Even and Odd numbers in a List
  21. Python program to print positive numbers in a list
  22. Python program to print negative numbers in a list
  23. Python program to print all positive numbers in a range
  24. Python program to print all negative numbers in a range
  25. Python program to count positive and negative numbers in a list
  26. Remove multiple elements from a list in Python
  27. Python | Remove empty tuples from a list
  28. Python | Program to print duplicates from a list of integers
  29. Python program to find Cumulative sum of a list
  30. Break a list into chunks of size N in Python
  31. Python | Sort the values of first list using second list More >>

String Programs:

Python program to check if a string is palindrome or not

  1. Reverse words in a given String in Python
  2. Ways to remove i’th character from string in Python
  3. Python | Check if a Substring is Present in a Given String
  4. Find length of a string in python (4 ways)
  5. Python program to print even length words in a string
  6. Python | Program to accept the strings which contains all vowels
  7. Python | Count the Number of matching characters in a pair of string
  8. Python program to count number of vowels using sets in given string
  9. Remove all duplicates from a given string in Python
  10. Python | Program to check if a string contains any special character
  11. Generating random strings until a given string is generated
  12. Find words which are greater than given length k
  13. Python program for removing i-th character from a string
  14. Python program to split and join a string
  15. Python | Check if a given string is binary string or not
  16. Python | Find all close matches of input string from a list
  17. Python program to find uncommon words from two Strings
  18. Python | Swap commas and dots in a String
  19. Python | Permutation of a given string using inbuilt function
  20. Python | Check for URL in a String
  21. Execute a String of Code in Python
  22. String slicing in Python to rotate a string
  23. String slicing in Python to check if a string can become empty by recursive deletion
  24. Python Counter| Find all duplicate characters in string More >>
vuquang23 commented 4 years ago

I just need to complete a program or all of them?

shairanshrawat commented 4 years ago

I can work on this. Can u assign this to me

shloka-gupta commented 4 years ago

I would like to contribute!

meghanagottapu commented 4 years ago

I would like to contribute. can you please assign this to me? @Anjan50

StephenTrainor commented 4 years ago

Would you want a small pyqt5 program that would allow you to convert binary to int, int to binary, ASCII to char, char to ASCII?

This would include a few buttons to click and a few areas to type in stuff. I already have done a little and was wondering if I should continue.

Anjan50 commented 4 years ago

All are already assigned You can feel free to contribute..

Follow @Anjan50 If you want to more beginers level contribution..

Kishan-Sahu commented 4 years ago

@Anjan50 I submitted the code for multiplication of all numbers in list ,please accept the pull request.

Kishan-Sahu commented 4 years ago

@Anjan50 submitted code for smallest element in list, please accept the pull request.

Aviace commented 3 years ago

@Anjan50 how can I contribute to this issue? Do I have to choose any one program from the list or do all the programs? Please assign this to me while you can.

SatvikNanda commented 2 years ago

I would love to work on this, I am new to open source and know basics of python, I think I will be able to meaningfully contribute here.

ppap1771 commented 2 years ago

hey @Anjan50 I have made a game using pygames which is like guess the number game with a GUI can i add that to this repository??? if yes then assign me the issue i would love to contribute.

AnuragVats007 commented 2 years ago

Hey @Anjan50, I have a snake game. Can you create an issue and assign it to me?

Rajarshi101 commented 2 years ago

Hello @Anjan50, I would like to contribute some codes into this repository. Could you please assign me too ? I would be adding various types of algorithms from the chart mentioned above at the top and also some others too. Thank You---

Anjan50 commented 2 years ago

You can add your code by direct pull request, repo is open to contribute. You can open new issue and assign to other also.