Python 2.x:
print '-' * 3
Python 3.x:
print('-' * 3)
More Related Contents:
- sort and swap in python same time
- tkinter creating buttons in for loop passing command arguments
- Find intersection of two nested lists?
- How to duplicate sys.stdout to a log file?
- What does %s mean in a Python format string?
- Permanent fix for Opencv videocapture
- List running processes on 64-bit Windows
- Difference between len() and .__len__()?
- Why does defining __getitem__ on a class make it iterable in python?
- What limitations have closures in Python compared to language X closures?
- How to de-skew a text image and retrieve the new bounding box of that image Python OpenCV?
- How do I prepend to a short python list?
- Python module to change system date and time
- why can’t I change only a single element in a nested list in Python [duplicate]
- sort dates in python array
- Django: Display Choice Value
- How to get the physical interface IP address from an interface
- What’s the algorithm of ‘set.intersection()’ in python?
- Convert numpy type to python
- Django class-based view: How do I pass additional parameters to the as_view method?
- How to disable CSS in Python Selenium using ChromeDriver using ChromeOptions
- Rounding error in Python with non-odd number? [duplicate]
- Getting vertical gridlines to appear in line plot in matplotlib
- Why is the quality of JPEG images produced by PIL so poor?
- Are executables produced with Cython really free of the source code?
- Is there a better way to find if string contains digits? [duplicate]
- Python: How to read and load an excel file from AWS S3?
- Copy text between parentheses in pandas DataFrame column into another column
- Fatal Python error on Windows 10 ModuleNotFoundError: No module named ‘encodings’
- Download all pdf files from a website using Python