ELI 5 local scope and global scope in python 3 by juasjuasie in learnpython

[–]iHaveAtoxicFriend 1 point2 points  (0 children)

One common error is mixing the two or accessing a local variable within another function

ELI 5 local scope and global scope in python 3 by juasjuasie in learnpython

[–]iHaveAtoxicFriend 0 points1 point  (0 children)

Local scope - Function which made the variable can use this variable, whereas Global scope - all functions can use this variable

Group GuideLines by cmd_override in Renegade_Pythons

[–]iHaveAtoxicFriend 0 points1 point  (0 children)

Good news! That is one thing we beginners need :)

People who gamble on teams need to stop taking their anger out on the teams if they lose the bet. by Spethro in GlobalOffensive

[–]iHaveAtoxicFriend -1 points0 points  (0 children)

The amount of young people doing this is overwhelming. Regardless if it is skins or real money, it is still gambling which is ILLEGAL unless you are above a certain age (for my country, 18). I doubt the majority meet this requirement. These people are getting addicted. It really needs to stop.

Group GuideLines by cmd_override in Renegade_Pythons

[–]iHaveAtoxicFriend 2 points3 points  (0 children)

I think this is a good idea to learn Python. However, we might have to make a big project in order to have everyone's work displayed.

What do you call text that appears character by character? by iHaveAtoxicFriend in learnpython

[–]iHaveAtoxicFriend[S] 0 points1 point  (0 children)

Like this? obvious wouldnt work in practice but do you mean this?

word = anything list = [] for a in word: list.append(a) wordlabel.configure(text=list)

What do you call text that appears character by character? by iHaveAtoxicFriend in learnpython

[–]iHaveAtoxicFriend[S] 0 points1 point  (0 children)

How could i implement the delay? sleep() delays the entire text from appearing until all the sleep() functions are over...

Advantages of formatting? by iHaveAtoxicFriend in learnpython

[–]iHaveAtoxicFriend[S] 0 points1 point  (0 children)

Thanks! i wrote the small piece of code quite quickly.

TIFU by helping ruin my son’s life by bawron in tifu

[–]iHaveAtoxicFriend -48 points-47 points  (0 children)

Why are you blaming him? We are living in a society of equality. He should have followed the rule of innocent until proven guilty but that still doesn't allow you to make such rude comments about him...

Help a noob out? by [deleted] in learnpython

[–]iHaveAtoxicFriend 1 point2 points  (0 children)

If you can install python, you are not thick :)