why does print(str()) and print(type()) does not return anything | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

why does print(str()) and print(type()) does not return anything

i putted in int(input()) in random.randint argument. see code below this does not work: https://code.sololearn.com/cHyi7TLA2MNk/?ref=app putting int(input()) in external variable also does not help: https://code.sololearn.com/c2oUE2BD2Lg9/?ref=app

5th Dec 2019, 8:27 AM
Adam Bernat
Adam Bernat - avatar
3 Answers
+ 5
That's now how you print. What you're doing is entirely replacing the print object.
5th Dec 2019, 8:31 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
5th Dec 2019, 8:37 AM
Adam Bernat
Adam Bernat - avatar
0
jeez. how a stupid mistake. thanks
5th Dec 2019, 8:33 AM
Adam Bernat
Adam Bernat - avatar