I have used this code and I've got weird answer!! Why this happened?
i=1 While i<=5: print (i) i+= 0.05
Read this documentation, it will answer your question. https://docs.python.org/3/tutorial/floatingpoint.html
Hi! what exactly answer did you receive and what result do you expect? I launched your program and it works great. really I fixed a little mistake you made
What about while instead of While?
this could happen accidentally, the capital letter was formed when copying the code. most likely, the interrogator had in mind the result. he surprised him