貌似有点问题,代码我在网页上跑报错,自己拿PYcharm跑了一下过了

来源:4-1 Python之if语句

qq_抉择的痛楚_0

2023-09-16 23:06

# Enter a code

age = 19

if age>=18:

    print ('adult')

    print (f"You age is: {age}")


写回答 关注

1回答

  • 慕雪2263393
    2023-09-20 16:18:22
    s1 = 'ABC'
    s2 = '123'
    s3 = 'xyz'
    for ch1 in s1:
        for ch2 in s2:
            for ch3 in s3:
                print(ch1 + ch2 + ch3)


Python3 入门教程

python3入门教程,让你快速入门并能编写简单的Python程序

166324 学习 · 1145 问题

查看课程

相似问题