In the code I wrote in Python, TypeError str expression appears. The code I wrote is:
harfler = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","v","y","z","q","w","x"]
kackarakter = int(input("How Many Letters Do You Want ?:"))
print('("My WordPress Blog")', + random.choice(harfler) * kackarakter)
Result: TypeError: bad operand type for unary +: 'str' How Can I Solve?
Aucun commentaire:
Enregistrer un commentaire