当前位置:网站首页>[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
边栏推荐
- Rhcsa Road
- Appx code signing Guide
- 【计网】第三章 数据链路层(4)局域网、以太网、无线局域网、VLAN
- New generation garbage collector ZGC
- HMS Core 机器学习服务打造同传翻译新“声”态,AI让国际交流更顺畅
- PHP and excel phpexcel
- Oceanbase Community Edition OBD mode deployment mode stand-alone installation
- How to handle the timeout of golang
- PowerPivot - DAX (first time)
- Special topic of rotor position estimation of permanent magnet synchronous motor -- Summary of position estimation of fundamental wave model
猜你喜欢
BeagleBoneBlack 上手记
腾讯T4架构师,android面试基础
Crawler (14) - scrape redis distributed crawler (1) | detailed explanation
永磁同步电机转子位置估算专题 —— 基波模型与转子位置角
02 基础入门-数据包拓展
5. 无线体内纳米网:十大“可行吗?”问题
JMeter server resource indicator monitoring (CPU, memory, etc.)
Case ① | host security construction: best practice of 3 levels and 11 capabilities
系统与应用监控的思路和方法
Oceanbase Community Edition OBD mode deployment mode stand-alone installation
随机推荐
Force deduction brush question - 98 Validate binary search tree
POJ 3207 Ikki' s Story IV – Panda' s Trick (2-SAT)
Function optimization and arrow function of ES6
持续测试(CT)实战经验分享
Cesium Click to draw a circle (dynamically draw a circle)
Color is converted to tristimulus value (r/g/b) (dry stock)
An East SMS login resurrection installation and deployment tutorial
golang的超时处理使用技巧
Deep learning classification network -- zfnet
腾讯架构师首发,2022Android面试笔试总结
HMS core machine learning service creates a new "sound" state of simultaneous interpreting translation, and AI makes international exchanges smoother
Tips for web development: skillfully use ThreadLocal to avoid layer by layer value transmission
Anaconda安裝後Jupyter launch 沒反應&網頁打開運行沒執行
逻辑是个好东西
Event center parameter transfer, peer component value transfer method, brother component value transfer
Cesium 点击绘制圆形(动态绘制圆形)
爬虫(14) - Scrapy-Redis分布式爬虫(1) | 详解
Qinglong panel white screen one key repair
爬虫(14) - Scrapy-Redis分布式爬虫(1) | 详解
02 基础入门-数据包拓展