Skip to content

arghya-007/collage_python_scripts

Repository files navigation

collage_python_scripts :trollface:

☣️This repo contains random python scripts which are given as a task from our collage☣️

Index

  1. positive_negative_no.py- Program to find wether a given number is positive or negative.
  2. odd_even.py- Program to find wether a given number is odd or even using if el statement.
  3. greater_among_3.py- Program to find the greater number among three numbers using if el.
  4. University_grade.py- Program to display MAKAUT University grade based on the input marks using if el.
  5. factorial.py- Program to calculate and display the factorial of a given number using while loop.
  6. sum_of_digits.py- Program to calculate and display the sum of the digits of a given number using while loop.
  7. fibonacci_series.py- Program to calculate and print the fibonacci series upto a given term using while loop
  8. fibonacci_series2.py- Program to calculate and print the fibonacci series upto a given term using for loop
  9. prime_or_not.py- Program to calculate and print wether a number is prime or not using for loop
  10. odd_even_serries.py- Program to calculate and print all the odd or even numbers in series based on user's choise using for loop
  11. gcd_two_no.py- Program to calculate and print the greatest common divisor of two numbers using for loop
  12. pattern1.py- Program to print the following pattern based on the number of rows as instucted by the user using for loop
  13. pattern2.py- Program to print the following pattern based on the number of rows as instucted by the user using for loop
  14. armstrong.py- Program to find wether a given number is an armstrong number or not using while loop.
  15. palindrome_string.py- Program to find wether a given string is an palindrome or not using if el and split operation (to reverse a string)
  16. word_count.py- Program to find the number of words in a string using while loop.
  17. vowels_count.py- Program to find the number of vowels is a given string using for loop and if statement

This lists gets updated 🔃 weekly

If this repo helps you then do give it a ⭐

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages