Home
Jobs
Tools
Coding Ground
Current Affairs
UPSC Notes
Online Tutors
Whiteboard
Net Meeting
Tutorix
Categories
Java
JSP
iOS
HTML
Android
Python
C Programming
C++ Programming
C#
PHP
CSS
Javascript
jQuery
SAP
SAP HANA
Data Structure
RDBMS
MySQL
Mathematics
8085 Microprocessor
Operating System
Digital Electronics
Analysis of Algorithms
Mobile Development
Front End
Web Development
Selenium
MongoDB
Computer Network
General Topics
Library
Videos
Q/A
eBooks
Library
Videos
eBooks
Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
Android
Python
C Programming
C++
C#
MySQL
Javascript
PHP
Selected Reading
UPSC IAS Exams Notes
Developer's Best Practices
Questions and Answers
Effective Resume Writing
HR Interview Questions
Computer Glossary
Who is Who
Pavitra
has Published
158
Answers
Python program to add two numbers
Python
Server Side Programming
Programming
Pavitra
Published on 26-Sep-2019 15:36:43
In this article, we will learn about the solution and approach to solve the given problem statement.Problem statementWe will be given two large numbers and we need to add them and display the output.The bruteforce approach will be using the “+” operator between the operands or we can store two ...
Read More
Python Program for Sum of squares of first n natural numbers
Python
Server Side Programming
Programming
Pavitra
Published on 26-Sep-2019 15:32:57
In this article, we will learn about the solution and approach to solve the given problem statement.Problem statementGiven a positive integer N as input . We need to compute the value of 12 + 22 + 32 + ….. + N2.Problem statement:This can be solved by two methodsMultiplication addition arithmeticUsing ...
Read More
Python Program for Smallest K digit number divisible by X
Python
Server Side Programming
Programming
Pavitra
Published on 26-Sep-2019 15:30:10
In this article, we will learn about the solution and approach to solve the given problem statement.Problem statementIntegers n and d are given. We need to find the smallest n-digit number divisible by d.Approach1. FirstNow let's we compute MIN : smallest n-digit number (1000...n-times)2. Now, If MIN % X is ...
Read More
Simple interest in Python Program
Python
Server Side Programming
Programming
Pavitra
Published on 26-Sep-2019 15:26:50
In this article, we will learn about the calculation of simple interest in Python 3.x. Or earlier.Simple interestis calculated by multiplying the daily interest rate by the principal amount by the number of days that elapse between the payments.Mathematically, Simple Interest = (P x T x R)/100Where, P is the ...
Read More
Selection Sort in Python Program
Python
Server Side Programming
Programming
Pavitra
Published on 26-Sep-2019 15:19:07
In this article, we will learn about the Selection sort and its implementation in Python 3.x. Or earlier.In selection sort algorithm, an array is sorted by recursively finding the minimum element from the unsorted part and inserting it at the beginning. Two subarrays are formed during the execution of Selection ...
Read More
Removing nth character from a string in Python program
Python
Server Side Programming
Programming
Pavitra
Published on 26-Sep-2019 15:14:52
In this article, we will learn about the solution to the problem statement given below −Problem statementWe are given a string, we have to remove the ith indexed character from the given string and display it.In any string in Python, indexing always starts from 0. Suppose we have a string ...
Read More
Product of unique prime factors of a number in Python Program
Python
Server Side Programming
Programming
Pavitra
Published on 26-Sep-2019 15:08:47
In this article, we will learn about the solution to the problem statement given below −Problem statementGiven a number n, we need to find the product of all of its unique prime factors available and return it.For ExampleInput: num = 11 Output: Product is 11ExplanationHere, the input number is 11 ...
Read More
Print Number series without using any loop in Python Program
Python
Server Side Programming
Programming
Pavitra
Published on 26-Sep-2019 12:01:08
In this article, we will learn about the solution to the problem statement given below −Problem statementGiven Two number N and K, our problem is to subtract a number K from N until number(N) is greater than zero(0), once the N becomes negative or zero then we start adding K ...
Read More
N-th Fibonacci number in Python Program
Python
Server Side Programming
Programming
Pavitra
Published on 26-Sep-2019 11:55:06
In this article, we will compute nth Fibonacci number.A fibbonacci number is defined by the recurrance relation given below:Fn = Fn-1 + Fn-2With F0 = 0 and F1 = 1.First few fibbonacci numbers are 0, 1, 1, 2, 3, 5, 8, 13, ..................We can compute the Fibonacci numbers using the ...
Read More
Nth Catalan Number in Python Program
Python
Server Side Programming
Programming
Pavitra
Published on 26-Sep-2019 11:48:01
In this article, we will learn about calculating the nth Catalan number.Catalan numbers are a sequence of natural numbers that are defined by the recursive formula −$$c_{0} = 1\;and\; c_{n+1} = \displaystyle\sum\limits_{i=0}^nc_{i} c_{n-i}\; for n\geq 0 ;$$The first few Catalan numbers for n = 0, 1, 2, 3, … are ...
Read More
Previous
1
2
3
4
5
6
7
...
16
Next
Advertisements