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_benna...@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-boun...@zeus.theochem.tuwien.ac.at> on behalf of Víctor > Luaña Cabal <vic...@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@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@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@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