Why did the Python developers make Python 3 have more parentheses than Python 2?

user2874670

For example in Python 3:

print("Hello world")
And in Python 2:
print "Hello world"
This makes me want to use Python 2 instead of Python 3, because it's simpler.

Sushant Gupta

Short simple answer: print was made a function in Python 3 as @kojiro suggested.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

Why is 2 * x * x faster than 2 * ( x * x ) in Python 3.x, for integers?

From Dev

Why do I have problems loading a module in Python3 but not in Python2?

From Dev

Why is this script taking more time in python3 than python2?

From Dev

Python 2.7 Value Error : need more than 2 values to unpack

From Dev

Why is it possible to use more than 2 ^ 16 constants in a Python function?

From Dev

Why does str(float) return more digits in Python 3 than Python 2?

From Dev

Python array unpacking error: need more than 3 values

From Dev

Python - why is regular expression much more efficient than search in list?

From Dev

Why are using exceptions more acceptable in python than javascript

From Dev

Need help to work with characters longer than 2 or more bytes in Python

From Dev

Why does the yield function not require parentheses in Python?

From Dev

Why is Python 3 is considerably slower than Python 2?

From Dev

Merge of more than 2 python pandas data frames

From Dev

Why is 2 * x * x faster than 2 * ( x * x ) in Python 3.x, for integers?

From Dev

Python find duplicates which occur more than 3 times

From Dev

Python 3 string formatting with filler more than one character long

From Dev

Why is it possible to use more than 2 ^ 16 constants in a Python function?

From Dev

How to read multiple(more than 2) .txt files using python

From Dev

can i perform operator overloading of more than 2 objects in python?

From Dev

Need help to work with characters longer than 2 or more bytes in Python

From Dev

why is there more than one python 2 command in ubuntu 12.04?

From Dev

How to compare more than 2 Lists in Python?

From Dev

How/why did fstrim trim more space than I have free?

From Dev

Why WHILE is more efficient than FOR in this python function

From Dev

Python - Comparison operator more than 2 conditions

From Dev

Why does my Python read more bits than I have set?

From Dev

Python Pandas .where with more than 2 possible condition inputs

From Dev

How to check if there are more than 3 identical string in a list, Python

From Dev

Common words having frequency more than in 2 file python

Related Related

  1. 1

    Why is 2 * x * x faster than 2 * ( x * x ) in Python 3.x, for integers?

  2. 2

    Why do I have problems loading a module in Python3 but not in Python2?

  3. 3

    Why is this script taking more time in python3 than python2?

  4. 4

    Python 2.7 Value Error : need more than 2 values to unpack

  5. 5

    Why is it possible to use more than 2 ^ 16 constants in a Python function?

  6. 6

    Why does str(float) return more digits in Python 3 than Python 2?

  7. 7

    Python array unpacking error: need more than 3 values

  8. 8

    Python - why is regular expression much more efficient than search in list?

  9. 9

    Why are using exceptions more acceptable in python than javascript

  10. 10

    Need help to work with characters longer than 2 or more bytes in Python

  11. 11

    Why does the yield function not require parentheses in Python?

  12. 12

    Why is Python 3 is considerably slower than Python 2?

  13. 13

    Merge of more than 2 python pandas data frames

  14. 14

    Why is 2 * x * x faster than 2 * ( x * x ) in Python 3.x, for integers?

  15. 15

    Python find duplicates which occur more than 3 times

  16. 16

    Python 3 string formatting with filler more than one character long

  17. 17

    Why is it possible to use more than 2 ^ 16 constants in a Python function?

  18. 18

    How to read multiple(more than 2) .txt files using python

  19. 19

    can i perform operator overloading of more than 2 objects in python?

  20. 20

    Need help to work with characters longer than 2 or more bytes in Python

  21. 21

    why is there more than one python 2 command in ubuntu 12.04?

  22. 22

    How to compare more than 2 Lists in Python?

  23. 23

    How/why did fstrim trim more space than I have free?

  24. 24

    Why WHILE is more efficient than FOR in this python function

  25. 25

    Python - Comparison operator more than 2 conditions

  26. 26

    Why does my Python read more bits than I have set?

  27. 27

    Python Pandas .where with more than 2 possible condition inputs

  28. 28

    How to check if there are more than 3 identical string in a list, Python

  29. 29

    Common words having frequency more than in 2 file python

HotTag

Archive