Welcome to www.qatutorials.com!!!!
      
      
Question Answer Tutorial Search
Home Search Add Question Python Basics

Core Data Types

String List Mock Test Contact Feedback
Home
Search
Add Question
Python
Basics

Core Data Types

String
List
Mock Test
Subscribe/Unsubscribe
Email:
Social Media
Facebook

Misc Tutorials

References

Question and Answer Tutorial
Tutorials Point
Stack Overflow

Question Answer Tutorial - Python->Core Data Types

First Previous 1 2 3 Next Last
Question: What are different Keywords in Python?
Answer: Keywords are special reserved words which convey a special&n
bsp;meaning to the compiler/interpreter. Each/>keyword have a special meaning and a specific operation.&n
bsp;List of Keywords used in Python are:/> />/>/>/>/>
TrueFalseNoneandas
assetdefclasscontinuebreak
elsefinallyelifdelexcept
globalforiffromimport
raisetryorreturnpass
nonlocalinnotislambda

Question: Which of these in not a core datatype?
Answer: Class
                        
Question: Given a function that does not return any value, What value is thrown by default when executed in
shell.
Answer: None
Question: Following set of commands are executed in shell, what will be the output?

>>>str="hello"
>>>str[:2]
>>>str
Answer: hello
Question: Which of the following will run without error?
Answer: round(6352.898,2)
First Previous 1 2 3 Next Last
Comment:
Name:Email:
Contact No.:
Copyright © 2014 by SBJ Group. All Rights Reserved. Developed and maintained by SBJ Group. Supported on Internet Explorer browser only