#Ignatius Michael Liondy - 2017730007

import socket

TCP_IP = '127.0.0.1'
TCP_PORT = 5005
BUFFER_SIZE = 1024

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((TCP_IP, TCP_PORT))
number = input("Masukkan angka 1-1000:\n")
s.send(bytes(str(number), 'utf8'))
data = s.recv(BUFFER_SIZE)
s.close()

print("Terbilang: ", data.decode())

2b7b1c354c318b2543acb4d96d6da7c60a63e581
<mask token>

<mask token>
s.connect((TCP_IP, TCP_PORT))
<mask token>
s.send(bytes(str(number), 'utf8'))
<mask token>
s.close()
print('Terbilang: ', data.decode())

<mask token>
TCP_IP = '127.0.0.1'
TCP_PORT = 5005
BUFFER_SIZE = 1024
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((TCP_IP, TCP_PORT))
number = input('Masukkan angka 1-1000:\n')
s.send(bytes(str(number), 'utf8'))
data = s.recv(BUFFER_SIZE)
s.close()
print('Terbilang: ', data.decode())

import socket
TCP_IP = '127.0.0.1'
TCP_PORT = 5005
BUFFER_SIZE = 1024
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((TCP_IP, TCP_PORT))
number = input('Masukkan angka 1-1000:\n')
s.send(bytes(str(number), 'utf8'))
data = s.recv(BUFFER_SIZE)
s.close()
print('Terbilang: ', data.decode())

#Ignatius Michael Liondy - 2017730007

import socket

TCP_IP = '127.0.0.1'
TCP_PORT = 5005
BUFFER_SIZE = 1024

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((TCP_IP, TCP_PORT))
number = input("Masukkan angka 1-1000:\n")
s.send(bytes(str(number), 'utf8'))
data = s.recv(BUFFER_SIZE)
s.close()

print("Terbilang: ", data.decode())
