ch
Feedback

不要被骗子欺骗!Telemetrio 会找到并标记这些频道 👉 如果想查看标记,请订阅

Coding Quiz Zone

Coding Quiz Zone

前往频道在 Telegram

✨ Part Of @OfficialCodingExpert Dive into the world of computer science, programming, and coding challenges. Sharpen your skills, expand your knowledge, and embark on a journey of continuous learning. Stay tuned for daily quizzes!

显示更多
1 550
订阅者
无数据24 小时
无数据7 天
无数据30 天
帖子存档
What will be the output of the following Python code? D=dict(p='san', q='foundry') '{p}{q}'.format(**D)
Anonymous voting

What will be the output of the following Python code? '{a}{b}{a}'.format(a='hello', b='world')
Anonymous voting

The output of the two codes shown below is the same. i. bin((2**16)-1) ii. '{}'.format(bin((2**16)-1))
Anonymous voting

What will be the output of the following Python code? hex(255), int('FF', 16), 0xFF
Anonymous voting

The formatting method {1:<10} represents the ___________ positional argument, _________ justified in a 10 character wide field.
Anonymous voting

What will be the output of the following Python code?
Anonymous voting

l=list('HELLO')
p=l[0], l[-1], l[1:3]
'a={0}, b={1}, c={2}'.format(*p)

What will be the output of the following Python code?
Anonymous voting

l=list('HELLO')
'first={0[0]}, third={0[2]}'.format(l)

The output of the two codes shown below is the same. i. '{0:.2f}'.format(1/3.0) ii. '%.2f'%(1/3.0)
Anonymous voting

What will be the output of the following Python code? '%x %d' %(255, 255)
Anonymous voting

What will be the output of the following Python code? '{0:.2f}'.format(1.234)
Anonymous voting

What will be the output of the following Python code? '{a}, {0}, {abc}'.format(10, a=2.5, abc=[1, 2])
Anonymous voting

What will be the output of the following Python code?
Anonymous voting

t = '%(a)s, %(b)s, %(c)s'
t % dict(a='hello', b='world', c='universe')

What will be the output of the following Python code?
Anonymous voting

s='%s, %s & %s'
s%('mumbai', 'kolkata', 'delhi')

What will be the output of the following Python code?
Anonymous voting

s='{0}, {1}, and {2}'
s.format('hello', 'good', 'morning')

What will be the output of the following Python code snippet?
Anonymous voting