• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

SheW0lf/Cats_Bats_Spiders: FizzBuzz Challenge Hacktoberfest Style!

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

SheW0lf/Cats_Bats_Spiders

开源软件地址(OpenSource Url):

https://github.com/SheW0lf/Cats_Bats_Spiders

开源编程语言(OpenSource Language):

Python 26.1%

开源软件介绍(OpenSource Introduction):

Cats, Bats, and Spiders Hacktoberfest Starter Project

This project is open to anyone on Github, especially those of us who are new to the open source community! Here you can practice contributing to an open source project, and get more comfortable contributing to others here on Github.

I thought it would be fun to create a simple FizzBuzz challenge project but in the spirit of Halloween, use cats, bats, and spiders!

Rules

Write a program that prints the numbers from 1 to 100, but for numbers that are multiples of 3, print 'cats' instead of the number, for numbers that are multiples of 5 print 'bats' instead of the number, and for numbers that are multiples of both 3 and 5 print 'spiders'.

Getting Started

You may complete this challenge in any language you choose!

  1. Fork this repository (Click the Fork button in the top right of this page)

  2. Clone your fork down to your local machine

  git clone https://github.com/${your_username}/cats_bats_spiders
  1. Create a branch
  git checkout -b branch-name
  1. Create a new file in the scripts folder titled your_name.xxx (file extention appropriate to your language of choice)
  2. Write your code with the following comments at the top of the file filled out with your info
  Author:
  Language:
  Github:
  1. Optional: Add your name to the CONTRIBUTING.md file in the following format
    #### Name: [your name](Github link)
    - Bio: anything you want to tell us about yourself!
  1. Add and commit your changes
  git add .
  git commit -m 'commit message'
  git push origin branch-name
  1. Create a new pull request from your forked repository (Click the New Pull Request button located at the top of your repo)
  2. Wait for your PR review and merge approval!

Happy Hacktober!




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap