Posts Tagged ‘append’

append vs extend in Python

append and extent both are list methods in Python. Following are the definitions of append and extend methods. append extend append is basically used in Python to add one element extend is used to merge two lists or insert multiple elements in one list

cat command in Linux

cat is short for Concatenate. cat is used to create a file and display, appending the contents of a file. Usage: cat [OPTION]… [FILE]… Concatenate FILE(s), or standard input, to standard output.

Powered by k2schools