Why it show error? Please help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why it show error? Please help

A='gdd' B='575' print (5*A'B')

8th Feb 2024, 3:19 PM
Nikhil Yadav
Nikhil Yadav - avatar
2 Answers
+ 2
What are you trying to do? A'B' is invalid syntax.
8th Feb 2024, 3:23 PM
Lisa
Lisa - avatar
0
try using this A='gdd' B='575' print ((A+B)*5)
10th Feb 2024, 5:13 AM
Liam Park
Liam Park - avatar