• You can use backslash (\) to escape that character and input as text
  • If you have a print() that has a very long line, you can simply close and reopen the strings in the new line:
    print('asdfasdfasd asdf asdf'
    'asdf asdfasdfadfsa')

Docstrings

Documentation for functions

def my_function(input1):
	"""
	Documentation
	More info"""

PascalCase, camelCase, snake_case

  • PascalCase is capitalizing every first letter.
  • camelCase is capitalizing every first letter except first word.
  • snake_case is having an underscore between every word, all small caps