Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if code == 'A':
- if line[0] != 'R':
- error == 1
- else:
- line = line[1:]
- if line[0] == '-':
- error == 1
- else:
- while len[0] != 'A' and 0<=int(line[0])<=9:
- r = r+line[0]
- line = line[1:]
- if line[0] != 'A':
- error == 1
- else:
- while len(line)>0 and 0<=int(line[0])<=9:
- a = a+line[0]
- line = line[1:]
- if (int(x)+int(r))>(maxw/2) or (int(y)+int(r))>(maxh/2):
- error == 1
- else:
- tt.reset()
- tt.up()
- tt.goto(int(x),int(y)-int(r))
- tt.down()
- tt.circle(int(r),360,int(a))
- tt.up()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement