+ 1

How to convert string in class to int

print(" These are my favourite " + self.ages)

23rd Jun 2018, 7:32 PM
Ghaffar Jr Adeyemi
Ghaffar Jr Adeyemi - avatar
3 Respostas
+ 4
are you asking in java
23rd Jun 2018, 8:00 PM
कामेश
कामेश - avatar
+ 2
print("These are my favourite " + str(self.ages))
23rd Jun 2018, 8:00 PM
Paul Grasser
Paul Grasser - avatar
23rd Jun 2018, 8:01 PM
Ghaffar Jr Adeyemi
Ghaffar Jr Adeyemi - avatar