Post History
Python 3, 64 62 bytes for i in range(1,101):print("Fizz"*(i%3<1)+"Buzz"*(i%5<1)or i) Try it online! Saved two bytes thanks to Moshi in the comments.
Answer
#4: Post edited
- # [Python 3], <s>64</s> 62 bytes
- <!-- language-all: lang-python -->
- for i in range(1,101):print("Fizz"*(i%3<1)+"Buzz"*(i%5<1)or i)
[Try it online!][TIO-ku6j8irp]- Saved two bytes thanks to [Moshi](https://codegolf.codidact.com/users/53196) in the [comments](https://codegolf.codidact.com/comments/thread/4643#comment-13940).
- # [Python 3], <s>64</s> 62 bytes
- <!-- language-all: lang-python -->
- for i in range(1,101):print("Fizz"*(i%3<1)+"Buzz"*(i%5<1)or i)
- [Try it online!][TIO-ku6jcjdz]
- Saved two bytes thanks to [Moshi](https://codegolf.codidact.com/users/53196) in the [comments](https://codegolf.codidact.com/comments/thread/4643#comment-13940).
- [Python 3]: https://docs.python.org/3/
- [TIO-ku6jcjdz]: https://tio.run/##K6gsycjPM/7/Py2/SCFTITNPoSgxLz1Vw1DH0MBQ06qgKDOvREPJLbOqSklLI1PV2MZQU1vJqRTKNQVyQfo0//8HAA "Python 3 – Try It Online"
#3: Post edited
# [Python 3], 64 bytes- <!-- language-all: lang-python -->
for i in range(1,101):print("Fizz"*(i%3==0)+"Buzz"*(i%5==0)or i)[Try it online!][TIO-ktdzvc31][Python 3]: https://docs.python.org/3/[TIO-ktdzvc31]: https://tio.run/##K6gsycjPM/7/Py2/SCFTITNPoSgxLz1Vw1DH0MBQ06qgKDOvREPJLbOqSklLI1PV2NbWQFNbyakUyjcF8UE6Nf//BwA "Python 3 – Try It Online"
- # [Python 3], <s>64</s> 62 bytes
- <!-- language-all: lang-python -->
- for i in range(1,101):print("Fizz"*(i%3<1)+"Buzz"*(i%5<1)or i)
- [Try it online!][TIO-ku6j8irp]
- Saved two bytes thanks to [Moshi](https://codegolf.codidact.com/users/53196) in the [comments](https://codegolf.codidact.com/comments/thread/4643#comment-13940).
#2: Post edited
# [Python 3], 65 bytes- <!-- language-all: lang-python -->
for i in range(1,101):print("Fizz"*(i%3==0)+"Buzz"*(i%5==0) or i)[Try it online!][TIO-ktdzrh1f]- [Python 3]: https://docs.python.org/3/
[TIO-ktdzrh1f]: https://tio.run/##K6gsycjPM/7/Py2/SCFTITNPoSgxLz1Vw1DH0MBQ06qgKDOvREPJLbOqSklLI1PV2NbWQFNbyakUyjcF8RVAWjX//wcA "Python 3 – Try It Online"
- # [Python 3], 64 bytes
- <!-- language-all: lang-python -->
- for i in range(1,101):print("Fizz"*(i%3==0)+"Buzz"*(i%5==0)or i)
- [Try it online!][TIO-ktdzvc31]
- [Python 3]: https://docs.python.org/3/
- [TIO-ktdzvc31]: https://tio.run/##K6gsycjPM/7/Py2/SCFTITNPoSgxLz1Vw1DH0MBQ06qgKDOvREPJLbOqSklLI1PV2NbWQFNbyakUyjcF8UE6Nf//BwA "Python 3 – Try It Online"
#1: Initial revision
# [Python 3], 65 bytes <!-- language-all: lang-python --> for i in range(1,101):print("Fizz"*(i%3==0)+"Buzz"*(i%5==0) or i) [Try it online!][TIO-ktdzrh1f] [Python 3]: https://docs.python.org/3/ [TIO-ktdzrh1f]: https://tio.run/##K6gsycjPM/7/Py2/SCFTITNPoSgxLz1Vw1DH0MBQ06qgKDOvREPJLbOqSklLI1PV2NbWQFNbyakUyjcF8RVAWjX//wcA "Python 3 – Try It Online"