G
G
GeloBer2021-04-05 15:33:16
Python
GeloBer, 2021-04-05 15:33:16

How to remove underlining from some titles in PyCharm?

606b0358c3466374220112.png

I decided to create a project in PyChram, wrote all the names and got this, can you tell me how to remove it or what's the problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
bbkmzzzz, 2021-04-05
@GeloBer

where is the sequel? The IDE quite naturally swears at incorrect syntax and other errors, this is one of its functions. Complete the syntactic construction, the underline disappears

def F(n):
    pass

PS It is customary to give names to functions / methods with a small letter, separating words with a subscript dash, class names - CamelCase

A
Antonio Solo, 2021-04-05
@solotony

if you write without errors, then there will be no red underline

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question