[CHALLENGE] Make a program that outputs the system time | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

[CHALLENGE] Make a program that outputs the system time

30th May 2018, 12:23 PM
SomeOne
8 Answers
30th May 2018, 1:32 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 4
https://code.sololearn.com/WQNyHHp3QI32/?ref=app with javascript
30th May 2018, 12:53 PM
Mattéo
30th May 2018, 12:24 PM
SomeOne
+ 3
https://code.sololearn.com/chJLb4sFitqG/?ref=app c++
30th May 2018, 1:39 PM
Max
Max - avatar
30th May 2018, 3:44 PM
Calviղ
Calviղ - avatar
+ 2
can anyone do this is python, possibly with datetime or time libraries
1st Jun 2018, 10:40 PM
James Pinder
+ 2
James Pinder here, a python one-liner: print((lambda x: x.asctime(x.localtime(x.time())))(__import__('time')))
3rd Jun 2018, 6:50 PM
Flash