About   Users   Help
Users & Guests Online
On Page: 1
Directory: 122
Entire Site: 3 & 1092
Page Staff: tgags123, pokemon x, tgags123, supercool22, SonicOlmstead, SonicOlmstead, Barathemos,
04-22-26 08:30 AM

Forum Links

Related Threads
Coming Soon

Thread Information

Views
641
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: 419
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: 71


POSTS: 260/1292
POST EXP: 98435
LVL EXP: 3112536
CP: 3465.6
VIZ: 58226

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.


--------------------
Do you have the guts to play Saw? Sign up here if you have the skill
Trusted Member
Pessemistic, British, Insomniac


Affected by 'Laziness Syndrome'

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

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

Page Comments

Dove4JS - 12-12-20 05:26 AM
no image
joldboy70 - 07-10-20 11:13 AM
test
joldboy70 - 07-10-20 11:12 AM
test
savage23157 - 04-08-20 01:33 PM
Hi im new vizzed
zokuza - 11-18-19 09:08 AM
final got playstaion games unlock yes baby digimon world here i com
yoshirulez! - 02-10-17 08:45 PM
MAY MAYS
yoshirulez! - 02-10-17 08:45 PM
maymays
yoshirulez! - 02-07-17 11:13 PM
OwO what's this?
yoshirulez! - 02-07-17 11:13 PM
OwO what's this?
yoshirulez! - 02-07-17 11:13 PM
OwO what's this?

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.

×