找回密码
 立即注册
搜索
热搜: Excel discuz
查看: 1102|回复: 0

[经典练习题] 九九乘法表

[复制链接]

482

主题

7万

元宝

75万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
750848
发表于 2021-8-15 15:22:09 | 显示全部楼层 |阅读模式
  1. for i in range(1,10):
  2.     for j in range(1,i+1):
  3.         print('%d*%d=%2ld '%(i,j,i*j),end='')
  4.     print()
复制代码



回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|五花八门论坛 ( 豫ICP备15031300号-3 )

GMT+8, 2024-4-20 00:17 , Processed in 0.096182 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表