Jump to content

JP

From Wikipedia, the free encyclopedia
(Redirected from Jp)

JP may refer to:

Arts and media

[edit]

People

[edit]

Places

[edit]

Political parties

[edit]

Science and technology

[edit]
  • list1=["red","green","blue"]

print(len(list1)) l1=[1,2,3] print(type(l1)) list1=["red","green","blue"] list1.append("yellow") print(list1) lst1=["red","blue"] lst1.clear() print(lst1) lst1=["red","green"] lst2=lst1.copy() print(lst2) lst1=["red","blue","gren"] lst2=["yellow","pink"] lst1.extend(lst2) print(lst1) lst1=["red","blue","gren"] print(lst1.index("blue")) lst1=["red","green","blue","red"] print(lst1.count("red")) lst1=["red","green","blue"] lst1.reverse() print(lst1) list1=["red","green","blue"] list1.sort() print(list1) list1=["red","green","blue"] list1.sort(reverse=1) print(list1) lst1=["red","green","blue","Yellow"] lst1.sort(key = lst1.lower()) print(lst1)

Other uses

[edit]

See also

[edit]