Project

General

Profile

Actions

workflow #5

closed

2 задача

Added by Дьулуур Николаев about 2 months ago. Updated about 2 months ago.

Status:
completed
Priority:
default
Start date:
11/02/2024
Due date:
% Done:

0%

Estimated time:

Description

написать функцию определяющую является ли слово палиндромом( пр bob -> палиндром tom -> не палиндром)

Actions #1

Updated by Арсен Анисимов about 2 months ago

  • Status changed from todo to in progress
Actions #2

Updated by Арсен Анисимов about 2 months ago

  • Status changed from in progress to in qa
slovo = input()
if slovo == slovo[::-1]:
    print('это слово палиндром')
else:
    print('это слово не палиндром')

Actions #3

Updated by Дьулуур Николаев about 2 months ago

  • Status changed from in qa to completed
Actions

Also available in: Atom PDF