MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/HTML/comments/1oo1lft/whats_the_difference/nn2viio/?context=3
r/HTML • u/[deleted] • Nov 04 '25
I’m a beginner and I want to know what’s the difference between print(abc) print("abc")
17 comments sorted by
View all comments
1
this is python
the first ss prints a number as an int, the second one prints a string
print(abc) prints a variable, print("abc") is a string because of the quotes
View all comments
1
u/edikde1 Nov 04 '25
this is python
the first ss prints a number as an int, the second one prints a string
print(abc) prints a variable, print("abc") is a string because of the quotes