Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



 1096

How to print something in Python (2 Ways/Methods)

by MuddyKid - 19 April, 2022 - 12:26 AM
This post is by a banned member (MuddyKid) - Unhide
MuddyKid  
Registered
176
Posts
15
Threads
3 Years of service
#1
1. Using Variables.

e.g.

1a = "Hello, World!"

print(1a)

The output would be

-- "Hello, World!"

as we have declared the variable to be that string of text.  Hackerman


Step 2. Using Regular Strings

Print("Hello, World!")

The output would be

-- "Hello, World!" 

as this time although we did not use a string variable to put text in the output, it does not have to be used by variables, this is "Hello, world!" (Hello, World!) just alone as a text-string.  sheepe


I hope that you enjoyed this very useful tutorial!!!...  kek It took me only like 2 minutes to make...!!!  PepeGlad
This post is by a banned member (CoolC0der) - Unhide
This post is by a banned member (MuddyKid) - Unhide
MuddyKid  
Registered
176
Posts
15
Threads
3 Years of service
#3
(19 April, 2022 - 12:27 AM)CoolC0der Wrote: Show More
heckerman

Yes, i'm fr the best coder in the entire world now.  monkayes
In case of an investigation by any federal entity or similar, I do not have any involvement with this group or with the people in it, I do not know how I am here, probably added by a third party, I do not support any actions by the member(s) of this group. All content posted by user @MuddyKid either via a post or thread is purely for educational and entertainment purposes. 
This post is by a banned member (UberFuck) - Unhide
UberFuck  
Godlike
1.557
Posts
375
Threads
5 Years of service
#4
(19 April, 2022 - 12:26 AM)MuddyKid Wrote: Show More
Step 2. Using Regular Strings

Print("Hello, World!")

LOL...I see an uncaught exception in somebody's future.
This post is by a banned member (MuddyKid) - Unhide
MuddyKid  
Registered
176
Posts
15
Threads
3 Years of service
#5
(19 April, 2022 - 06:40 AM)foxegado Wrote: Show More
(19 April, 2022 - 12:26 AM)MuddyKid Wrote: Show More
Step 2. Using Regular Strings

Print("Hello, World!")

LOL...I see an uncaught exception in somebody's future.
i saw what i did lol  lol2
In case of an investigation by any federal entity or similar, I do not have any involvement with this group or with the people in it, I do not know how I am here, probably added by a third party, I do not support any actions by the member(s) of this group. All content posted by user @MuddyKid either via a post or thread is purely for educational and entertainment purposes. 

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)