'Split long dictionary value over two lines [duplicate]
Very new to python here. How do you split a very long dictionary value over two lines while still having it appear as one line when it is output with print()? See code below.
glossary = {'dictionary' : 'A mutable associative array (or dictionary) of key and value pairs. Can contain mixed types (keys and values). Keys must be a hashable type'}
I've tried using triple quotes (i.e. """) with no success since I don't think the value is technically a string.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
