First Print Not showing | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

First Print Not showing

I know there is a syntax error in the second print but why the output of first print is not showing? Here is the code: https://code.sololearn.com/cgi6DDaP8Pzt/#py

19th Jun 2020, 2:00 PM
Joy Karmoker
5 Answers
+ 2
It will definitely would not show the first print because you already made an error for the whole program. It was not just like HTML which has the ability to ignore errors (in Sololearn) but try this: Remove the second program and see what happens. Thanks also for your question and happy coding.
19th Jun 2020, 2:11 PM
James Clark I. Vinarao
James Clark I. Vinarao - avatar
+ 2
Fา‰Rา‰Oา‰Nา‰Tา‰ ๐Ÿ”š& ๐Ÿ”™๐Ÿ”š/ ๐”ธ๐•ฃ๐••๐•ฆ๐•š๐•Ÿ๐•  Lover He already knows that he has a syntax error.
19th Jun 2020, 2:19 PM
James Clark I. Vinarao
James Clark I. Vinarao - avatar
+ 2
Fา‰Rา‰Oา‰Nา‰Tา‰ ๐Ÿ”š& ๐Ÿ”™๐Ÿ”š/ ๐”ธ๐•ฃ๐••๐•ฆ๐•š๐•Ÿ๐•  Lover, What I want to say is that all of your statements is right. But he already said that he has a syntax error which is the error at the second print. His problem that he is elaborating is why the output of first print is not showing and not on how to fix the problem of the second print.
20th Jun 2020, 1:35 AM
James Clark I. Vinarao
James Clark I. Vinarao - avatar
+ 1
Error is in line 10 you need to enclose the string in single quote '' to declare the. String print('z')
19th Jun 2020, 2:14 PM
Ayush Kumar
Ayush Kumar - avatar
0
Hay James Clark I. Vinarao what you want to say . Please make it more clear
19th Jun 2020, 4:07 PM
Ayush Kumar
Ayush Kumar - avatar