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

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

Practise the cards

12 cards from this deck

Show

Python's two key language characteristics

High-level, interpreted

Assignment operator in Python

= (single equals sign)

Data type for whole numbers

int (integer)

Data type for decimal numbers

float (floating-point number)

Data type for decimal numbers

float (floating-point number)

Data type for sequences of characters

str (string)

Data type returned by comparison operations

bool (Boolean - True or False)

Data type returned by comparison operations

bool (Boolean - True or False)

// operator function

Floor division (divides, then rounds down)

% operator returns

Remainder of division (modulus)

Data type input() always returns

String (str)

Python variable naming convention

snake_case (lowercase with underscores)

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.