Talk:Python programming language/Talk:Python vs C Plus Plus example
The Python program should be changed to use generators instead of passing around the answers list. But I will let someone else do this as I have wasted too much time today on Wikipedia! :-)
The external links seem to have gone, making it harder to understand the page --Henrygb 14:58, 15 Apr 2004 (UTC)
Is it the same problem that Norvig discusses here? http://www.norvig.com/java-lisp.html He has some other links which may or may not work better.
Python vs Java
Why not have a comparison of python and java code. That will be terrific!
/* HelloWorld.java */
public class HelloWorld
{
public static void main(String[] args)
{
System.out.println("Hello World");
}
}
# HelloWorld.py print 'Hello World'
.. and more bigger examples, that uses Array, Lists, InputReader, URL, ...
- Sridhar
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.