Change Password

What will be the output of the following Python statement?>>>print('new' 'line')
Error
Output equivalent to print ‘new\nline’
newline
new line
What arithmetic operators cannot be used with strings?
_
+
*
all of these
The output of executing string.ascii_letters can also be achieved by:
string.letters
string.ascii_lowercase_string.digits
string.lowercase_string.uppercase
string.ascii_lowercase_string.digits
What will be the output >>>"abcd"[2:]
a
ab
cd
dc
What is the output >>>"a"+"bc"
a
bc
bca
abc
Which options are correct to create an empty set in Python?
()
empty set
set()
{}
To start Python from the command prompt, use the command ______
execute python
run python
python
exe python
________ is a simple but incomplete version of a function.
Stub
Function
Function Header
Recursive function
Which module in Python supports regular expressions?
re
regex
reg
none of these
Given a function that does not return any value, what value is shown when executed at the shell?
int
bool
void
none
No Course found
General Info
SS Teach us
9626660158
xpsangeetha@gmail.com
No website url
Individual
Page Info
01 Jan, 1970
No about
Interests
Location
No address
SS Teach us
sangeetha
Gallery is currently empty
No reviews yet!
What will be the output of the following Python statement?>>>print('new' 'line')
Error
Output equivalent to print ‘new\nline’
newline
new line
What arithmetic operators cannot be used with strings?
_
+
*
all of these
The output of executing string.ascii_letters can also be achieved by:
string.letters
string.ascii_lowercase_string.digits
string.lowercase_string.uppercase
string.ascii_lowercase_string.digits
What will be the output >>>"abcd"[2:]
a
ab
cd
dc
What is the output >>>"a"+"bc"
a
bc
bca
abc
Which options are correct to create an empty set in Python?
()
empty set
set()
{}
To start Python from the command prompt, use the command ______
execute python
run python
python
exe python
________ is a simple but incomplete version of a function.
Stub
Function
Function Header
Recursive function
Which module in Python supports regular expressions?
re
regex
reg
none of these
Given a function that does not return any value, what value is shown when executed at the shell?
int
bool
void
none
SS Teach us
sangeetha