# Tag Archives: Python-Functions

Decimal#next_plus() : next_plus() is a Decimal class method which returns the smallest representable number larger than the Decimal value. Syntax: Decimal.next_plus() Parameter: Decimal values Return:… Read More
Decimal#number_class() : number_class() is a Decimal class method which returns the indication of the class of Decimal value. Syntax: Decimal.number_class() Parameter: Decimal values Return: indication… Read More
Decimal#quantize() : quantize() is a Decimal class method which returns a value equal to first decimal value (rounded) having the exponent of second decimal value.… Read More
Decimal#remainder_near() : remainder_near() is a Decimal class method which returns x – y * n, where n is the integer nearest the exact value of… Read More
Decimal#rotate() : rotate() is a Decimal class method which returns the rotated copy of x, y times Syntax: Decimal.rotate() Parameter: Decimal values Return: the rotated… Read More
With the help of TextBlob.noun_phrases() method, we can get the noun phrases of the sentences by using TextBlob.noun_phrases() method. Syntax : TextBlob.noun_phrases() Return : Return… Read More
With the help of TextBlob.sentiment() method, we can get the sentiments of the sentences by using TextBlob.sentiment() method. Syntax : TextBlob.sentiment() Return : Return the… Read More
With the help of TextBlob.correct() method, we can get the corrected words if any sentence have spelling mistakes by using TextBlob.correct() method. Syntax : TextBlob.correct() Return… Read More
With the help of TextBlob.Word.spellcheck() method, we can check the word if that word have spelling mistake by using TextBlob.Word.spellcheck() method. Syntax : TextBlob.Word.spellcheck() Return… Read More
With the help of TextBlob.word_counts() method, we can get the word count of a particular word in the sentence by using TextBlob.word_counts() method. Syntax :… Read More
As time module provides various time-related functions. So it is necessary to import the time module otherwise it will through error because of the definition… Read More
This sys module provides access to some variables used or maintained by the interpreter and to functions that interact strongly with the interpreter. It provides… Read More
random() function is used to generate random numbers in Python. Not actually random, rather this is used to generate pseudo-random numbers. That implies that these… Read More
As time module provides various time-related functions. So it is necessary to import the time module otherwise it will through error because the definition of… Read More
time.process_time() function always returns the float value of time in seconds. Return the value (in fractional seconds) of the sum of the system and user… Read More