


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



⩥ /. Answer: division, always results in float ⩥ //. Answer: division, always results in integer ⩥ =. Answer: assignment operator ⩥ +=. Answer: reassignment operator, adds to previous ⩥ - =. Answer: reassignment operator, subtracts from previous ⩥ *=. Answer: reassignment operator, multiples previous ⩥ /=. Answer: reassignment operator, divides previous ⩥ <. Answer: less than ⩥ >. Answer: greater than
⩥ <=. Answer: less than or equal to ⩥ >=. Answer: greater than or equal to ⩥ ==. Answer: equal to ⩥ !=. Answer: not equal to ⩥ len(). Answer: returns number of characters ⩥ title(). Answer: capitalizes first letter of each word ⩥ def. Answer: keyword used to create functions ⩥ def myfunction():. Answer: syntax for function declaration ⩥ if age < 16:. Answer: creates an if statement ⩥ else:. Answer: else statement, used in conjunction with if statement or if/elif statement