Remove Ad, Sign Up
Register to Remove Ad
Register to Remove Ad
Remove Ad, Sign Up
Register to Remove Ad
Register to Remove Ad
Signup for Free!
-More Features-
-Far Less Ads-
About   Users   Help
Users & Guests Online
On Page: 1
Directory: 93
Entire Site: 10 & 935
Page Staff: pokemon x, pennylessz, Barathemos, tgags123, alexanyways, supercool22, RavusRat,
04-24-24 12:12 AM

Forum Links

Related Threads
Coming Soon

Thread Information

Views
503
Replies
0
Rating
0
Status
CLOSED
Thread
Creator
Blubcreator
02-09-14 12:18 PM
Last
Post
Blubcreator
02-09-14 12:18 PM
Additional Thread Details
Views: 305
Today: 0
Users: 0 unique

Thread Actions

Thread Closed
New Thread
New Poll
Order
 

Lets Learn Python

 

02-09-14 12:18 PM
Blubcreator is Offline
| ID: 975372 | 329 Words

Blubcreator
Level: 69


POSTS: 260/1292
POST EXP: 98435
LVL EXP: 2849047
CP: 3464.1
VIZ: 58218

Likes: 0  Dislikes: 0
This thread is dedicated to anyone who wishes to learn python. I will be posting a new lesson every week or two. Our end goal is for you to be able to write a simple program or even a game. So let's get started shall we.

NOTE: DONT POST YOUR RESULTS HERE. ONLY POST HERE IF YOU HAVE QUESTIONS ON HOW TO CODE.

Lesson 1 - Strings

Strings are easy to learn but important when learning python. We will be setting values and assigning strings to
certain variables. For this first lesson we'll start small. I want you to take a variable (we'll use "post" in this case) and assign it a string/value. Let's assign it a value of 1 in this case.

Instructions

Make a variable called "post" and assign it a value of "= 1".

Answer

Spoiler:
You're code should look like this
"post = 1"


Congratulations you just made you're first string! Strings can be made up of letters, numbers or symbols. For example let's create another string. Let's make a variable called "Steve" and assign it the string "post quality over quantity".

Instructions

Assign the string "post quality over quantity" to the variable "Steve".
HINT: Remember to use quotation marks on the string.

Answer

Spoiler:
Your code should look like this
Steve = "post quality over quantity"


Very good! We're almost done. Let's put our skills to the test shall we. Set a string for each of the variables I give you.

Instructions

Assign the string "noob" to the variable "pro"
Assign the string "707" to the variable "literacy"
Assign the string "Obama care FTW" to the variable "eggs"

Answer

Spoiler:
Your code should look like this
pro = "noob"
literacy = 707
eggs = "Obama care FTW"


Lesson 1 - Strings (Complete)

Congratulations on completing lesson 1. This was pretty simple but it is used a lot so it's good to know. Soon we'll get to the advanced lessons. Lesson 2 will be up soon hopefully.
This thread is dedicated to anyone who wishes to learn python. I will be posting a new lesson every week or two. Our end goal is for you to be able to write a simple program or even a game. So let's get started shall we.

NOTE: DONT POST YOUR RESULTS HERE. ONLY POST HERE IF YOU HAVE QUESTIONS ON HOW TO CODE.

Lesson 1 - Strings

Strings are easy to learn but important when learning python. We will be setting values and assigning strings to
certain variables. For this first lesson we'll start small. I want you to take a variable (we'll use "post" in this case) and assign it a string/value. Let's assign it a value of 1 in this case.

Instructions

Make a variable called "post" and assign it a value of "= 1".

Answer

Spoiler:
You're code should look like this
"post = 1"


Congratulations you just made you're first string! Strings can be made up of letters, numbers or symbols. For example let's create another string. Let's make a variable called "Steve" and assign it the string "post quality over quantity".

Instructions

Assign the string "post quality over quantity" to the variable "Steve".
HINT: Remember to use quotation marks on the string.

Answer

Spoiler:
Your code should look like this
Steve = "post quality over quantity"


Very good! We're almost done. Let's put our skills to the test shall we. Set a string for each of the variables I give you.

Instructions

Assign the string "noob" to the variable "pro"
Assign the string "707" to the variable "literacy"
Assign the string "Obama care FTW" to the variable "eggs"

Answer

Spoiler:
Your code should look like this
pro = "noob"
literacy = 707
eggs = "Obama care FTW"


Lesson 1 - Strings (Complete)

Congratulations on completing lesson 1. This was pretty simple but it is used a lot so it's good to know. Soon we'll get to the advanced lessons. Lesson 2 will be up soon hopefully.
Trusted Member
Pessemistic, British, Insomniac


Affected by 'Laziness Syndrome'

Registered: 01-03-14
Location: The Peoples Republic Of China
Last Post: 982 days
Last Active: 936 days

(edited by Blubcreator on 02-09-14 12:19 PM)    

Links

Page Comments


This page has no comments

Adblocker detected!

Vizzed.com is very expensive to keep alive! The Ads pay for the servers.

Vizzed has 3 TB worth of games and 1 TB worth of music.  This site is free to use but the ads barely pay for the monthly server fees.  If too many more people use ad block, the site cannot survive.

We prioritize the community over the site profits.  This is why we avoid using annoying (but high paying) ads like most other sites which include popups, obnoxious sounds and animations, malware, and other forms of intrusiveness.  We'll do our part to never resort to these types of ads, please do your part by helping support this site by adding Vizzed.com to your ad blocking whitelist.

×