Code with Abel


Channel's geo and language: Ethiopia, English
Category: Technologies


For Advertising & Comments: @AbelAdvertBot
Get all the resources you need to master programming
YouTube channel: https://www.youtube.com/@code-with-abel


Channel's geo and language
Ethiopia, English
Statistics
Posts filter


Which function is called when the above Python program is executed?
Poll
  •   str()
  •   format()
  •   __str__()
  •   __format__()
1 votes


f = foo()
format(f)




What will be the output of the above Python statement?
Poll
  •   bc
  •   abc
  •   a
  •   bca
16 votes


"a"+"bc"




What will be the output of the above Python code snippet?
Poll
  •   4 3 2 1
  •   error
  •   1 2 3 4
  •   none of the mentioned
15 votes


for i in [1, 2, 3, 4][::-1]:
print (i)




JavaScript Tutorial for Beginners 2023 | Comprehensive 1-Hour Lesson
https://youtu.be/YX648AcKjR4


What is the order of namespaces in which Python looks for an identifier?
Poll
  •   Searches the built-in namespace, then the global namespace and finally the local namespace
  •   Searches the built-in namespace, then the local namespace and finally the global namespace
  •   Searches the local namespace, then the global namespace and finally the built-in namespace
  •   Searches the global namespace, then the local namespace and finally the built-in namespace
10 votes




What will be the output of the above Python function?
Poll
  •   Error
  •   6
  •   4
  •   3
18 votes


len(["hello",2, 4, 6])




Which of these is the definition for packages in Python?
Poll
  •   A set of main modules
  •   A folder of python modules
  •   A number of files containing Python definitions and statements
  •   A set of programs making use of Python modules
11 votes




What will be the output of the above Python expression if x=56.236?
Poll
  •   56.236
  •   56.23
  •   56.0000
  •   56.24
14 votes


print("%.2f"%x)


Information_Security_Policies,_Procedures,_and_Standards_A_Practitioners.pdf
4.9Mb
Information Security Policies, Procedures, and Standards

20 last posts shown.