Skip to content

Add files via upload#2

Merged
Ronit049 merged 1 commit intomainfrom
Ronit049-patch-1
Mar 22, 2026
Merged

Add files via upload#2
Ronit049 merged 1 commit intomainfrom
Ronit049-patch-1

Conversation

@Ronit049
Copy link
Owner

@Ronit049 Ronit049 commented Mar 22, 2026

add some folder by python

Summary by CodeRabbit

  • New Features
    • Added interactive FizzBuzz game with user input and divisibility rule outputs
    • Added multiple pattern-printing practice exercises for skill development
    • Added Snake/Water/Gun command-line game with user versus computer gameplay

add some folder by python
@coderabbitai
Copy link

coderabbitai bot commented Mar 22, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: d9de33d4-b9e4-4538-a9ff-5fbbf2181fe8

📥 Commits

Reviewing files that changed from the base of the PR and between b96fd1d and 2750aa2.

📒 Files selected for processing (10)
  • FizzBuzz/fizzbuzz.py
  • codechef/01_practice.py
  • practice question/01_star_question.py
  • practice question/02_star_question.py
  • practice question/03_star_practice.py
  • practice question/04_star_practice.py
  • practice question/05_star_question.py
  • practice question/06_star_question.py
  • practice question/07_star_practice.py
  • project/main.py.py

📝 Walkthrough

Walkthrough

This PR introduces 9 new Python files comprising practice exercises and simple implementations: a FizzBuzz function, CodeChef-style pattern printing, multiple star-pattern scripts, numeric patterns, and a Snake/Water/Gun command-line game. All additions are script-level logic with no exported library functions or classes.

Changes

Cohort / File(s) Summary
FizzBuzz Implementation
FizzBuzz/fizzbuzz.py
Implements a fizzbuzz() function that takes user integer input and prints FizzBuzz sequence (divisibility checks for 3, 5, and 15) for numbers 1 through input value.
CodeChef Practice
codechef/01_practice.py
Contains commented I/O examples and an active nested-loop star printer that outputs a pattern using double iteration.
Star Pattern Exercises
practice question/01_star_question.py, practice question/02_star_question.py, practice question/03_star_practice.py, practice question/06_star_question.py
Collection of pattern-printing scripts using nested loops to generate 5×5 grid, right-aligned triangle, reverse triangle, and left-aligned star patterns with varying spacing logic.
Numeric Pattern Exercises
practice question/04_star_practice.py, practice question/05_star_question.py
Scripts that generate numerical triangles and sequences using nested loops with descending and ascending iteration logic.
Game Implementation
project/main.py.py
Snake/Water/Gun game implementation with player input mapping, computer random selection, and outcome determination via conditional branches.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~18 minutes

Poem

🐰 Hoppy scripts we've penned today,
Fizzing through in every way,
Stars and patterns, games galore,
Practice lines forevermore!
While some typos may abound,
New code adventures are profound!

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch Ronit049-patch-1

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can generate a title for your PR based on the changes with custom instructions.

Set the reviews.auto_title_instructions setting to generate a title for your PR based on the changes in the PR with custom instructions.

@Ronit049 Ronit049 merged commit 2252495 into main Mar 22, 2026
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant