Ranges commonly appear as the expression in a for header to specify the
number of times that the suite should be executed: A common convention is to
use a [...] for the name in the for header if the
name is unused in the suite:
Answer
single underscore character
Tags
#python #sicp
Question
Ranges commonly appear as the expression in a for header to specify the
number of times that the suite should be executed: A common convention is to
use a [...] for the name in the for header if the
name is unused in the suite:
Answer
?
Tags
#python #sicp
Question
Ranges commonly appear as the expression in a for header to specify the
number of times that the suite should be executed: A common convention is to
use a [...] for the name in the for header if the
name is unused in the suite:
Answer
single underscore character
If you want to change selection, open original toplevel document below and click on "Move attachment"
Parent (intermediate) annotation
Open it Ranges commonly appear as the expression in a for header to specify the
number of times that the suite should be executed: A common convention is to
use a single underscore character for the name in the for header if the
name is unused in the suite:
Original toplevel document
2.3 Sequences at the elements can be easily inspected.
>>> list(range(5, 8))
[5, 6, 7]
If only one argument is given, it is interpreted as one beyond the last value
for a range that starts at 0.
>>> list(range(4))
[0, 1, 2, 3]
<span>Ranges commonly appear as the expression in a for header to specify the
number of times that the suite should be executed: A common convention is to
use a single underscore character for the name in the for header if the
name is unused in the suite:
>>> for _ in range(3):
print('Go Bears!')
Go Bears!
Go Bears!
Go Bears!
This underscore is just another name in the environment as far as the
interpreter is conce
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.