WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 02516fc

Browse files
committed
Printed tuple properly
1 parent 138399a commit 02516fc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

problems_python/print_hello_description.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
def get_print_hello_description():
88

99
print_hello_description=["Printhello", "is the best educational gateway for every year to kickstart their coding life. Thapar Alumni who gave their heart in teaching languages and prepare students for their placements now starting the best languages batches C/C++ and Python from 8th October onwards . It not only focus on just completing the course but logic development and making awesome projects with that language is their key goal"]
10-
print_hello_tuple = ()
11-
for word in print_hello_description:
12-
print_ hello_tuple.append(word)
13-
return print_hello_tuple
10+
print_hello_tuple = tuple(print_hello_description)
11+
return print_hello_tuple
12+
13+
print(get_print_hello_description())

0 commit comments

Comments
 (0)