Do you have source code of A alphabet pattern? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1
31st Mar 2020, 10:01 AM
Abdul Wahab Chattha
Abdul Wahab Chattha - avatar
2 Answers
+ 4
You should ask this question on YouTube comment section instead of here...
31st Mar 2020, 10:11 AM
你知道規則,我也是
你知道規則,我也是 - avatar
0
[Python] n=10 for i in range(1,n+1): print(' '*(n-i),end='') print('**',end='') if i==6 or i==7: print('*'*((2*i)-1),end='') else: print(' '*((2*i)-1),end='') print('**',end='') print()
1st Apr 2020, 7:22 AM
Akbar Ali Quazi
Akbar Ali Quazi - avatar