Why does entering the expression 011 evaluate to 9?
and 0111 = 73, 01111 = 585, and so on.
jwjazz
0
Newbie Poster
Recommended Answers
Jump to PostYou figured it out!
print 011 # --> 9 (the denary for octal 011) print 0xff # --> 255 (the denary of hex ff)
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.