From a2f8d9910e9eb1f92a412d5e8ef4b5aa8614cb2f Mon Sep 17 00:00:00 2001 From: Pratyush Raj Date: Wed, 14 Oct 2020 10:29:33 +0530 Subject: [PATCH 1/5] Add files via upload --- Day1/Python3/fizz_buzz.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Day1/Python3/fizz_buzz.py diff --git a/Day1/Python3/fizz_buzz.py b/Day1/Python3/fizz_buzz.py new file mode 100644 index 00000000..409386b1 --- /dev/null +++ b/Day1/Python3/fizz_buzz.py @@ -0,0 +1,21 @@ +''' + * @author: Pratyush Raj + * @github: https://github.com/rajpratyush + * @date: 14/10/2020 +''' + +def program1(j): + i=1 + while(i<=j): + if (i%3==0) and (i%5!=0): + print("Fizz") + elif (i%3!=0) and (i%5==0): + print("Buzz") + elif (i%3==0) and(i%5==0): + print("FizzBuzz") + else: + print(i) + i=i+1 + +if __name__ == '__main__': + program1(int(input("Enter the last number:"))) From e7d40cfbc399eed1c878e1a69962e5f5827ce49a Mon Sep 17 00:00:00 2001 From: Pratyush Raj Date: Wed, 14 Oct 2020 10:35:46 +0530 Subject: [PATCH 2/5] Update README.md --- Day1/README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/Day1/README.md b/Day1/README.md index 7ebb734b..fe04e14a 100644 --- a/Day1/README.md +++ b/Day1/README.md @@ -268,6 +268,32 @@ for i in range(1, n+1): else: print(i) +``` +### [fizz_buzz.py](./Python3/fizz_buzz.py) + +```python +''' + * @author: Pratyush Raj + * @github: https://github.com/rajpratyush + * @date: 14/10/2020 +''' + +def program1(j): + i=1 + while(i<=j): + if (i%3==0) and (i%5!=0): + print("Fizz") + elif (i%3!=0) and (i%5==0): + print("Buzz") + elif (i%3==0) and(i%5==0): + print("FizzBuzz") + else: + print(i) + i=i+1 + +if __name__ == '__main__': + program1(int(input("Enter the last number:"))) + ``` ### [profgrammer_fizzbuzz.py](./Python3/profgrammer_fizzbuzz.py) From e9bcfcc703b39308f011612ea8e4d2544bd57ab8 Mon Sep 17 00:00:00 2001 From: Pratyush Raj Date: Wed, 14 Oct 2020 10:57:03 +0530 Subject: [PATCH 3/5] Delete fizz_buzz.py --- Day1/Python3/fizz_buzz.py | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 Day1/Python3/fizz_buzz.py diff --git a/Day1/Python3/fizz_buzz.py b/Day1/Python3/fizz_buzz.py deleted file mode 100644 index 409386b1..00000000 --- a/Day1/Python3/fizz_buzz.py +++ /dev/null @@ -1,21 +0,0 @@ -''' - * @author: Pratyush Raj - * @github: https://github.com/rajpratyush - * @date: 14/10/2020 -''' - -def program1(j): - i=1 - while(i<=j): - if (i%3==0) and (i%5!=0): - print("Fizz") - elif (i%3!=0) and (i%5==0): - print("Buzz") - elif (i%3==0) and(i%5==0): - print("FizzBuzz") - else: - print(i) - i=i+1 - -if __name__ == '__main__': - program1(int(input("Enter the last number:"))) From 8eb09e9351ff940b755d39474604389385eecc99 Mon Sep 17 00:00:00 2001 From: rajpratyush Date: Wed, 14 Oct 2020 14:05:59 +0530 Subject: [PATCH 4/5] New solution added --- Day1/Python3/fizz_buzz.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Day1/Python3/fizz_buzz.py diff --git a/Day1/Python3/fizz_buzz.py b/Day1/Python3/fizz_buzz.py new file mode 100644 index 00000000..9975bc67 --- /dev/null +++ b/Day1/Python3/fizz_buzz.py @@ -0,0 +1,21 @@ +''' + * @author: Pratyush Raj + * @github: https://github.com/rajpratyush + * @date: 14/10/2020 +''' + +def program1(j): + i=1 + while(i<=j): + if (i%3==0) and (i%5!=0): + print("Fizz") + elif (i%3!=0) and (i%5==0): + print("Buzz") + elif (i%3==0) and(i%5==0): + print("FizzBuzz") + else: + print(i) + i=i+1 + +if __name__ == '__main__': + program1(int(input("Enter the last number:"))) From 02b7f98777db3b8cc62ba7e6b163fda81273733b Mon Sep 17 00:00:00 2001 From: rajpratyush Date: Wed, 14 Oct 2020 14:08:55 +0530 Subject: [PATCH 5/5] Add @rajpratyush as a contributor --- .all-contributorsrc | 13 ++++++++++- CONTRIBUTORS.md | 57 +++++++++++++++++++++++++++++++++++++++------ 2 files changed, 62 insertions(+), 8 deletions(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 86d86a78..f388b7f4 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -318,6 +318,17 @@ "doc", "code" ] + }, + { + "login": "rajpratyush", + "name": "Pratyush Raj", + "avatar_url": "https://avatars3.githubusercontent.com/u/53184883?v=4", + "profile": "https://github.com/rajpratyush", + "contributions": [ + "doc", + "code" + ] } - ] + ], + "commitConvention": "none" } diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 5b193e77..4d440013 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -5,13 +5,56 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)): - -| [MADHAV BAHL
MADHAV BAHL](http://madhavbahl.tech/)
[💻](https://github.com/CodeToExpress/dailycodebase/commits?author=MadhavBahlMD "Code") [📝](#blog-MadhavBahlMD "Blogposts") [📖](https://github.com/CodeToExpress/dailycodebase/commits?author=MadhavBahlMD "Documentation") [🎨](#design-MadhavBahlMD "Design") [✅](#tutorial-MadhavBahlMD "Tutorials") | [Rajdeep Roy Chowdhury
Rajdeep Roy Chowdhury](http://www.linkedin.com/in/razdeeproychowdhury)
[💻](https://github.com/CodeToExpress/dailycodebase/commits?author=Razdeep "Code") [📖](https://github.com/CodeToExpress/dailycodebase/commits?author=Razdeep "Documentation") [✅](#tutorial-Razdeep "Tutorials") | [Hrishi
Hrishi](https://hrishi1999.github.io)
[📖](https://github.com/CodeToExpress/dailycodebase/commits?author=Hrishi1999 "Documentation") [💻](https://github.com/CodeToExpress/dailycodebase/commits?author=Hrishi1999 "Code") | [Bhanu Ailani
Bhanu Ailani](https://github.com/Bhanu0202)
[📖](https://github.com/CodeToExpress/dailycodebase/commits?author=Bhanu0202 "Documentation") [💻](https://github.com/CodeToExpress/dailycodebase/commits?author=Bhanu0202 "Code") | [Deepak Sharma
Deepak Sharma](https://sourcerer.io/dsdsharma)
[📖](https://github.com/CodeToExpress/dailycodebase/commits?author=dsdsharma "Documentation") [💻](https://github.com/CodeToExpress/dailycodebase/commits?author=dsdsharma "Code") | [Ramanpreet Singh
Ramanpreet Singh](https://github.com/Ramanpreet6262)
[📖](https://github.com/CodeToExpress/dailycodebase/commits?author=Ramanpreet6262 "Documentation") [💻](https://github.com/CodeToExpress/dailycodebase/commits?author=Ramanpreet6262 "Code") | [Anil Khatri
Anil Khatri](https://imkaka.github.io/)
[📖](https://github.com/CodeToExpress/dailycodebase/commits?author=imkaka "Documentation") [💻](https://github.com/CodeToExpress/dailycodebase/commits?author=imkaka "Code") | -| :---: | :---: | :---: | :---: | :---: | :---: | :---: | -| [Ashwek Swamy
Ashwek Swamy](https://github.com/ashwek)
[📖](https://github.com/CodeToExpress/dailycodebase/commits?author=ashwek "Documentation") [💻](https://github.com/CodeToExpress/dailycodebase/commits?author=ashwek "Code") | [Dhruv Gupta
Dhruv Gupta](https://github.com/dhruv-gupta14)
[💻](https://github.com/CodeToExpress/dailycodebase/commits?author=dhruv-gupta14 "Code") | [Aadit Kamat
Aadit Kamat](https://sg.linkedin.com/in/aadit-kamat-12a5a8140)
[📖](https://github.com/CodeToExpress/dailycodebase/commits?author=aaditkamat "Documentation") [💻](https://github.com/CodeToExpress/dailycodebase/commits?author=aaditkamat "Code") | [Shashank jain
Shashank jain](http://www.myshashank.tech)
[📖](https://github.com/CodeToExpress/dailycodebase/commits?author=Shashankjain12 "Documentation") [💻](https://github.com/CodeToExpress/dailycodebase/commits?author=Shashankjain12 "Code") | [Moulik Aggarwal
Moulik Aggarwal](https://github.com/moulikcipherX)
[💬](#question-moulikcipherX "Answering Questions") [📝](#blog-moulikcipherX "Blogposts") [💻](https://github.com/CodeToExpress/dailycodebase/commits?author=moulikcipherX "Code") [📖](https://github.com/CodeToExpress/dailycodebase/commits?author=moulikcipherX "Documentation") | [Prateek Surana
Prateek Surana](http://prateeksurana.me)
[📖](https://github.com/CodeToExpress/dailycodebase/commits?author=prateek3255 "Documentation") [💻](https://github.com/CodeToExpress/dailycodebase/commits?author=prateek3255 "Code") | [shivank86
shivank86](https://github.com/shivank86)
[💻](https://github.com/CodeToExpress/dailycodebase/commits?author=shivank86 "Code") | -| [Vishal Shirke
Vishal Shirke](https://github.com/vishalshirke7)
[📖](https://github.com/CodeToExpress/dailycodebase/commits?author=vishalshirke7 "Documentation") [💻](https://github.com/CodeToExpress/dailycodebase/commits?author=vishalshirke7 "Code") | [profgrammer
profgrammer](https://github.com/profgrammer)
[📖](https://github.com/CodeToExpress/dailycodebase/commits?author=profgrammer "Documentation") [💻](https://github.com/CodeToExpress/dailycodebase/commits?author=profgrammer "Code") | [divyakhetan
divyakhetan](https://github.com/divyakhetan)
[📖](https://github.com/CodeToExpress/dailycodebase/commits?author=divyakhetan "Documentation") [💻](https://github.com/CodeToExpress/dailycodebase/commits?author=divyakhetan "Code") | [Spreeha Dutta
Spreeha Dutta](https://github.com/Spreeha)
[💻](https://github.com/CodeToExpress/dailycodebase/commits?author=Spreeha "Code") [📖](https://github.com/CodeToExpress/dailycodebase/commits?author=Spreeha "Documentation") | [Chaitanya Bhojwani
Chaitanya Bhojwani](https://github.com/chaitanya-bhojwani)
[📖](https://github.com/CodeToExpress/dailycodebase/commits?author=chaitanya-bhojwani "Documentation") [💻](https://github.com/CodeToExpress/dailycodebase/commits?author=chaitanya-bhojwani "Code") | [Manaswini Das
Manaswini Das](https://www.linkedin.com/in/manaswini-das/)
[📖](https://github.com/CodeToExpress/dailycodebase/commits?author=manaswinidas "Documentation") | [Anirudh Jwala
Anirudh Jwala](https://www.linkedin.com/in/anirudh-jwala-533859135/)
[📖](https://github.com/CodeToExpress/dailycodebase/commits?author=anirudh-jwala "Documentation") [💻](https://github.com/CodeToExpress/dailycodebase/commits?author=anirudh-jwala "Code") | -| [Willian Taiguara Baliza Moura
Willian Taiguara Baliza Moura](https://github.com/willianwt)
[📖](https://github.com/CodeToExpress/dailycodebase/commits?author=willianwt "Documentation") [💻](https://github.com/CodeToExpress/dailycodebase/commits?author=willianwt "Code") | [Rajashree Parhi
Rajashree Parhi](https://github.com/rajashree23)
[📖](https://github.com/CodeToExpress/dailycodebase/commits?author=rajashree23 "Documentation") [💻](https://github.com/CodeToExpress/dailycodebase/commits?author=rajashree23 "Code") | [Akshit Aggarwal
Akshit Aggarwal](https://github.com/AkshitAggarwal)
[📖](https://github.com/CodeToExpress/dailycodebase/commits?author=AkshitAggarwal "Documentation") [💻](https://github.com/CodeToExpress/dailycodebase/commits?author=AkshitAggarwal "Code") | [Abhishek
Abhishek](https://github.com/dasabhishek0790)
[💻](https://github.com/CodeToExpress/dailycodebase/commits?author=dasabhishek0790 "Code") | [SAGUN JAISWAL
SAGUN JAISWAL](https://github.com/sagunjaiswal)
[💻](https://github.com/CodeToExpress/dailycodebase/commits?author=sagunjaiswal "Code") | [Abhishek Anantharam
Abhishek Anantharam](https://github.com/abhishek0405)
[📖](https://github.com/CodeToExpress/dailycodebase/commits?author=abhishek0405 "Documentation") [💻](https://github.com/CodeToExpress/dailycodebase/commits?author=abhishek0405 "Code") | [Prabhat Malhotra
Prabhat Malhotra](https://github.com/malhotra1432)
[📖](https://github.com/CodeToExpress/dailycodebase/commits?author=malhotra1432 "Documentation") [💻](https://github.com/CodeToExpress/dailycodebase/commits?author=malhotra1432 "Code") | -| [Hrishikesh K Thakkar
Hrishikesh K Thakkar](https://github.com/Hrishikesh-Thakkar)
[💻](https://github.com/CodeToExpress/dailycodebase/commits?author=Hrishikesh-Thakkar "Code") | [GAURAV KUMAR
GAURAV KUMAR](https://github.com/gaurav01k3)
[📖](https://github.com/CodeToExpress/dailycodebase/commits?author=gaurav01k3 "Documentation") [💻](https://github.com/CodeToExpress/dailycodebase/commits?author=gaurav01k3 "Code") | [wboccard
wboccard](https://github.com/wboccard)
[📖](https://github.com/CodeToExpress/dailycodebase/commits?author=wboccard "Documentation") [💻](https://github.com/CodeToExpress/dailycodebase/commits?author=wboccard "Code") | + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

MADHAV BAHL

💻 📝 📖 🎨

Rajdeep Roy Chowdhury

💻 📖

Hrishi

📖 💻

Bhanu Ailani

📖 💻

Deepak Sharma

📖 💻

Ramanpreet Singh

📖 💻

Anil Khatri

📖 💻

Ashwek Swamy

📖 💻

Dhruv Gupta

💻

Aadit Kamat

📖 💻

Shashank jain

📖 💻

Moulik Aggarwal

💬 📝 💻 📖

Prateek Surana

📖 💻

shivank86

💻

Vishal Shirke

📖 💻

profgrammer

📖 💻

divyakhetan

📖 💻

Spreeha Dutta

💻 📖

Chaitanya Bhojwani

📖 💻

Manaswini Das

📖

Anirudh Jwala

📖 💻

Willian Taiguara Baliza Moura

📖 💻

Rajashree Parhi

📖 💻

Akshit Aggarwal

📖 💻

Abhishek

💻

SAGUN JAISWAL

💻

Abhishek Anantharam

📖 💻

Prabhat Malhotra

📖 💻

Hrishikesh K Thakkar

💻

GAURAV KUMAR

📖 💻

wboccard

📖 💻

Pratyush Raj

📖 💻
+ + + + This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind are welcome!