Python Trouble

0 Connor O'Shea · September 10, 2016
Every time I try to run this simple code I get an error message. Please let mek now what I'm doing wrong. Thank you.

print{'Connor'}

/images/forum/upload/2016-09-05/a85f7fc74a4ace723c485824bd2e1e52.JPG

Post a Reply

Replies

Oldest  Newest  Rating
+1 C0D3 VVRIT3R · September 14, 2016
it's not 
print{"Something"}

The correct syntax is :
print("Something")

These are VERY basic things that u can easily google them
+1 Nidhi panchal · October 2, 2016
You have given it braces, while what we want to print should be under round brackets()
for e,g:- print ( "Terry" )  is valid syntax.
  • 1

Python

131,042 followers
About

This section is all about snakes! Just kidding.

Links
Moderators
Bucky Roberts Administrator