Skip to content
Incomplete sheet

This sheet is incomplete and could use some attention. Please submit code snippet suggestions as an issue or PR here.

Output

Functionality for printing, logging or generating other program output

Usage

Action Code Details
Print string
print('hello world')
Print string without newline
print('hello world', end='')
Print multiple strings, separated by space
print('hello', 'world')
Print multiplate strings, separated by comma
print('a', 'b', 'c', sep=',')
Print string-representation of object
print(x)