You are viewing a single comment's thread. Return to all comments →
for i in range(1,number+1): print(i,oct(i).replace("0o", ""),hex(i).replace("0x", ""),bin(i).replace("0b", ""))
Seems like cookies are disabled on this browser, please enable them to open this website
String Formatting
You are viewing a single comment's thread. Return to all comments →
for i in range(1,number+1): print(i,oct(i).replace("0o", ""),hex(i).replace("0x", ""),bin(i).replace("0b", ""))