Advertisement
Guest User

Untitled

a guest
Jan 17th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. first = int(input('Enter leftmost digit: '))
  2. second = int(input('Enter the next digit: '))
  3. third = int(input('Enter the next digit: '))
  4. fourth = int(input('Enter the next digit: '))
  5.  
  6. # How do I make the numbers inputted above, be turned into a value?
  7. binary = first, second, third, fourth
  8.  
  9. print('The value is', binary)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement