Im having trouble actually printing out a code I don’t understand why it’s always showing up with a error for example | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Im having trouble actually printing out a code I don’t understand why it’s always showing up with a error for example

I want to type in hello world. This is how I’ll do it File = (“hello world”) Print = (File) Then a error message but I don’t understand why ? Please help

21st Jun 2023, 10:28 AM
Benjamin White
7 Answers
+ 4
Benjamin White , your questiom seems to be incomplete. the post should include: > the programming language (to be placed in tags) > a clear task description with input / output sample > a link that points to your code try > a description what exactly your issue is, (if possible including an error message)
21st Jun 2023, 11:01 AM
Lothar
Lothar - avatar
+ 2
Please link your code instead of pasting it into description. 1. Check the quotation marks: We need the standard one for strings, not other quotation marks, " " 2. Look up again how to use the print() function and how it is spelt.
21st Jun 2023, 10:47 AM
Lisa
Lisa - avatar
+ 1
Benjamin White What programming language are you using? Have you tried finishing the corresponding course first?
21st Jun 2023, 12:58 PM
Евгений
Евгений - avatar
0
How would i post it ?
21st Jun 2023, 11:44 AM
Benjamin White
0
And i dont know if im using the right ones its “ these right ?
21st Jun 2023, 11:46 AM
Benjamin White
0
Just made it public it isnt giving me no output?
21st Jun 2023, 11:49 AM
Benjamin White
0
Look up again how to use the print() function. The print() is not a variable, it does not have a "=". If you want to print the value of the variable, remove the "" from file.
21st Jun 2023, 12:21 PM
Lisa
Lisa - avatar