Exercises
| Languages | |||||
|---|---|---|---|---|---|
| Area of a triangle |
nl
|
python
input,
print,
oefening,
uhasselt tutorials
|
|||
| Handing out apples |
nl
|
python
input(),
print(),
int(),
calculations,
floor division,
|
|||
| Sum of 3 numbers |
nl
|
python
input,
print,
oefening,
uhasselt tutorials
|
|||
| Hello, Harry! |
nl
|
python
input,
print,
concatenation,
oefening,
uhasselt tutorials
|
|||
| The black sheep |
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if\elif\else,
|
|||
| Start to Run |
nl
|
python
input(),
print(),
int(),
relationele operatoren,
while-lus,
|
|||
| 1 out of 2 is positive |
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if\else,
|
|||
| Previous and next number |
nl
|
python
concatenation,
input(),
print(),
str(),
int(),
|
|||
| Time between 2 times of day |
nl
|
python
input,
print,
oefening,
uhasselt tutorials
|
|||
| Number of even numbers |
nl
|
python
input(),
print(),
int(),
modulo,
relationele operatoren,
|
|||
| Smallest of 2 numbers |
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if\else,
|
|||
| Average of indefinite number series |
nl
|
python
input(),
print(),
int(),
relationele operatoren,
while-lus,
|
|||
| Replacing school desks |
nl
|
python
input(),
print(),
int(),
calculations,
floor division,
|
|||
| Greater, smaller, equal to 0 |
nl
|
python
input(),
print(),
int(),
modulo,
relationele operatoren,
|
|||
| Sum of N numbers |
nl
|
python
input(),
print(),
int(),
for-lus,
range(),
|
|||
| Sum of digits |
nl
|
python
input(),
print(),
int(),
calculations,
floor division,
|
|||
| 3 digit number |
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if\else,
|
|||
| Odd or even |
nl
|
python
input(),
print(),
int(),
modulo,
relationele operatoren,
|
|||
| Count the number of zeros |
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if\else,
|
|||
| Maximum of indefinite number series |
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if/else,
|