Im doing some python tutorials rn and I notice that they show breaking functions into several lines of code, requiring variables that are stored, stuff like
x = int(input('password'))
Y=hash(x)
Print(y)
Rather than print(hash(int(input('password')))), which stores no variables, I think I prefer it that way.
One is a lot more readable and maintainable and likely doesn't give you any performance benefits
Please Login to reply.
No replies yet.