Posts by SNEHA S

Author Biographical Info: Not available

Program to illustrate the use of iterator in Python

By SNEHA S

In this tutorial, let’s see how iterators are implemented in Python. Python allows programmers to create their own custom iterators. For this, you simply have to implement th.... Read More

Program that pluralize a given word in Python

By SNEHA S

In English grammar, we have an interesting topic called, “singular and plurals”. In this tutorial let us see how they can be implemented in Python. Python program to co.... Read More

Simulate elliptical orbit using Pygame

By SNEHA S

In this tutorial, we will look at another way to implement Python in more fun way. We will see how to draw an elliptical orbit using Pygame in Python. We will use packages similar .... Read More

Stimulate bouncing game using Pygame

By SNEHA S

In this tutorial, we will see how can Python be used to implement a little more than just a normal program. How Python can be used to implement a small level graphical output such .... Read More

How to instantiate exceptions in Python

By SNEHA S

In this following tutorial, let us look at how to instantiate an exception that is generated using Python. Many times, even when a statement is syntactically correct, it might caus.... Read More

Program to illustrate scatter in terms of tuple in Python

By SNEHA S

So, in this article, we will see Python functions that can take up variable length arguments. In many cases, we will have to deal with variable number of arguments depending upon t.... Read More

Program to store a sparse matrix as a dictionary in Python

By SNEHA S

In this tutorial, we will learn how to store sparse matrix in an efficient way by using dictionary in Python. Many times we come across situations, where the memory is wasted for s.... Read More