Exercises
Languages | |||||
---|---|---|---|---|---|
Buying cookies |
nl
|
python
input(),
print(),
calculations,
floor division,
modulo,
|
|||
Powers of 2 |
nl
|
python
input(),
print(),
int(),
relationele operatoren,
while-lus,
|
|||
The 4th corner |
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if\elif\else,
|
|||
Digital time telling |
nl
|
python
concatenation,
input(),
print(),
str(),
int(),
|
|||
Passed hours and minutes |
nl
|
python
concatenation,
input(),
print(),
str(),
int(),
|
|||
Position of max value |
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if/else,
|
|||
Greater than previous number |
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if/else,
|
|||
Digits in order |
nl
|
python
input(),
print(),
int(),
floor division,
modulo,
|
|||
Chessgame - dark square |
nl
|
python
input(),
print(),
int(),
modulo,
relationele operatoren,
|
|||
Smallest integer divider |
nl
|
python
input(),
print(),
int(),
modulo,
relationele operatoren,
|
|||
Chessgame - same color squares |
nl
|
python
input(),
print(),
int(),
modulo,
relationele operatoren,
|
|||
Series of squares |
nl
|
python
input(),
print(),
int(),
print() keyword argument sep,
print() keyword argument end,
|
|||
Palindrome of 4 digits |
nl
|
python
input(),
print(),
int(),
floor division,
modulo,
|
|||
Print the numbers x through y up or down |
nl
|
python
input(),
print(),
int(),
for-lus,
print() keyword argument end,
|
|||
Smallest of 5 numbers |
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if\else,
|
|||
Second highest number in series |
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if/else,
|
|||
Sum of factorials |
nl
|
python
input(),
print(),
int(),
for-lus,
range(a,b),
|
|||
Occurrences of highest value in series |
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if/else,
|
|||
two half strings |
nl
|
python
concatenation,
input(),
print(),
string[i],
string[i:j],
|
|||
Linear equation |
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if\elif\else,
|