How to get numerical value in the following? | SoloLearn: Learn to code for FREE!

0

How to get numerical value in the following?

y=5 print('y'*3)

12/11/2017 12:48:04 PM

S Sh

9 Answers

New Answer

+1

y=str(5) print(y*3)

+1

thanx incredible

0

output in that case=15 but I want 555

0

No problem james

0

https://code.sololearn.com/cyI7qcZUkUJJ/?ref=app Now what in this case?

0

is it possible to get str value and numerical value in same code??

0

thanx it worked