4 votes
110 views
in Max Juicebox World by ⚗️ Conjurer (16.9k points)

Python is a coding language learned by many around the world. Heres how you use it!

First thing, print().

Print(27)

27

The blue text is the output. The output is what comes out of the code you wrote. As you can see, when you put something in the parentheses after print, it puts it in the output.

Lets try text!

print(Coding is fun!)

  File "/home/repl284/main.py", line 1
    print(Coding is fun!)
                                       ^
SyntaxError: invalid syntax

As you can see, this provided an error. Lets run it back, but put quotes around the text.

 print("Coding is fun!")

Coding is fun!

This is because Coding is fun is text. This means it is a string. The reason why the number worked without quotes is because it is an integer/number. Heres the classes of text:

  • String
  • Integer
  • Float

1 Answer

0 votes
by 🌙 Enchanter (441k points)
oooh coding seems cool

Categories

Related questions

5 votes
1 answer 137 views
asked Jan 1 in Max Juicebox World by maxjuiceboxcore ⚗️ Conjurer (16.9k points)
4 votes
1 answer 129 views
asked Jan 1 in Max Juicebox World by maxjuiceboxcore ⚗️ Conjurer (16.9k points)
3 votes
1 answer 115 views
asked Jan 1 in Max Juicebox World by maxjuiceboxcore ⚗️ Conjurer (16.9k points)
11 votes
3 answers 392 views
7 votes
3 answers 463 views
asked Apr 28, 2025 in Technology by A fungi 🃏 Illusionist (12.1k points)
8 votes
1 answer 273 views
asked Dec 20, 2024 in Other by anonymous
7 votes
1 answer 266 views
asked Dec 19, 2024 in Other by anonymous
5 votes
4 answers 945 views
7 votes
3 answers 778 views
5 votes
1 answer 797 views
asked Jul 19, 2022 in Computer Club by Basha ✨ Charmer (9.2k points)
6 votes
3 answers 525 views
asked Jul 18, 2022 in Computer Club by Basha ✨ Charmer (9.2k points)
3 votes
2 answers 110 views
2 votes
0 answers 39 views
14 votes
1 answer 641 views
asked Apr 18, 2021 in Technology by Me and My Ideas
6 votes
0 answers 74 views
3 votes
1 answer 127 views
2 votes
1 answer 211 views
5 votes
2 answers 137 views
asked Dec 30, 2025 in Max Juicebox World by maxjuiceboxcore ⚗️ Conjurer (16.9k points)
17 votes
2 answers 804 views
5 votes
1 answer 314 views
asked May 16, 2023 in Homework Help by anonymous
4 votes
2 answers 255 views
asked Oct 18, 2022 in Homework Help by Vxnfdj:
...