Examveda

What will be the output of the following Python code snippet?
print('ab'.zfill(5))

A. 000ab

B. 00ab0

C. 0ab00

D. ab000

Answer: Option A


This Question Belongs to Python Program >> Strings In Python

Join The Discussion

Related Questions on Strings in Python