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