Предмет: Информатика, автор: matvejermakov52

Специалисты отдела развлечений Go Ahead придумали новый вид шахмат Crazy Chess. Для игры необходима программа, которая будет печатать случайную клетку шахматной доски. Тот, чья фигура стоит в этой клетке, совершает ход. Клетки шахматной доски имеют адреса, состоящие из латинских букв от А до Н и цифр от 1 до 8. Примеры: >, , ​


TemaZpro: Недописано условие, допишите?

Ответы

Автор ответа: p15
0

Ответ:

Я не знаю почему не дает текстом вставить и отправить как ответ. Вроде ссылок нет.

import random

while True:

В этой следующей строке убрать пробел!!!! Как на картинке.

   print(c hr(random.randint(65,72)),random.randint(1,8))

   if input('continue? y/n: ')=='n': break

Объяснение:

что-то вроде этого. Выдает случайные клетки пока не скажите n.

Приложения:
Похожие вопросы
Предмет: Математика, автор: boykonatalya126
Предмет: Английский язык, автор: timofij5640
Choose the correct item.
1 Perhaps it ..... tomorrow.
A is going to rain
B will rain
C is raining
2 Ryan often .... to school.
A cycle
B is cycling
3 They .... a red car 10 years ago.
A had
B had got
4
..... abroad next summer?
A Are you going to travel
B Are you travelling
C Do you travel
C cycles
• have got
5 The ferry
.... at 4.30.
A leave
B is leaving C leaves
6 He..... read when he was three.
A can't
B couldn't
C doesn't
7 I'm sure Toby ..... his present.
A will like
B is liking
C is going to like
8 Julia dresses so .....!
A elegant
C elegantly
B more elegant
9 1... in the concert this evening.
A aren't playing B 'm not playing
C don't play
10 Right now, Valerie ..... her nails.
A paints
will paint
C is painting
11 "Will Mr Stevens be in his office later?"
"No, he ......
A won't
B isn't
C doesn't
12 I..... swimming last weekend.
A don't go
B didn't go
C didn't went
© Express Publishing
PHOTOCOPIABLE
DATE:.
MARK:
/100
(Time: 20 minutes)
13 Tina.... Biology next year; that's her plan.
A studies
B will study
C is going to study
14
... any cereal in the cupboard?
A Is there
B Are there C There is
15
.. to Sam's barbecue at 6 o'clock?
A Do you go B Will you go
C Are you going
16 We usually go camping ..... spring.
A in
B at
C on
17 It's hot outside. I.... my coat.
A won't wear B don't wear
C 'm not wearing
18"... is your birthday?"
"In April."
A Where B When C How
19 Be careful! That glass vase .....!
A falls
B will fall
C is going to fall
20 .... the window. It's too cold in here.
A Not open
B Don't open C Open
21 Do you think people ..... computers in 100 years?
A are using
B are going to use
C will use
22 My mum's office is ..... the Town Hall.
A opposite
B next
C in front
23 London is ..... than Cardiff.
A as big
B bigger
C biggest
24 The blue bag is Penny's and the silver one is .....
A my
B me
C mine
25 Jamie ..... a TV in his bedroom.
A hasn't B hasn't got C haven't got