- 1
Good morning sir. I want to display return print in variable. I have two arguments in print function. variable set to none. Than
Result print set to none. https://code.sololearn.com/cv80ZzWuJ82B/?ref=app
4 Answers
+ 4
Malick Diagne ,
we can use f-string like this instead of print:
print ("hello","world")
variable = f"malick","diagne"
print (variable )
+ 1
Your question is not clear but I hope this helps
https://code.sololearn.com/ceE822V7NoLi/?ref=app
+ 1
Malick Diagne
print function doens't return anything. So it is returning None
+ 1
Please always tag the language you're asking about.
https://code.sololearn.com/W3uiji9X28C1/?ref=app