Gistlib Logo

gistlib

записать букву из цикла и затем вывести на экран слово целиком in python

main.py
word = "hello"
for letter in word:
    print(letter)
print(word)
65 chars
5 lines

similar python code snippets

loop through array and add items to string if index is not 1 in python
определить сколько в строке одинаковых соседних символов in python
check if binary number is palindrome in python
print a christmas tree in python
find the thirteen adjacent digits in the 1000-digit number that have the greatest product. what is the value of this product? in python
print the numbers from 1 to 100, but only print the even numbers in python
replace the word "dog" with the word "cat" in the following sentence: "the quick brown fox jumps over the lazy dog." in python
print the numbers from 1 to 100 in python
print the numbers from 1 to 100, but only print the even numbers. use a while loop in python
create a loop in python

related categories

python
loops
strings

gistlibby LogSnag