Skip to content
  • Contact me
  • About me
  • Demo
  • DemoForm
  • TechStuff
Top Menu
Facebook page opens in new windowFacebook page opens in new windowTwitter page opens in new windowYouTube page opens in new window
qavalidation
QA tools and automation testing techniques
qavalidationqavalidation
  • HOME
  • Selenium
    • Selenium-Java
    • Selenium-Python
    • Demo2
  • Appium
    • Appium tutorial
  • WebdriverIO
  • JavaForQA
    • Java interview questions for QA
    • ExcelRW
    • TestNG
  • More
    • Cypress
    • TestingBasics
    • MavenBuild
  • Training
Search:
  • HOME
  • Selenium
    • Selenium-Java
    • Selenium-Python
    • Demo2
  • Appium
    • Appium tutorial
  • WebdriverIO
  • JavaForQA
    • Java interview questions for QA
    • ExcelRW
    • TestNG
  • More
    • Cypress
    • TestingBasics
    • MavenBuild
  • Training

Daily Archives: February 26, 2018

You are here:
  1. Home
  2. 2018
  3. February
  4. 26

Python – Check if a number is prime

PythonBy sunil patroFebruary 26, 2018Leave a comment

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

PythonBy sunil patroFebruary 26, 2018Leave a comment

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…

All rights reserved | qavalidation
  • Contact me
  • About me
  • Demo
  • DemoForm
  • TechStuff
Top Menu
Go to Top