How to do dis? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to do dis?

How can i do this(this should be the output page)? 32 is the answer I can't figure it out. Help please! If this question is done b4 pls lemme know.

18th Mar 2021, 6:25 PM
Shubhadeep Saha
Shubhadeep Saha - avatar
9 Answers
+ 1
I believe you may say that you want to print the number 32, or whatever you want to do with it, but you don't want it to be a type integer. If this is not what you mean, please correct me, but if it is, here is what I suggest: firstly, if your trying something and isn't working, try doing type() of whatever you want in the parentheses, and it will tell you what type of text you have got. If you just want to know how to print 32 as string, you can do print(str(32)), as this will convert it to string. Hope this helps (and please tell me if I have got the wrong idea of what your question is!).
18th Mar 2021, 7:45 PM
Kamil Hamid
Kamil Hamid - avatar
+ 1
Your question is incomplete I think write it in clear way
18th Mar 2021, 6:48 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
Shubhadeep Saha you can write this - print(f'{b} Degree Fahrenheit') Instead of line 6, 7 and 8.
19th Mar 2021, 7:06 AM
Scarlet Witch
Scarlet Witch - avatar
+ 1
BTW that was also right but you can write short
19th Mar 2021, 7:10 AM
Scarlet Witch
Scarlet Witch - avatar
0
I just want to print some text beside an integer
18th Mar 2021, 7:34 PM
Shubhadeep Saha
Shubhadeep Saha - avatar
19th Mar 2021, 5:21 AM
Shubhadeep Saha
Shubhadeep Saha - avatar
0
In here i wanna paste the text beside my answer
19th Mar 2021, 5:21 AM
Shubhadeep Saha
Shubhadeep Saha - avatar
0
But how
19th Mar 2021, 5:22 AM
Shubhadeep Saha
Shubhadeep Saha - avatar
0
Um.. my -3iq brain got sumthing else
19th Mar 2021, 7:09 AM
Shubhadeep Saha
Shubhadeep Saha - avatar