Intro to Python

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

programming language

a language to write a program

loop

a way to tell the computer to repeat something again and again

character

any one thing you can type (ex. the letter 'c')

String

bunch of characters

len()

calculates number of characters in a string

immutable

cannot be modified (ex. strings)

del

delete statement for a list element

program

detailed set of instructions telling the computer what to do

print("word")

displays whatever is inside quotation marks to the screen

type-safe

don't need to first declare what data type your variable will be

slicing

extract certain elements from a list or tuple and place them into another list/tuple

tuple

immutable collection of elements

variable

label to store some data (information)

error

mistake in your code

%

modulus: finds the remainder

list

mutable collection of elements

dictionary

mutable container of key-value pairs (immutable objects)

int

number

indexing

numbering each element in a collection or each character in a string

%s

placeholder in Python

Python

programming language used to do lots of things like build websites, program robots, and design games

>>>

prompt. shows that computer is waiting for you to give it instructions

concatenation

string addition

indentation

tab spacing to separate blocks of code

boolean

true or false

identifier

variable name


संबंधित स्टडी सेट्स

EMR Test #1 (Chapters 1-7) Practice Questions

View Set

Intermediate Acctg 9th Ed McGraw Hill Ch-05 Revenue Recognition - Learning Objectives

View Set

Unit 5 (Tsarist Russia)- World History

View Set

Washington Manual of Surgery - Acute Abd Pain & Appendicitis

View Set

Aging, Place, and Health Check-up Quizzes

View Set

Vocabulario de el cuerpo, la ropa, y los accesorios

View Set