Square

1) square_ending5

square of ending with 5

Implementation:

import vedicpy as vedic

a= vedic.square.square_ending5(35)
print(a)
>>> 1225

2) square_near_powerof10

square near power of 10

Implementation:

import vedicpy as vedic

a= vedic.square.square_near_powerof10(98)
print(a)
>>> 9604

3) square_under100

square of 2 digit number square of 2 digit number

Implementation:

import vedicpy as vedic

a= vedic.square.square_under100(69)
print(a)
>>> 4761

4) square_from100_to1000

square of 3 digit number

Implementation:

import vedicpy as vedic

a= vedic.square.square_from100_to1000(983)
print(a)
>>> 966289