Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from datetime import datetime
- Nama = input("Nama \t: ")
- NomorUrut = int(input("No. Urut: "))
- waktu = datetime.now()
- idSiswa = ("%s%02d%2d%03d-%s" % (waktu.year, waktu.month, waktu.day, NomorUrut, Nama[0]))
- print("ID Siswa : ",idSiswa)
Advertisement
Add Comment
Please, Sign In to add comment