GithubHelp home page GithubHelp logo

tomekmazurek / patterns Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yashlikescode/patterns

0.0 0.0 0.0 75 KB

A collection of coding patterns for beginners and learners

C++ 21.76% Java 51.05% Python 27.19%

patterns's Introduction

I have a dream,
I have a dream that, anyone in the world, who is stuck in patterns will get help from this repository. Dear people of world, please have a look at the patterns given below and write code to print that code after taking an input from user, Each folder in this repository, contains codes of corresponding patterns,

If the patterns are not visible
use that pencil logo on top right corner to see the patterns

##Please write code to whichever language you know and make them available for learners. ##Pleaase add more patterns if you like.

Following patterns should be printed when user input is "5":

Q1)  
   *****  
   ****  
   ***  
   **  
   *  


Q2)  
*****  
 ****  
  ***  
   **  
    *  


Q3)  
*  
**  
***  
****  
*****  
 

Q4)  
    *  
   **  
  ***  
 ****  
*****  


Q5)  
*********  
 *******  
  *****  
   ***  
    *  


Q6)  
    *  
   ***  
  *****  
 *******  
*********  
 

Q7)  
*  
**  
***  
****  
*****  
****  
***  
**  
*  


Q8)  
    *  
   **  
  ***  
 ****  
*****  
 ****  
  ***  
   **  
    *  


Q9)  
    *  
   ***  
  *****  
   ***  
    *  


Q10)  
*****  
*   *  
*   *  
*   *  
*****  


Q11)  
    1
   1 2
  1 2 3 
 1 2 3 4
1 2 3 4 5


Q12)  
1 2 3 4 5
 1 2 3 4
  1 2 3 
   1 2
    1


Q13)  
        1
      1 2 1
    1 2 3 2 1
  1 2 3 4 3 2 1
1 2 3 4 5 4 3 2 1


Q14)
***** *****
****   ****
***     ***
**       **
*         *

*         *
**       **
***     ***
****   ****
***** *****


Q15)
**********
 ********
  ******
   ****
    **
    **
   ****
  ******
 ********
**********

Q16)
*****
****
***
**
*
**
***
****
*****

Q17)
*****
** **
* * *
** **
*****

18)
*.*.*
.*.*.
*.*.*
.*.*.
*.*.*

patterns's People

Contributors

biscuitcandy avatar buhari44 avatar jpzs444 avatar manish193 avatar mjohnson7cd avatar pranilmeherkar avatar vaishnavi23022003 avatar yashlikescode avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.