### Python – print fibonacci series

In this post, we will see how we can print fibonacci series of numbers in python Logic First two numbers are 0 and 1, and then next subsequent integer will be sum of the previous 2 numbers Implementation We will see 2 ways of implementation, using Recursive method for loop Method1 def fibo(i): if i…

### Python – Check if a number is prime

In this post, we will see how we can check if a number is prime or not Logic A number is prime, if it has NO divisors other than 1 or itself [in other words, it should not be divisible by any number in between 1 and itself] e.g 5 => is a prime number [5…

### Python – Factorial of a number

In this post, we will see how we can find factorial of a given number using python Logic Factorial of number 5 is => 5*4*3*2*1 = 120 Implementation In this below code block, we will get to know use of if else statement for loop print method num = 5 factorial = 1 if num…

### Handle dropdown in selenium using python

In this post, we will see how to handle drop down webelement in Selenium and python, select an option from the drop down & also fetch all the options. Prerequisite Download and setup python Configure & run python on PyCharm [my preference] Know how to write Selenium test using Python How to select an item A…