当前位置:网站首页>[weekly pit] output triangle
[weekly pit] output triangle
2022-07-06 20:19:00 【Crossin's programming classroom】
Zero basis python Introductory tutorial :python666.cn
Hello everyone , Welcome to Crossin Programming classroom of !
our “ Every Monday ” Here comes the column again !
Long time no see , Let's warm up with a simple topic today :
Output the following graphics on the console ( Regardless of color ):
* * * * *
* *
* *
* *
*If it's too easy for you to output a fixed length , You can add an input n(n Is a positive integer and n>3), As the number of asterisks in the first row of the output triangle .
Such as input 7, The output :
* * * * * * *
* *
* *
* *
* *
* *
*Detailed answers and reference codes will be given in the next column , You can also refer to the code in the message of other students .
I look forward to your answers , I hope you can complete the whole series .
Simple code can be submitted directly in the message , Long code is recommended paste.ubuntu.com or
codeshare.io And other code sharing sites , Just copy the code and save it , You can get a share address , Very convenient .
For past questions, click the collection at the beginning of the article “ Every Monday ” Enter the view .
_ Previous articles are recommended _
If you need to know Paid premium courses And Teaching Q & a service
Please be there. Crossin Programming classroom of Internal reply : 666

边栏推荐
- How to select several hard coded SQL rows- How to select several hardcoded SQL rows?
- Notes on beagleboneblack
- Appx代码签名指南
- Initial experience of addresssanitizer Technology
- Jupyter launch didn't respond after Anaconda was installed & the web page was opened and ran without execution
- 腾讯字节阿里小米京东大厂Offer拿到手软,老师讲的真棒
- JMeter server resource indicator monitoring (CPU, memory, etc.)
- Appx code signing Guide
- Basic knowledge of lists
- 【每周一坑】正整数分解质因数 +【解答】计算100以内质数之和
猜你喜欢

Basic knowledge of lists

5. Wireless in vivo nano network: top ten "feasible?" problem
腾讯T4架构师,android面试基础

Cesium 点击绘制圆形(动态绘制圆形)

B-jiege's tree (pressed tree DP)

Force deduction brush question - 98 Validate binary search tree

HMS Core 机器学习服务打造同传翻译新“声”态,AI让国际交流更顺畅

腾讯字节阿里小米京东大厂Offer拿到手软,老师讲的真棒

为什么新手在编程社区提问经常得不到回答,甚至还会被嘲讽?
![[Yann Lecun likes the red stone neural network made by minecraft]](/img/95/c3af40c7ecbd371dd674aea19b272a.png)
[Yann Lecun likes the red stone neural network made by minecraft]
随机推荐
POJ 3207 Ikki' s Story IV – Panda' s Trick (2-SAT)
OceanBase社区版之OBD方式部署方式单机安装
【计网】第三章 数据链路层(4)局域网、以太网、无线局域网、VLAN
Tips for web development: skillfully use ThreadLocal to avoid layer by layer value transmission
[Yann Lecun likes the red stone neural network made by minecraft]
Speech recognition (ASR) paper selection: talcs: an open source Mandarin English code switching corps and a speech
Node.js: express + MySQL实现注册登录,身份认证
String长度限制?
PHP and excel phpexcel
Discussion on beegfs high availability mode
AddressSanitizer 技术初体验
SQL injection 2
BeagleBoneBlack 上手记
Method keywords deprecated, externalprocname, final, forcegenerate
Trends of "software" in robotics Engineering
5. Wireless in vivo nano network: top ten "feasible?" problem
B-jiege's tree (pressed tree DP)
Anaconda安装后Jupyter launch 没反应&网页打开运行没执行
5. 无线体内纳米网:十大“可行吗?”问题
Unity making plug-ins