lab 8 notes Flashcards
(5 cards)
1
Q
define the for loop
A
an iterative control structure which determines the execution of a portion of a program, repeated for a defined number of times
2
Q
does python assign values to the alphabet
A
YES. ‘z’
3
Q
note input function also has characteristic to not include the last digit listed
A
this means if we have input(‘100’), we go up to 99
4
Q
meaning of \t
A
inserts tab
5
Q
meaning of \n
A
inserts new line