What went wrong in this code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What went wrong in this code?

During your math class, you are given a task to calculate the perimeter of a circle. You decide to write a small program that will take the radius as input, and will calculate and print the perimeter for you. The value for π (pi) is already defined. Sample Input 4 Sample Output 25.12 https://code.sololearn.com/cVa0RpLetLSN/?ref=app

17th Aug 2021, 1:51 PM
N CHENDRASHEKAR
N CHENDRASHEKAR - avatar
4 Answers
+ 5
It's not necessary to add extra informations in your solution. https://code.sololearn.com/c0XIN54OP1uN/?ref=app
17th Aug 2021, 3:03 PM
Simba
Simba - avatar
+ 1
It is working for me when i input 4 it give me 25.12 as output
17th Aug 2021, 1:57 PM
Pariket Thakur
Pariket Thakur - avatar
+ 1
What problem are u facing
17th Aug 2021, 2:40 PM
Pariket Thakur
Pariket Thakur - avatar
0
HrCoder It's showing "Uh oh! Make sure you check your code carefully" and "Try again"
17th Aug 2021, 3:28 PM
N CHENDRASHEKAR
N CHENDRASHEKAR - avatar