Skip to Main Content
Learn to Program with Minecraft
book

Learn to Program with Minecraft

by Craig Richardson
November 2015
Beginner to intermediate content levelBeginner to intermediate
320 pages
7h 49m
English
No Starch Press
Content preview from Learn to Program with Minecraft

4CHATTING WITH STRINGS

image

In Chapters 2 and 3, you worked with integers and floats, which are both number types. In this chapter, you’ll use another data type called strings. You can use strings to work with letters and symbols as well as numbers.

Strings help you display data to people using your programs—an important part of programming. Using strings, you can to tell Python to output data to the screen, which displays and communicates information to the user.

With Minecraft you can use strings in various places, such as posting messages to the chat, which is a way of communicating with other players when you are in multiplayer mode. Although posting ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Minecraft Modding For Kids For Dummies

Minecraft Modding For Kids For Dummies

Sarah Guthals, Stephen Foster, Lindsey Handley
Minecraft Modding with Forge

Minecraft Modding with Forge

Aditya Gupta, Arun Gupta
Adventures in Minecraft, 2nd Edition

Adventures in Minecraft, 2nd Edition

David Whale, Martin O'Hanlon

Publisher Resources

ISBN: 9781457198823Errata Page