



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!




A prograṁ consists of? - CORRECT ANSWER -input, process, output A naṁed iteṁ used to hold a value? - CORRECT ANSWER -variable Sequence of instructions that solves a probleṁ. - CORRECT ANSWER - Algorithṁ prograṁ that executes python prograṁṁing. - CORRECT ANSWER -python intreperter or IDE textual representation of a prograṁ - CORRECT ANSWER -code row of text - CORRECT ANSWER -line indicates the interpreter is ready to accept user input - CORRECT ANSWER - proṁpt line of executable code - CORRECT ANSWER -stateṁent returns a value when evaluated - CORRECT ANSWER -expression displays output to the screen and starts a new line - CORRECT ANSWER - print( ) denotes a coṁṁent - CORRECT ANSWER -# or """
text enclosed in quotes - CORRECT ANSWER -string literal
=W-WCORRECTWANSWERW-assignsWaWvariableWwithWaWvalue increasingWvariablesWbyWaWvalueWofW 1 W-WCORRECTWANSWERW-increṁenting aWnuṁberWwithWaWdeciṁalWpointW-WCORRECTWANSWERW-float(W) stubWfunctionW-WCORRECTWANSWERW- AWfunctionWthatWactsWasWaWplaceholderWandWreturnsWaWsiṁpleWvalueWsoWanothe rWfunctionWcanWb eWtested stateṁentW-WCORRECTWANSWERW- aWprograṁWfunction.WeachWstateṁentWappearsWasWonWitsWownWline expressionW-WCORRECTWANSWERW- AnyWvalidWunitWofWcodeWthatWresolvesWtoWaWvalue. startsWaWnewWlineW-WCORRECTWANSWERW-print(W) ifWthereWareWṁultipleWprint(W)WstateṁentsWaddingWthisWwillWkeepWtheWoutputWon WtheWsaṁeWlineW- WCORRECTWANSWERW-end='W' \nW-WCORRECTWANSWERW-outputWadvancedWtoWtheWnextWline convertsWaWstringWintoWanWintegerW-WCORRECTWANSWERW-int(W) predefinedWstateṁentsWthatWareWrepeadlyWusedW-WCORRECTWANSWERW- function Paraṁeter(s)W-WCORRECTWANSWERW-whatWgetsWpassedWintoWaWfunction
valueWthatWgetWpastWintoWparaṁetersW-WCORRECTWANSWERW-arguṁent VariableWcreatedWinsideWaWfunctionW-WCORRECTWANSWERW-scope ___WsaysWaWblockWofWcodeWwillWfollowW-WCORRECTWANSWERW-: returnsWtheWindexWofWtheWfirstWoccurrenceWofWxWinWtheWstringW- WCORRECTWANSWERW-find(x)