Oefeningen
| Status | Type |
|
Talen | Labels |
|
|---|---|---|---|---|---|
| Aantal verschillende waarden |
nl
|
python
input()
,
print()
,
int()
,
relationele operatoren
,
for-lus
,
...
|
|||
| Eerste en laatste verschijning |
nl
|
python
input()
,
print()
,
str.find()
,
concatenatie
,
str.count()
,
...
|
|||
| Vervang binnen fragment |
nl
|
python
input()
,
print()
,
str.find()
,
concatenatie
,
slicing
,
...
|
|||
| Even indices |
nl
|
python
input()
,
print()
,
modulo
,
relationele operatoren
,
for-lus
,
...
|
|||
| Schaakspel - Koning aan zet |
nl
|
python
input()
,
print()
,
int()
,
relationele operatoren
,
if\else
,
...
|
|||
| Even waarden |
nl
|
python
input()
,
print()
,
modulo
,
relationele operatoren
,
for-lus
,
...
|
|||
| Goede buren |
nl
|
python
input()
,
print()
,
relationele operatoren
,
while-lus
,
if/elif/else
,
...
|
|||
| Is het een Fibonacci waarde |
nl
|
python
input()
,
print()
,
int()
,
relationele operatoren
,
while-lus
,
...
|
|||
| Buren wisselen van plaats |
nl
|
python
input()
,
print()
,
int()
,
relationele operatoren
,
for-lus
,
...
|
|||
| Unieke waarden |
nl
|
python
input()
,
print()
,
int()
,
for-lus
,
list.append()
,
...
|
|||
| Langste serie gelijke waarden in reeks |
nl
|
python
input()
,
print()
,
int()
,
relationele operatoren
,
if/else
,
...
|
|||
| Schaakspel - Loper aan zet |
nl
|
python
input()
,
print()
,
int()
,
relationele operatoren
,
if\else
,
...
|
|||
| Aantal groter dan de buren |
nl
|
python
input()
,
print()
,
relationele operatoren
,
for-lus
,
len()
,
...
|
|||
| Wissel minimum en maximum van plaats |
nl
|
python
input()
,
print()
,
int()
,
for-lus
,
list.append()
,
...
|
|||
| Maximum van de lijst |
nl
|
python
input()
,
print()
,
int()
,
for-lus
,
str.split()
,
...
|
|||
| Schaakspel - Koningin aan zet |
nl
|
python
input()
,
print()
,
int()
,
relationele operatoren
,
if\else
,
...
|
|||
| Aantal paren in lijst |
nl
|
python
input()
,
print()
,
int()
,
for-lus
,
range(a,b)
,
...
|
|||
| Schaal toepassen |
nl
|
python
input()
,
print()
,
int()
,
for-lus
,
range()
,
...
|
|||
| Verkiezingen |
nl
|
python
input()
,
print()
,
int()
,
for-lus
,
range()
,
...
|
|||
| Wissel kolommen van 2D lijst |
nl
|
python
input()
,
print()
,
int()
,
for-lus
,
range()
,
...
|