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

15 cards from this deck

Show

Python language type

High-level, interpreted

Purpose of variables

Store values

Assignment operator symbol

= (single equals)

Symbol for comments in Python

Integer data type

Whole numbers (positive, negative, or zero)

Float data type

Real numbers with decimal parts (fractional)

String data type

Sequences of characters

Boolean values

True or False

Python naming convention

snake_case

type() function purpose

Gets data type of variable

Floor division operator

// (divides then rounds down)

Modulus operator (%) purpose

Returns remainder of division

Comparison operations return type

Boolean values

Type casting definition

Converting variables from one data type to another

input() function return type

String (always)

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

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