[Tutor] Data chart

2014-11-19 Thread Mamy Rivo DIANZINGA
Good morning Sir. Excuse me to bother you but i was wondering if you can help me, please Sir. I am looking for a script (in python or fortran...) which can turn the data from Iter.dat, that i joined for you, into a chart like this: canofica lnvdmsd 10_2 ... ..

[Tutor] Input Files

2014-11-19 Thread niyanaxx95
How do I know write the loop code for the table for both inputfiles, Table1.txt and Table2.txt and make a third table from the elements multiplied in table1.txt and table2.txt. I'm trying to Check the size of the two tables to make sure they both have the same number of rows and columns o If the

Re: [Tutor] Data chart

2014-11-19 Thread Peter Otten
Mamy Rivo DIANZINGA wrote: > Good morning Sir. Excuse me to bother you but i was wondering if you can > help me, please Sir. > I am looking for a script (in python or fortran...) which can turn the > data from Iter.dat, that i joined for you, $ cat Iter.dat 10_2/canofica.out: No iterations CP:

Re: [Tutor] Input Files

2014-11-19 Thread Peter Otten
niyanax...@gmail.com wrote: > How do I know write the loop code for the table for both inputfiles, > Table1.txt and Table2.txt and make a third table from the elements > multiplied in table1.txt and table2.txt. I'm trying to Check the size of > the two tables to make sure they both have the same n

Re: [Tutor] Fw: Traceback

2014-11-19 Thread Danny Yoo
>> Exercise 1: >> def distance(x1, y1, x2, y2): >> dx = x2 - x1 >> dy = y2 - y1 >> dsquared = dx**2 + dy**2 >> result = math.sqrt(dsquared) >> print(result) >> return result > > > That's not exercise 1. Try again. > > >Exercise 1 >Write a compare function that retur

[Tutor] Fwd: Fw: Traceback

2014-11-19 Thread Danny Yoo
-- Forwarded message -- From: niyana morgan Date: Wed, Nov 19, 2014 at 5:43 PM Subject: Re: [Tutor] Fw: Traceback To: Danny Yoo No I am still stuck on what to do and this is a major project for my class. On Nov 19, 2014 6:21 PM, "Danny Yoo" wrote: > > >> Exercise 1: > >> def d

Re: [Tutor] Fw: Traceback

2014-11-19 Thread Danny Yoo
> On Nov 19, 2014 6:21 PM, "Danny Yoo" wrote: >> >Exercise 1 >> >Write a compare function that returns 1 if x > y, 0 if x == y, and >> > -1 if x < y. >> > >> > >> > I have to get back to work so hopefully others on the mailing list can >> > help you. Please continue to reply to the list.