Python

Python

Explore our comprehensive Python domain, featuring over 800 articles tailored for developers of all skill levels. Whether you’re a beginner seeking tutorials, an expert looking for advanced techniques, or anyone in between, you’ll find valuable insights, code snippets, and practical tips. Stay updated with the latest trends, libraries, and best practices in Python programming. Dive into our extensive resources and elevate your coding skills today!

PythonF

Triangular Pattern

A triangular pattern with ‘n’ rows is formed with ‘i’ numbers in the i – th row, starting from the first row.  In a triangular pattern,…
PythonF

Palindrome or symmetry

Given a set of ‘n’ strings, write an algorithm and the subsequent Python code to check if the string is a Palindrome string  or Symmetry…
PythonF

When should we leave

Your mother will take you to the doctor’s clinic for a check-up. She asks the time by which you have to book a taxi. Your mother has some…
PythonF

Count Words

Write an algorithm and write the Python code to count the number of unique words in a given passage. The paragraph may contain words with…
PythonF

Rook and a Queen

Given the position of a Rook and a queen in a chess board (8X8 board),  write an algorithm and the subsequent Python code to determine the…
PythonF

Pills Finish

Funda has got flu. Her doctor prescribed her ‘x’ number of 20mg pills, and told her to take a pill every ‘y’ hours…
PythonF

Amicable Numbers

Two numbers are said to be amicable if the sum of proper divisors of one number plus 1, is equal to the other number. All divisors of a number…
PythonF

Arrangement of Plants

A gardener has the practice of assigning ID to the plants during plantation. One day, he makes a note of the heights of plants in his garden.…