当前位置:网站首页>99 multiplication table and inverted triangle 99 multiplication table
99 multiplication table and inverted triangle 99 multiplication table
2022-07-26 08:02:00 【Little thief [email】
# multiplication table
for i in range(1,10):
for j in range(1,i+1):
print(j,"*",i,"=",i*j,end="\t",sep="")#end="\t",\t Represents four spaces , One tab key ,sep="" Remove the interval
print("")

# Inverted triangle 99 multiplication table
for i in range(1,10):
if i==1:
print("")
if 1<i<10:
print(" "*7*(i-1),end="\t")
for j in range(i,10):
print(i,"*",j,"=",i*j,end="\t",sep="")
print("")

版权声明
本文为[Little thief [email protected]]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/201/202207181754401476.html
边栏推荐
- Web side 3D visualization engine hoops communicator reads 10g super large model test | digital twin Technology
- Ethernet switching security
- 【uniapp】多种支付方式封装
- Leetcode sword finger offer special (I) integer
- Excel file reading and writing (creation and parsing)
- Table fix specific rows
- Como automatic test system: build process record
- 2022.7.22DAY612
- Unity metaverse (II), mixamo & animator hybrid tree and animation fusion
- 2021-11-09
猜你喜欢

Burp Suite-第六章 如何使用Burp Spider

【uniapp】多种支付方式封装

【 fastjson1.2.24反序列化漏洞原理代码分析】

Burp Suite-第二章 Burp Suite代理和浏览器设置

Idea settings set shortcut keys to convert English letters to case in strings

2022-07-13 group 5 Gu Xiangquan's learning notes day06

Burp Suite-第七章 如何使用Burp Scanner

Dynamic performance view overview

Sort: merge sort and quick sort

Burp Suite-第八章 如何使用Burp Intruder
随机推荐
What are the differences between FileInputStream and bufferedinputstream?
Summary of distributed related interview questions
Polymorphism, final and interface
总结软件测试岗的那些常见高频面试题
How to ensure the double write consistency between cache and database?
Excel file parsing
Matlab-二/三维图上绘制黑点
JWT quick start
Sort: merge sort and quick sort
Burp Suite-第二章 Burp Suite代理和浏览器设置
2022-07-08 group 5 Gu Xiangquan's learning notes day01
The difference between throw and throws?
爬虫->TpImgspider
Leetcode 206. reverse chain list (2022.07.25)
线程崩了,为什么不会导致 JVM 崩溃呢?如果是主线程呢?
要不你给我说说什么是长轮询吧?
JSP action -- usebean action
Summarize the common high-frequency interview questions of the software testing post
Why is Google's internal tools not suitable for you?
[uniapp] encapsulation of multiple payment methods