Blog available for sell
This blog is available for sale. Please 'contact us' if interested.
Advertise with us
python-tips   0   4365
Print statement in Python vs other programming languages

In this article we are simply presenting the code blocks required in different programming laguages to print '' on terminal. This shows the amount of code you need to write to print a simple string. 


#include <stdio.h>
int main()
  return 0;


#include <iostream>
using namespace std;

int main() 
    cout << "";
    return 0;


  echo "";


using System;
namespace HelloWorld
    class Hello 
        static void Main() 


public class HelloWorld {
    public static void main(String[] args) {

And now



That is all you need in python to print a statement. This shows the simplicity of Python. 

python-tips   0   4365
0 comments on 'Print Statement In Python Vs Other Programming Languages'
Login to comment

Related Articles:
Python easter egg - import this and the joke
Zen of python, import this, the hidden easter egg with the joke, source code of Zen of python disobey itself...
Improving python code performance by using lru_cache decorator
Store the result of repetitive python function calls in the cache, Improve python code performance by using lru_cache decorator, caching results of python function, memoization in python...
Solving Python Error- KeyError: 'key_name'
Solving KeyError in python, How to handle KeyError in python dictionary, Safely accessing and deleting keys from python dictionary, try except Key error in Python...
5 common mistakes made by beginner python programmers
Most common mistakes made by beginner python programmers, Things to avoid by python programmers, Most common pitfalls/ gotchas in python, Bitten by python scenarios, tips for beginner python programmers, python beginner programmers should avoud these mistakes...
DigitalOcean Referral Badge

© 2022-2023 Python Circle   Contact   Sponsor   Archive   Sitemap