Update appNew update is available. Click here to update.
About
Vignan's Foundation for Science, Technology & Research (Deemed to be University) 2025
Python - Default language
My Stats
EXP gained
yellow-spark
11214
Level
7 (Expert)
Community stats
Discussions
0
Upvotes
0
Know more
344
Total problems solved
328
Easy
16
Moderate
0
Hard
0
Ninja
Jan Jan Feb Feb Mar Mar Apr Apr May May Jun Jun Jul Jul Aug Aug Sep Sep Oct Oct Nov Nov Dec Dec

Current streak:

1 day

Longest streak:

5 days

Less

More

Achievements
1
Ronin
Topics
Arrays
2
Sensei
Guided path
Fundamentals of Html
+ 1 more
Discussions
Python
Interview problems

def alphaRamp(n: int) -> None:

    # Write your solution from here.

    ch="A"

    for i in range(1,n+1):

        for j in range(i):

            print(chr(ord(ch)+i-1),end = " ")

        print()

    pass

profile
Sai Ramya
Published On 14-Nov-2023
14 views
0 replies
0 upvotes
Python Beats 99.53%
Interview problems

def nBinaryTriangle(n: int) -> None:

    # Write your solution here.

    s=1

    for i in range(0,n):

        if(i%2!=0):

            s=0

        else:

            s=1

        for j in range(i+1):

            print(s,end=" ")

            s=1-s

        print()

    pass

profile
Sai Ramya
Published On 13-Nov-2023
32 views
0 replies
0 upvotes