From c9d5103ecbfb7f79640d8f22d40badc54c55e816 Mon Sep 17 00:00:00 2001 From: Divyanshu Ranjan Srivastava Date: Sun, 28 Oct 2018 18:24:37 +0530 Subject: [PATCH] program in python --- divyanshu_sri.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 divyanshu_sri.py diff --git a/divyanshu_sri.py b/divyanshu_sri.py new file mode 100644 index 0000000..3902c46 --- /dev/null +++ b/divyanshu_sri.py @@ -0,0 +1,15 @@ + """ + Author: Divyanshu Ranjan Srivastava + Language:Python 3 + Github: https://github.com/divsriv111 + """ + + for i in range(1,100): + if(i%3==0 and i%5==0): + print("Spiders") + elif(i%3==0): + print("Cats") + elif(i%5==0): + print("Bats") + else: + print(i) \ No newline at end of file