+ 4
[CHALLENGE] Make a program that outputs the system time
8 Answers
+ 4
https://code.sololearn.com/WQNyHHp3QI32/?ref=app with javascript
+ 3
Here's mine in C++,
https://code.sololearn.com/cDdNWd5UjSHx/#cpp
+ 3
https://code.sololearn.com/chJLb4sFitqG/?ref=app c++
+ 2
can anyone do this is python, possibly with datetime or time libraries
+ 2
James Pinder here, a python one-liner:
print((lambda x: x.asctime(x.localtime(x.time())))(__import__('time')))