Oefeningen
| Talen | |||||
|---|---|---|---|---|---|
| Keer het tussenstuk om |
nl
|
python
input(),
print(),
str.find(),
concatenatie,
slicing,
|
|||
| Buren wisselen van plaats |
nl
|
python
input(),
print(),
int(),
relationele operatoren,
for-lus,
|
|||
| Vervang binnen fragment |
nl
|
python
input(),
print(),
str.find(),
concatenatie,
slicing,
|
|||
| Verwijder teken |
nl
|
python
input(),
print(),
relationele operatoren,
if/else,
concatenatie,
|
|||
| Schaakspel - Koning aan zet |
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if\else,
|
|||
| 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,
|
|||
| Eerste en laatste verschijning |
nl
|
python
input(),
print(),
str.find(),
concatenatie,
str.count(),
|
|||
| Unieke waarden |
nl
|
python
input(),
print(),
int(),
for-lus,
list.append(),
|
|||
| Even waarden |
nl
|
python
input(),
print(),
modulo,
relationele operatoren,
for-lus,
|
|||
| Schaakspel - Loper aan zet |
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if\else,
|
|||
| Langste serie gelijke waarden in reeks |
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if/else,
|
|||
| Wissel minimum en maximum van plaats |
nl
|
python
input(),
print(),
int(),
for-lus,
list.append(),
|
|||
| Aantal groter dan de buren |
nl
|
python
input(),
print(),
relationele operatoren,
for-lus,
len(),
|
|||
| 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(),
|
|||
| Wissel kolommen van 2D lijst |
nl
|
python
input(),
print(),
int(),
for-lus,
range(),
|
|||
| Aantal verschijningen |
nl
|
python
input(),
print(),
for-lus,
print() keyword argument end,
if/else,
|