Post

Fabien
Fabien@ImFabien·
@PythonPr Correct code is incorrect and the Incorrect code is correct.
English
0
0
47
8.1K
Grogu's Biggest Fan
Grogu's Biggest Fan@GroguFan1·
@PythonPr how is the “correct” version correct? The line print(“Correct) has an unterminated string literal
English
0
0
19
5.7K
shabi
shabi@qadrishabih_·
@PythonPr print ("Correct) --->> the " is missing in first one
English
0
0
11
9.2K
Kamal Gurjar
Kamal Gurjar@KamalGurjar8·
@PythonPr Indentation. ✅ Left: print("Correct") is outside the loop → runs once. Right: it’s inside the loop → runs every iteration. 🔁
English
5
0
6
11.8K
PyBerry Tech 🐍🍓
PyBerry Tech 🐍🍓@PyBerryTech·
@PythonPr Right one is correct 👍 Left has a missing quote → syntax error. Right has balanced quotes, so the code runs fine. 🐍💻 Left > print("Correct) Right > print("Correct")
English
0
0
4
3.7K
linox
linox@Lino_9mm·
@PythonPr as porra q eu tenho q ver
Português
0
1
2
155
VIPER3398
VIPER3398@VIPER3398·
@PythonPr The "correct" code will trigger an error.
English
0
0
3
2K
studiare
studiare@studiareCS·
@PythonPr The "Correct code" it's incorrect, because it's has print("Correct) and not print("Correct") which doesn't generate any error
English
0
0
3
4.2K
Bielespin
Bielespin@Wkwai4820_·
@PythonPr This has nothing to do with indentation, right is correct 😂
English
0
0
2
637
Sunblade
Sunblade@sunblade60·
@PythonPr The correct code is incorrect ... " is missing in the last line
English
0
0
2
4.4K
Yugandhar
Yugandhar@yugandhar_nanda·
@PythonPr Actually the "correct" tagged code here won't compile completely, it'll fail at second print due to mismatched " character.
English
1
0
2
4K
하오리 🦆📒
하오리 🦆📒@haori_notes·
@PythonPr isn’t this image wrong...?🤔 The “correct code” is missing a quotation mark, so it would actually throw an error 😭
English
0
0
1
554
Rohan Thakur
Rohan Thakur@RThakur90482·
@PythonPr Green one is incorrect a colan is missing inside bracket after t
English
0
0
1
613
Himal
Himal@himalbhattaraix·
@PythonPr In Python, text (strings) must start and end with the same quotes
English
0
0
1
301
Cam S Pumpkins
Cam S Pumpkins@JC_M_F·
@PythonPr This is just stupid. I used to follow this account, but I’m muting. It does not bring anything new or interesting lately.
English
0
0
1
336
Terrence
Terrence@terrenceeleven·
@PythonPr The incorrect code is the one that would execute without Error print("correct") vs print("correct) .@PythonPr
English
0
0
1
124
Shiv Thakur
Shiv Thakur@Shivthakur1508·
@PythonPr You have shown incorrect code as correct that is the difference
English
0
0
1
2.2K
Juan D
Juan D@JuanMiguelDi·
@PythonPr Wouldn’t the incorrect code code be correct since the print statement has full quotations?
English
0
0
0
0
Garrick
Garrick@GarrickI43·
@PythonPr One quotation mark in the bottom brackets
English
0
0
0
1
YAW AGBƐT
YAW AGBƐT@papa_payin·
@PythonPr The Correct Code is wrong while the Incorrect Code is Right because there is a missing " in the print("Correct) this will throw an error.
English
0
0
0
42
Paylaş