Exercises
Languages | |||||
---|---|---|---|---|---|
Area of a triangle |
nl
|
python
input,
print,
oefening,
uhasselt tutorials
|
|||
Sum of 3 numbers |
nl
|
python
input,
print,
oefening,
uhasselt tutorials
|
|||
Handing out apples |
nl
|
python
input(),
print(),
int(),
calculations,
floor division,
|
|||
Hello, Harry! |
nl
|
python
input,
print,
concatenation,
oefening,
uhasselt tutorials
|
|||
1 out of 2 is positive |
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if\else,
|
|||
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,
|
|||
Previous and next number |
nl
|
python
concatenation,
input(),
print(),
str(),
int(),
|
|||
Number of even numbers |
nl
|
python
input(),
print(),
int(),
modulo,
relationele operatoren,
|
|||
Time between 2 times of day |
nl
|
python
input,
print,
oefening,
uhasselt tutorials
|
|||
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,
|
|||
Sum of digits |
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(),
|
|||
Odd or even |
nl
|
python
input(),
print(),
int(),
modulo,
relationele operatoren,
|
|||
3 digit number |
nl
|
python
input(),
print(),
int(),
relationele operatoren,
if\else,
|
|||
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,
|