Byte Size of String | Challenge

# Introduction In Python, a string is a sequence of characters. Each character in a string takes up a certain amount of memory. The amount of memory taken up by a string is known as its byte size. In this challenge, you will write a function that takes a string as input and returns its byte size.

|
60 : 00

Click the virtual machine below to start practicing