filmov
tv
Patterns Codekata Python Programming Solutions

Показать описание
Hey guys, Welcome to FORMAL INFINITY Channel, In this video we would discuss the solution for Codekata programing problems using python in Guvi. In this specific video we have discussed Input and Output related problems in Guvi. We would continue this series of video for covering all the topics under codekata.
If you find our videos useful, please like or comment and don't forget to subscribe our channel to follow frequent videos and regular updates posted in our channel.
And If you haven't checked Playlists available in our channel, The link for all the available playlists is given below:
___________________________________________________________
Question_1:-
Generate a half pyramid pattern using numbers.
Input Description:
Given an integer R indicates number of rows.
Output Description:
Print the half pyramid pattern based on the given integer R.
Sample Input :
5
Sample Output :
1
12
123
1234
12345
*********************************
a = int(input())
for i in range(1,a+1):
for j in range(1,i+1):
print(j,end="")
print()
*********************************
If you find our videos useful, please like or comment and don't forget to subscribe our channel to follow frequent videos and regular updates posted in our channel.
And If you haven't checked Playlists available in our channel, The link for all the available playlists is given below:
___________________________________________________________
Question_1:-
Generate a half pyramid pattern using numbers.
Input Description:
Given an integer R indicates number of rows.
Output Description:
Print the half pyramid pattern based on the given integer R.
Sample Input :
5
Sample Output :
1
12
123
1234
12345
*********************************
a = int(input())
for i in range(1,a+1):
for j in range(1,i+1):
print(j,end="")
print()
*********************************