0
When I upload the program it does not take output it diplays tha "look like your program need output"
4 Antworten
+ 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
+ 6
Run this code to understand how to provide input for our codes in Playground
https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
+ 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
0
Plz send me solution