SyntaxFix
Write A Post
Hire A Developer
Questions
You can convert it to a string, and then to an int:
print(int("".join(str(x) for x in [7,7,7,7])))