[Wien] Wien Digest, Vol 147, Issue 4

William Lafargue-dit-Hauret william.lafargue-dit-hauret at univ-rennes1.fr
Sun Feb 25 08:17:55 CET 2018


Dear Victor,
If you remove the space between « print » and the first parenthesis, you can do it in python 3 ; this is the print function.

Best regards,
William

> Le 25 févr. 2018 à 08:04, Badis Bennecer <b_bennacer at hotmail.com> a écrit :
> 
> Dear Victor,
> I must confess,  that when I wrote the answer I did not even think about using a correct fortran language, i mean using correct fortran statements. 
> 
> Thank you very much for correcting me.
> 
> All the best and have a nice day
> ________________________
> Badis
> 
> 
> 
> 
> From: Wien <wien-bounces at zeus.theochem.tuwien.ac.at> on behalf of Víctor Luaña Cabal <victor at fluor.quimica.uniovi.es>
> Sent: Sunday, February 25, 2018 5:39 AM
> To: A Mailing list for WIEN2k users
> Cc: Victor Luaña
> Subject: Re: [Wien] Wien Digest, Vol 147, Issue 4
>  
> On Sun, Feb 25, 2018 at 06:06:39AM +0000, Badis Bennecer wrote:
> > Dear Victor,
> > 
> > 
> > It is minus signs
> 
> Badis,
> 
> Sorry, but my main question was the language (computer language).
> Otherwise
> 
> print (( 2.11118*2)*2+(-0.31749*2)+( -0.98948))
> 
> the result is 6.82026
> 
> Maybe you were using some form of lisp? The odd number of parenthesis:
> open 5, close 4, were my main trouble. I had to add an extra ")".  Of
> course,  minus signs obtained from web pages may cause awful errors so
> it is important to prevent that.
> 
> Best regards,
>               Víctor Luaña
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> SEARCH the MAILING-LIST at:  http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> SEARCH the MAILING-LIST at:  http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20180225/a52f2040/attachment.html>


More information about the Wien mailing list