RosettaCodeData/Task/Conditional-structures/EasyLang/conditional-structures.easy

9 lines
165 B
Plaintext

i = randint 10
if i mod 2 = 0
print i & " is divisible by 2"
elif i mod 3 = 0
print i & " is divisible by 3"
else
print i & " is not divisible by 2 or 3"
.