Saved Bookmarks
| 1. |
Write the output of the following code# !/usr/bin/pythonstr = “this is string example….wow!!!”;print str.zfill(40);print str.zfill(50); |
|
Answer» On compiling and running the above program, this will produce the following result : OOOOOOOOthis is string example….wow!!! 000000000000000000this is string example…. wow!!! |
|