Here is the code.
Password = "Here is your password: ", UpperCase,RandomNum
print(Password)
The result is something like this.
('Here is your password: ', 'Ajar', 98)
I have tried this.
print(Password).replace(",","")
But i get this error messege.
Traceback (most recent call last):
File "/Users/Krun2810/PycharmProjects/pythonProject1/main.py", line 59, in <module>
print(Password.replace(",",""))
AttributeError: 'tuple' object has no attribute 'replace'
How do I remove ,
, )
and ` from the result?