0

When I upload the program it does not take output it diplays tha "look like your program need output"

Python https://code.sololearn.com/coXh5m4wLX30/?ref=app

16th May 2023, 5:23 AM
Chaitanya shimpi
Chaitanya shimpi - avatar
4 Respuestas
+ 6
Chaitanya shimpi nothing wrong with your code...it is working ... Toss() function is called two times...it seems a error... Call the toss() function one time
16th May 2023, 5:39 AM
Riya
Riya - avatar
+ 6
Run this code to understand how to provide input for our codes in Playground https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
16th May 2023, 5:44 AM
Ipang
+ 4
Here are few errors i am making.One ks the random module import statement should be placed at the beginning of the code, outside the Toss() function. Secondly, the conversion of T to a string using str() is unnecessary, as it is already a string. Lastly, the comparison between Y and T may not work correctly due to case sensitivity,instead this you can use the upper() method to convert both Y and T to uppercase for consistent comparison. Check This Out: https://code.sololearn.com/cCx832jtV2NI/?ref=app
17th May 2023, 6:21 AM
Vibhor
Vibhor - avatar
0
Plz send me solution
16th May 2023, 5:23 AM
Chaitanya shimpi
Chaitanya shimpi - avatar