help me with this code...!!!! | SoloLearn: Learn to code for FREE!

+4

help me with this code...!!!!

here is my another typing speed test code....working fine..but raising one error which i m not getting..help me with this..! https://code.sololearn.com/c6wMCxw6Q79J/#py kindly help me to remove this error..!

10/21/2020 2:59:57 PM

Srishti

14 Answers

New Answer

+6

the timing will be wrong, the programme will take the time it took to receive the text ‘a very short time’ and the typing speed will be rediculisly fast.

+4

The ide used in sololearn doesn't allow you to get inputs more than once. So you can run your code by typing each word on separate lines: empty string or not Whatever not Whatever empty string now your program should work.

+3

The sololearn interpreter isn’t interactive, so I dont think this will work.

+2

Srishti you need to put it inside while loop

+2

Your code is fine. It's just with the SOLOLEARN playground. It takes input at once whereby each input is separated by a newline character "\n"

+1

Enter something: This line belongs to the while condition This line for the body of the loop This line for the while This line for the body And so on When you reach the while condition line, enter nothing and press submit. Hope you get it.

0

So is there any way to make it work?

0

QTWizard I am doing the same..!! but then also not working..

0

While str... will break if you enter an empty string. so you need to figure out when the word much the while string.

0

Ananiya Jemberu What does tht mean?? it's runnning in the while loop only..

0

Abdulaziz_albusaidi that's true.

0

-3

https://code.sololearn.com/WX0N8OTfEpsF/?ref=app