程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Analysis of real questions (judgment questions) of Python programming level examination for teenagers of the Institute of Electronics December 2021

編輯:Python

2021 year 12 month Python Analysis of real questions of level 2 programming test

Judgment questions ( common 10 topic , Each question 2 branch , common 20 branch )

26、 Run the following procedure , The running result is :hi lanxi!

s1 = "hi"
s2 = " lanxi"
s3 = "!"
print(s1+s2+s3)

answer : Yes

Test point analysis : Check the string connection operation , String addition is to connect multiple strings ,s2 There are spaces in the string , So it's right

27、 In a program , If there is break, There must be continue

answer : wrong

Test point analysis : Examine break and continue sentence , These two statements are generally used in the loop structure , These two do not have to appear at the same time , According to the function of the topic, only one can appear , You can also have both , So the mistake

28、 Strings are variable data types


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved