kopia lustrzana https://github.com/animator/learn-python
Corrected the formatting of code
rodzic
3819d50869
commit
b17d61f5a0
|
@ -43,3 +43,4 @@ The provided code defines a Python function count_words(sentence) aimed at count
|
||||||
sentence = input("Enter a sentence: ")
|
sentence = input("Enter a sentence: ")
|
||||||
number_of_words = count_words(sentence)
|
number_of_words = count_words(sentence)
|
||||||
print("Number of words:", number_of_words)
|
print("Number of words:", number_of_words)
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue