Write the output of the following code.
# !/usr/bin/python
str = “this2009”; # No space in this string print str.isalnum( );
str = “this is string example….wow!!!”;
print str.isalnum( );
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
You must login to ask a question.
You must login to add post.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Write the output of the following code.
# !/usr/bin/python
str = “this2009”; # No space in this string print str.isalnum( );
str = “this is string example….wow!!!”;
print str.isalnum( );
Write the output of the following code.
# !/usr/bin/python
str = “this2009”; # No space in this string print str.isalnum( );
str = “this is string example….wow!!!”;
print str.isalnum( );
Write the output of the following code
# !/usr/bin/python
str = “this is string example….wow!!!”;
print str.zfill(40);
print str.zfill(50);
Write the output of the following code
# !/usr/bin/python
str = “this is string example….wow!!!”;
print str.zfill(40);
print str.zfill(50);
On compiling and running the above program, this will produce the following result :
OOOOOOOOthis is string example….wow!!! 000000000000000000this is string
example…. wow!!!
This is string example …wow!!!000000000000000000
The following code is-
True False