Zero bytes

Report a typo

Read the integer number from the input. Create a bytes object of the length equal to the specified integer filled with zero bytes and print it.

Sample Input 1:

3

Sample Output 1:

b'\x00\x00\x00'
Write a program in Python 3





___

Create a free account to access the full topic