We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Loading...
  • Practice
  • Compete
  • Jobs
  • Leaderboard
  • Hiring developers?
  1. Practice
  2. Algorithms
  3. Warmup
  4. Staircase
  5. Discussions

Staircase

  • Problem
  • Submissions
  • Leaderboard
  • Discussions
  • Editorial

    You are viewing a single comment's thread. Return to all comments →

  • shubhambigdream 9 months ago+ 1 comment

    my output is same but still showing fail, can anybody tell me whats wrong:

    0|
    ParentPermalink
    • Kanahaiya 9 months ago+ 2 comments

      show me your code?

      0|
      ParentPermalink
      • shubhambigdream 9 months ago+ 0 comments

        a=int(input())+1 i=0 while(a!=0): print(" "*a,end="") print("#"*i) a=a-1 i=i+1

        0|
        ParentPermalink
      • shubhambigdream 9 months ago+ 1 comment

        didi u find anything

        0|
        ParentPermalink
        • Kanahaiya 9 months ago+ 0 comments

          Could you please format your code or do one thing if its not in java then cross verify your solution with mine one. It will help you to figure out the mistake at your own.

          Here is the video explanation –

          https://youtu.be/gDltV7pJw7A

          0|
          ParentPermalink
  • Contest Calendar
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy
  • Request a Feature