I need to print equation with answer on the same line. How? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I need to print equation with answer on the same line. How?

Print(5**2) #that's given. Need answer printed with equation same line

5th Feb 2019, 5:01 PM
Alicia
8 Answers
+ 1
I will try that. It looks right
5th Feb 2019, 5:19 PM
Alicia
+ 1
Yeah. It works perfect. Thanks
5th Feb 2019, 5:27 PM
Alicia
+ 1
Ok. That makes better sense to me now. Ur good! How long u been coding? It's so challenging for me. But really enjoying this
5th Feb 2019, 11:06 PM
Alicia
0
Just a question. We add str to convert it from int to string? still learning this. it can get so confusing when to put certain things. I was putting+= and=+ and getting errors.
5th Feb 2019, 10:27 PM
Alicia
0
I'm really starting to get into it. Think about it from morning till night. I'm still very new to this though but really wanted to do something challenging. And it's starting to make more sense to me now.
12th Feb 2019, 1:47 AM
Alicia
0
Do you know other languages other than python?
12th Feb 2019, 1:48 AM
Alicia
0
Wow. Impressive. Well python is my first and I hope not my last
12th Feb 2019, 1:54 AM
Alicia
0
Do u think python is a good place to start?
12th Feb 2019, 1:54 AM
Alicia