Discuss Scratch

jossel1
Scratcher
100+ posts

Python

Hello
I am looking for a site to learn pythonlike scratch (look at the projects of others, establish, remixer) that does not need to download and which is free.
So if you know please answer me
powercon5
Scratcher
1000+ posts
jossel1
Scratcher
100+ posts

Python

Do you know other thing ???
powercon5
Scratcher
1000+ posts

Python

jossel1 wrote:

Do you know other thing ???
what?
jossel1
Scratcher
100+ posts

Python

You know another site ???

(I'm FRENCH)
powercon5
Scratcher
1000+ posts

Python

jossel1 wrote:

You know another site ???

(I'm FRENCH)
not any that can help as much as that one
jossel1
Scratcher
100+ posts

Python

Okay it's okay if you do not know maybe that thatone else will (sorry if I do not understand what you've written because I am French)
powercon5
Scratcher
1000+ posts

Python

jossel1 wrote:

Okay it's okay if you do not know maybe that thatone else will (sorry if I do not understand what you've written because I am French)
it is ok but if the problem is that it is not french here https://www.codecademy.com/?locale_code=fr
jossel1
Scratcher
100+ posts

Python

the language does not bother me but I'd like to see what it is before I register
powercon5
Scratcher
1000+ posts

Python

jossel1 wrote:

the language does not bother me but I'd like to see what it is before I register
ok but you can take my word for it you can learn stuff like javascript, html and python I even use it myself
jossel1
Scratcher
100+ posts

Python

I'm going to try
powercon5
Scratcher
1000+ posts

Python

jossel1 wrote:

I'm going to try
ok tell me what you think
jossel1
Scratcher
100+ posts

Python

I tried and I find it quite (my this is just the beginning)
powercon5
Scratcher
1000+ posts

Python

jossel1 wrote:

I tried and I find it quite (my this is just the beginning)
:-)
stevenwatson011
Scratcher
100+ posts

Python

I think you should do search for more sites.
GermaphobicCoder
Scratcher
45 posts

Python

I LOVE PYTHON
RANDOM CODE:
———————————————–
# This is a guess the number game.
import random

guessesTaken = 0

print('Hello! What is your name?')
name = raw_input()

number = random.randint(1, 20)
print('Well, ‘ + name + ’, I am thinking of a number between 1 and 20.')

while guessesTaken < 6:
print('Take a guess.') # There are four spaces in front of print.
guess = input()
guess = int(guess)

guessesTaken = guessesTaken + 1

if guess < number:
print('Your guess is too low.') # There are eight spaces in front of print.

if guess > number:
print('Your guess is too high.')

if guess == number:
break

if guess == number:
guessesTaken = str(guessesTaken)
print('Good job, ‘ + name + ’! You guessed my number in ‘ + guessesTaken + ’ guesses!')

if guess != number:
number = str(number)
print('Nope. The number I was thinking of was ' + number)
liam48D
Scratcher
1000+ posts

Python

GermaphobicCoder wrote:

I LOVE PYTHON
RANDOM CODE:
-snip-
Cool but first, talking in all caps is spamming, second, wrap your code in [code] blocks please, third, necropost, fourth, what does your post have to do with this topic, fifth, didn't you already post this here, sixth, your program belongs in a new Making and Creating topic.
Monet1234
Scratcher
12 posts

Python

Python Advanced Drawing machine code:
from turtle import*
def draw(do, val):
do = do.upper()
if do == ‘F’:
forward(val)
elif do == ‘B’:
backward(val)
elif do == ‘L’:
left(val)
elif do == ‘R’:
right(val)
elif do == ‘U’:
penup()
elif do == ‘D’:
pendown()
elif do == ‘N’:
reset()
else:
print('Unknown Command')

def str_art(program):
cmd_list = program.split('-')
for command in cmd_list:
cmd_len = len(command)
if cmd_len == 0:
continue
cmd_type = command
num = 0
if cmd_len > 1:
num_string = command
num = int(num_string)
print(command, ‘:’, cmd_type, num)
draw(cmd_type, num)

instructions = ‘'’Enter a program for the turtle(Start with N-):
eg. N-F100-R45-U-F100-L45-D-F100-R90-B50
N = New drawing
U/D = Pen up/Pen down
F(intergers) = Forward(intergers)steps
B(intergers) = Backward(intergers)steps
L(intergers) = Left turn(intergers)degrees
R(intergers) = Right turn(intergers)degrees'''
screen = getscreen()
while True:
t_program = screen.textinput('Drawing Machine', instructions)
print(t_program)
if t_program == None or t_program.upper() == ‘END’:
break
str_art(t_program)
hump13
Scratcher
2 posts

Python

Say your doing a program that for printing stuff down, in Python, you do this:
>>> def awesome(phrase):
print phrase

>>> awesome(phrase)

Unless your in 3 or something else, alert alert, ERROR!
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
NameError: name ‘phrase’ is not defined
>>>

For a fix, do this:
>>> awesome(“Ready, Set, Go!”)
Ready, Set, Go!
>>>
The fix worked.
-Io-
Scratcher
1000+ posts

Python

hump13 wrote:

Say your doing a program that for printing stuff down, in Python, you do this: -snip-
liam literally, two posts above yours just said this:

liam48D wrote:

GermaphobicCoder wrote:

I LOVE PYTHON
RANDOM CODE:
-snip-
Cool but first, talking in all caps is spamming, second, wrap your code in [code] blocks please, third, necropost, fourth, what does your post have to do with this topic, fifth, didn't you already post this here, sixth, your program belongs in a new Making and Creating topic.
  1. Use [code][/code] to wrap any kind of code (except scratchblocks)
    [code]Like this[/code]
  2. Don't necropost (posting on an inactive/solved old topic)
  3. This post has nothing to do with the topic
  4. This should go in a Python programming topic

Powered by DjangoBB