program to convert byte to KB in python class 11
Answers
Answered by
1
Language:
Python
Program:
byte=int(input("Enter the number of bytes: "))
KB=byte/1024
print(f"{byte} bytes equals {KB} KB.")
Output:
Consider the attachment.
Logic:
- 1 KiloByte= 1024 Byte.
Attachment:
Attachments:
Similar questions