Mateja
(Mateja)
#1
Todays #daily-challenge might be the easiest one so far.
Your task is to ask for a year, and the program should return a yaillist which tells:
- Which millennium a year is in
- Which century a year is in
- Which decade a year is in
(0 < year < 5000)
Sample inputs and outputs:
year(2020) => (3 21 202)
year(1532) => (2 16 154)
Have fun
5 Likes
Peter
(Moderator)
#3
Just post your blocks here.
2 Likes
Rumesh_P
(Rumesh)
#4
You mean as a screenshot?
Mateja
(Mateja)
#5
You can, or right click on the blocks section and select Export blocks as Image
2 Likes
Mateja
(Mateja)
#7
So do you plan on submitting your answer or…?
Btw, welcome to the community!