Hi,
Both are data types in python, but one major difference is tuple is immutable(value cannot change) and list is mutable.tuple can be used as dictionary key but list cannot be a dictionary key.
Both the functions gives same output
str(18) '18'
repr(18) '18'
What differences these two functions have in term of functionality and in whic scenarios these two functions are used ?
Both the functions are used to take user inputs but how to decide which one to use ?