Re: [Tutor] Code Problem

2016-03-10 Thread Alan Gauld
On 10/03/16 20:30, Ben Conklin wrote: > show if it is a equilateral, isosceles, or right triangle. I have it so > that it makes s1 the longest side, and s2 and s3 the other 2 sides. The > right triangle equation should be right, but is not outputting anything. The easiest way to find that is just

[Tutor] Code Problem

2016-03-10 Thread Ben Conklin
Hi, I'm having troubles with my code, specifically at the area with the comment mark. Basically you are to enter three sides of a triangle, and have it show if it is a equilateral, isosceles, or right triangle. I have it so that it makes s1 the longest side, and s2 and s3 the other 2 sides. The ri

Re: [Tutor] Newbie question: programs not printing

2016-03-10 Thread Alan Gauld
On 10/03/16 13:33, Patrick Craine wrote: > I downloaded Python 2.7.11 but for some reason it seems that it's not > responding the way it¹s supposed to. I haven¹t been able to figure out the > problem. I¹m on Mac OSX 10.11.3. You probably didn't need to download Python because it is installed by d

Re: [Tutor] How to compare dates which has (,)

2016-03-10 Thread Danny Yoo
> but I am not understanding how do i capture and compare dates in bellow > formate (,) : > Do you know the name or structure of the format that you're seeing here? I would assume BRT represents some timezone, but I am not sure. Let me check... http://www.timeanddate.com/time/zones/brt OK, so

Re: [Tutor] Newbie question: programs not printing

2016-03-10 Thread Marc Tompkins
On Thu, Mar 10, 2016 at 5:33 AM, Patrick Craine wrote: > >>> x = int(raw_input('Enter an integer: ')) > if x%2 == 0: > print 'Even' > else: > print 'Odd' > if x%3 != 0: > print 'And not divisible by 3' > Enter an integer: 3 > >>> > > It could be your email program that's messing with your indenta

[Tutor] Newbie question: programs not printing

2016-03-10 Thread Patrick Craine
Hey guys, I¹m at the very beginning of learning programming. I started using Khan Academy and now am watching the intro course on MIT OpenCourseWare. I downloaded Python 2.7.11 but for some reason it seems that it's not responding the way it¹s supposed to. I haven¹t been able to figure out the pr

Re: [Tutor] How to compare dates which has (,)

2016-03-10 Thread Fosiul Alam
Hi, I am using Python 2.6.6 (r266:84292, Sep 12 2011, 14:03:14) [GCC 4.4.5 20110214 (Red Hat 4.4.5-6)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> On Tue, Mar 8, 2016 at 1:38 PM, Whom Isac wrote: > And it would be helpful if you could provide us about w