Kesimpulan Datetime

Oleh menik 51 1 pada Senin, 29 Agu 2022, 15:21:38


Kembali ke forum soal ini

#python #strings-print-dan-datetime #datetime


Petunjuk Diskusi
Silahkan masuk untuk berdiskusi



mau nanya, itu salahnya dimana ya??

from datetime import datetime
kini = datetime.now()

jam = kini.hour()
menit = kini.menit()
detik = kini.second()
print "{0}/{1}/{2}" .format(jam, menit, detik)
1 jempol




duahau3493
0
0
· 1 tahun, 6 bulan yang lalu · 0 jempol

Are you looking for a reputable game portal to play card games? Choose https://nhacaibetviet.com/ to have the most interesting and best experiences. Game Paradise is considered the world of card games. What is the truth, let's discover with us at Nhà cái uy tín nhất

watiyunia
155
2
· 1 tahun yang lalu · 0 jempol

rom datetime import datetime
kini = datetime.now()
jam = kini.hour
menit = kini.minute
detik = kini.second
print "{}:{}:{}".format(jam, menit, detik)