Re: [Tutor] Need a little help in formatting print statement

2014-12-07 Thread Anubhav Yadav
> If your code is short enough, say, less than 50 lines, please include it > directly in your email. Some of us are reading and replying to posts at > a time where it is inconvenient to access the web, or at least parts of > the web. > > Yes sure, next time I will keep that in mind. > Try using t

Re: [Tutor] Need a little help in formatting print statement

2014-12-07 Thread Steven D'Aprano
Hello Anubhav and welcome! On Sun, Dec 07, 2014 at 07:54:53PM +0530, Anubhav Yadav wrote: > I am trying to solve the CS1 Python > Exercises. > > The first exercise calculates the energy released from an earthquake based > on it's ritch

[Tutor] Need a little help in formatting print statement

2014-12-07 Thread Anubhav Yadav
I am trying to solve the CS1 Python Exercises. The first exercise calculates the energy released from an earthquake based on it's ritcher scale. I wrote the code. Here is the code. I am supposed to get th