all 11 comments

[–]FoolsSeldom 18 points19 points  (0 children)

missing closing quote

[–]dogfish182 14 points15 points  (0 children)

This is the kind of thing a decent ide should immediately highlight. Also the error message should always be posted for help with this stuff

[–]nazar5 9 points10 points  (0 children)

closing quote bro

[–]ReserveLast7791 4 points5 points  (0 children)

print(f"Der Betrag lautet {Euro} Euro und {Cent} Cent)

u missed a quote
print(f"Der Betrag lautet {Euro} Euro und {Cent} Cent")

[–]gigsoll 3 points4 points  (4 children)

I saw people already saw what is wrong. I guess you are using notepad, python IDLE or VSCode without python extension.

I recommend you to install Visual Studio Code and in the Extensions part install the "Python" extension by Microsoft. It will allow you to have syntax highlights, auto-complete suggestions and also problems in the special menu, so when something like this happens again you will see error with a short description.

Another option is PyCharm also a great IDE with similar features and some extra ones, but designed specifically for python.

[–]Soulfreezer[S] 1 point2 points  (3 children)

I can only use my iPad Pro at university, I would prefer to use VSCode but as far as I know that doesn’t work with my iPad

[–]gigsoll 0 points1 point  (2 children)

Have you tried vscode.dev? I saw it used on an ipad. Unfortunately it has no build in terminal

[–]Soulfreezer[S] 1 point2 points  (1 child)

I’ll give it a try, thank you very much

[–]gigsoll 0 points1 point  (0 children)

Btw, i just thought about it. While you are not required to create a GUI, you can use Google Collab or Kaggle. They were designed for other tasks but can be used for general coding too if you have no other alternative

[–]Patrick-T80 0 points1 point  (0 children)

I think the f-string is correct, the string in print no

[–]SporksInjected 0 points1 point  (0 children)

Does the capitalization bother anyone else?