Home » NO IDEA » some school maths

some school maths

Blog Stats

  • 13,912 hits
December 2012
M T W T F S S
« Sep   Jan »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

It is time to recollect the school maths ,python has rich set of operator like other languages so have a touch and don’t hesitate to practice

the code is below

#some maths and operators
print"COMPUTER SCIENCE ENGINEERING"
print"C",1979;
print"c++",1984;
print"java",1992-1991/1991;
print"compare what is 5<4",5<4;
print"see what 5%1 do",5%1;
print"complex equation solving",(1994+4)<(2010+2);
print"complex equation solving2",1994+4<2010+2;

OUTPUT
COMPUTER SCIENCE ENGINEERING
C 1979
c++ 1984
java 1991
compare what is 5 see what 5%1 do 0
complex equation solving True
complex equation solving2 True

Advertisements

1 Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: