User-submitted Python Projects

28
2049 reads
Calculator in Python(1.0)
simple calculator in Python !
Calculator in Python(1.0)



Run It Now!
116
1268 reads

February 8, 2013

Partial evaluation


We can combine logical operators,comparison operators and math.This allows us to use comparisons and logic to prevent common mathematical blunders.

158
2341 reads

February 8, 2013

Associativity of operators


Associativity of operators determines the order of evaluation of operators with the same precedence level. Arithmetic,boolean,relational and bitwise operators are all left to right associated.

144
1370 reads

February 8, 2013

More about relational and bitwise operator


Relational operators are used to compare values. There are two more relational operators.
is -- object identity
is not -- negated object identity

134
1210 reads

February 8, 2013

Updating Dictionary


We can update a dictionary by adding a new entry or item (i.e., a key-value pair), modifying an existing entry, or deleting an existing entry.

263
3193 reads

February 8, 2013

Accessing Values in Dictionary


To access dictionary elements, we can use the familiar square brackets along with the key to obtain its value.

58
1232 reads

February 8, 2013

Python - Dictionary


A dictionary is mutable and is another container type that can store any number of Python objects, including other container types.

22
1968 reads

February 8, 2013

For-Else


This example illustrates the for-else statement.

37
1265 reads

February 8, 2013

Break Statement


This example illustrates the use of the break statement

34
1227 reads

February 8, 2013

Continue Statement


This example shows the working of the continue statement.