网站公告 | 这是第二条公告我的广告
微信扫一扫 分享朋友圈

已有 64 人浏览分享

7077的第1001-1006

[复制链接]
会员网龄
23.8岁
:10 天
:3 天
1001

60

主题

13

回帖

1万

积分

管理员

BOSS

Rank: 9Rank: 9Rank: 9

积分
11455

最佳新人活跃会员热心会员推广达人宣传达人灌水之王突出贡献优秀版主荣誉管理论坛元老

[Lv3

发表于 3 天前 | 显示全部楼层 | 阅读模式
#1001
#print("Hello Python")

#1002
A=input()
B=input()
A=int(A)
B=int(B)
print(A+B)

#1003
F=input()
F=float(F)
C=5*(F-32)/9
print("%.2f"%C)  #保留.2f   .5f



#1004
a=input()
print("  "+a)
print(" "+a*3)
print(a*5)

#1005
x=input()
x=int(x)
a=10*x
print("%d %d"%(x,a))


#1006
h=150*2/15
s=(15+25)*h/2
print("%.2f"%s)








382363955
懒得打字嘛,点击右侧快捷回复 【右侧内容,后台自定义】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

0

关注

0

粉丝

60

主题

QQ|手机版|小黑屋|山东智趣岛论坛 ( 鲁ICP备2023024048号 )

GMT+8, 2025-7-20 19:44 , Processed in 0.293868 second(s), 57 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.