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