Basic python

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 8

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

9 Terms

1

A simple list format

list = [‘Harry’, ‘‘Ron’, ‘Fred’]

New cards
2

first element in a list

list[0]

New cards
3

delete the last element from a list

del list[-1]

New cards
4

organise list in alphabetical order

list.sort()

New cards
5

print all things in a list with for loop

for l in list:
print(l)

New cards
6

find min number in a list

min(list)

New cards
7
New cards
8
New cards
9
New cards
robot