Python, How to remove gaps between text and variable?

Your string formating is wrong.

print('Random IP = "{}.{}.{}.{}"'.format(randomnum, randomnum4, randomnum3, randomnum4))

Browse More Popular Posts

Leave a Comment