Jan-20-2020, 08:12 PM
it should be
using f-strings (python3.6+):
https://docs.python.org/3/library/string...ing-syntax
https://pyformat.info/
print("Super, Sie haben es in ", i, "Versuchen geschafft!")however it's waaaaaaay better to use string formatting, e.g.
using f-strings (python3.6+):
print(f"Super, Sie haben es in {i} Versuchen geschafft!")or str.format() method:
print("Super, Sie haben es in {} Versuchen geschafft!".format(i))see
https://docs.python.org/3/library/string...ing-syntax
https://pyformat.info/
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs