Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
It also works and comes out to 56 without the exec magic and the multiplied string, using a normal loop instead: for i in range(100):print i%3/2*'Fizz'+i%5/4*'Buzz'or-~i.
Oh, well, you may take the input as an integer, not necessarily a built-in integer, afaik the default IO rules don't specify whether you may pad your input/take an integer as a string with padded 0s. Open to suggestions here. What's common practice on leading 0s in integer inputs?
The way the standard is now, only microseconds(6 digits) are mentioned in the standard. The microsecond digits are either 6 digits or 0 digits. See TC 4,5 and 6.
@JdeBP Ooof I hadn't considered that beforehand TBH. According to this answer unix timestamps don't produce skipped leap seconds but the skipped second is a valid ISO8601 date. As far as I understand it, you may ingore leap seconds as they may be represented in a valid timestamp according to the standard.