Python Programming: Intermediate (Leaving Cert Computer Science): Flashcards

📚Flashcards
Python Programming: Intermediate
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

10 cards from this deck

Show

Method in Python

Function accessed from an object

str.upper() result

Converts all chars in string to uppercase

str.strip() result

Removes leading & trailing whitespace

String indexing starts at

0

str.find(sub) returns if not found

-1

\n escape character

Newline

'and' operator returns True when

Both operands are True

Mutable list means

Elements can be changed after list created

list.append() does

Adds element to end of list

Infinite loop cause in while loops

Not incrementing the counter variable

Explore Leaving Cert Computer Science Revision Notes by Topics

Explore Leaving Cert Computer Science Model Answers by Topics

Explore Leaving Cert Computer Science Exam Questions by Topics

Join 100,000+ Leaving Cert students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.