Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions pbin-advanced.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

print("\n\n\tPoint to be noted:-\n\tDont use spaces in the text it will show error use underscore ( _ ) instead")

l = []
text = input("\n\n\n\tEnter the text here : ")
for character in text:
l.append(ord(character))


nl = []
for num in l:

nl.append(bin(num))

final = " ".join(nl)


print(f"\n\n\nHere is your Binary code : {final} \n\n\n")
print("For Linux users:- To coppy the code just press ctrl + shift + c")
print("For Windows users:- To coppy the code just press ctrl + c")
print("\nMade By @Eruptedlava\n")