Python Programming : Basics (Leaving Cert Computer Science): Flashcards
📚Flashcards
Practise the cards
15 cards from this deck
ShowHide
Practise the cards
15 cards from this deck
Python language type
Python language type
High-level, interpreted
Purpose of variables
Purpose of variables
Store values
Assignment operator symbol
Assignment operator symbol
= (single equals)
Symbol for comments in Python
Symbol for comments in Python
Integer data type
Integer data type
Whole numbers (positive, negative, or zero)
Float data type
Float data type
Real numbers with decimal parts (fractional)
String data type
String data type
Sequences of characters
Boolean values
Boolean values
True or False
Python naming convention
Python naming convention
snake_case
type() function purpose
type() function purpose
Gets data type of variable
Floor division operator
Floor division operator
// (divides then rounds down)
Modulus operator (%) purpose
Modulus operator (%) purpose
Returns remainder of division
Comparison operations return type
Comparison operations return type
Boolean values
Type casting definition
Type casting definition
Converting variables from one data type to another
input() function return type
input() function return type
String (always)
