|
|
Chessgame - Rook move
|
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if\else,
...
|
|
|
|
The next day
|
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if\else,
...
|
|
|
|
two half strings
|
nl
|
python
concatenation,
input(),
print(),
string[i],
string[i:j],
...
|
|
|
|
Slicing basics
|
nl
|
python
input(),
print(),
string[i],
string[i:j],
string[i:j:k],
...
|
|
|
|
Digital to analog clock conversion
|
nl
|
python
input(),
print(),
int(),
calculations,
floor division,
...
|
|
|
|
Occurrences of highest value in series
|
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if/else,
...
|
|
|
|
Analog time telling
|
nl
|
python
input(),
print(),
int(),
calculations,
floor division,
...
|
|
|
|
Make and print numberlist
|
nl
|
python
input(),
print(),
int(),
list.append(),
oefening,
...
|
|
|
|
Word swap
|
nl
|
python
input(),
print(),
str.find(),
concatenatie,
slicing,
...
|
|
|
|
Erase every 3rd character
|
nl
|
python
concatenation,
input(),
print(),
modulo,
range(),
...
|
|
|
|
Chessgame - knight move
|
nl
|
python
input(),
print(),
int(),
calculations,
relationele operatoren,
...
|
|
|
|
Make and print undefined numberlist
|
nl
|
python
input(),
print(),
int(),
while-lus,
list.append(),
...
|
|
|
|
Greater than left neighbour
|
nl
|
python
input(),
print(),
relationele operatoren,
for-lus,
if/elif/else,
...
|
|
|
|
Chessgame - King move
|
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if\else,
...
|
|
|
|
Word count
|
nl
|
python
input(),
print(),
string methods,
oefening,
uhasselt tutorials
|
|
|
|
Chessgame - Bishop move
|
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if\else,
...
|
|
|
|
Replace substring
|
nl
|
python
input(),
print(),
str.replace(),
oefening,
uhasselt tutorials
|
|
|
|
Second appearance
|
nl
|
python
input(),
print(),
str.find(),
str.count(),
oefening,
...
|
|
|
|
Is it a Fibonacci number
|
nl
|
python
input(),
print(),
int(),
relationele operatoren,
while-lus,
...
|
|
|
|
Make numberlist from string
|
nl
|
python
input(),
print(),
for-lus,
list.append(),
str.split(),
...
|
|
|
|
Good neighbours
|
nl
|
python
input(),
print(),
relationele operatoren,
while-lus,
if/elif/else,
...
|
|
|
|
Even indices
|
nl
|
python
input(),
print(),
modulo,
relationele operatoren,
for-lus,
...
|
|
|
|
Remove character
|
nl
|
python
input(),
print(),
relationele operatoren,
if/else,
concatenatie,
...
|
|
|
|
Longest streak of equal values in series
|
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if/else,
...
|
|
|
|
Reverse the intermediate part
|
nl
|
python
input(),
print(),
str.find(),
concatenatie,
slicing,
...
|
|
|
|
Replace within fragment
|
nl
|
python
input(),
print(),
str.find(),
concatenatie,
slicing,
...
|
|
|
|
First and last appearance
|
nl
|
python
input(),
print(),
str.find(),
concatenatie,
str.count(),
...
|
|
|
|
Remove the intermediate part
|
nl
|
python
input(),
print(),
str.find(),
concatenatie,
slicing,
...
|
|
|
|
Neighbours swap places
|
nl
|
python
input(),
print(),
int(),
relationele operatoren,
for-lus,
...
|
|
|
|
Number of different values
|
nl
|
python
input(),
print(),
int(),
relationele operatoren,
for-lus,
...
|
|