当前位置:网站首页>Using Lua to realize 99 multiplication table
Using Lua to realize 99 multiplication table
2022-07-04 10:37:00 【Pot pot pot】
function jiujiu()
-- The control line
for i=1, 9 do
-- Control the column
for j=1, i do
-- io.write In this way, the output will not wrap
io.write(j.."*"..i.."="..i*j.." ")
end
-- Print line breaks at the end of a column
print("\n")
end
end
jiujiu()
边栏推荐
- Time complexity and space complexity
- The time difference between the past time and the present time of uniapp processing, such as just, a few minutes ago, a few hours ago, a few months ago
- AUTOSAR from getting started to mastering 100 lectures (106) - SOA in domain controllers
- Huge number multiplication (C language)
- Add t more space to your computer (no need to add hard disk)
- leetcode1-3
- Rhsca day 11 operation
- From programmers to large-scale distributed architects, where are you (2)
- Occasional pit compiled by idea
- Introduction to extensible system architecture
猜你喜欢
【Day1】 deep-learning-basics
Article publishing experiment
[Galaxy Kirin V10] [server] NFS setup
leetcode1-3
Add t more space to your computer (no need to add hard disk)
When I forget how to write SQL, I
The most detailed teaching -- realize win10 multi-user remote login to intranet machine at the same time -- win10+frp+rdpwrap+ Alibaba cloud server
Huge number (C language)
If the uniapp is less than 1000, it will be displayed according to the original number. If the number exceeds 1000, it will be converted into 10w+ 1.3k+ display
VI text editor and user rights management, group management and time management
随机推荐
Student achievement management system (C language)
Reprint: summation formula of proportional series and its derivation process
Batch distribution of SSH keys and batch execution of ansible
2020-03-28
Debug:==42==ERROR: AddressSanitizer: heap-buffer-overflow on address
【Day2】 convolutional-neural-networks
Rhcsa operation
PHP programming language (1) - operators
C language - stack
Rhcsa learning practice
[200 opencv routines] 218 Multi line italic text watermark
原生div具有编辑能力
DDL language of MySQL database: create, modify alter, delete drop of databases and tables
Article publishing experiment
RHCE - day one
Number of relationship models
Hidden C2 tunnel -- use of icmpsh of ICMP
Legion is a network penetration tool
[Galaxy Kirin V10] [desktop] cannot add printer
[Galaxy Kirin V10] [server] set time synchronization of intranet server