Type hi 42 times | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Type hi 42 times

print("Hi" *42) I don't know what I'm doing wrong, can someone help?

27th Aug 2021, 4:55 PM
Richardson Torres
9 Answers
+ 3
H should be lowercase in "hi"
27th Aug 2021, 5:02 PM
Simba
Simba - avatar
+ 3
print("hi"*42)
10th Feb 2022, 9:43 AM
Swethaa K
Swethaa K - avatar
+ 1
Change this Print("hi" * 42)
30th Jan 2022, 8:02 PM
Avrian Shandy
Avrian Shandy - avatar
+ 1
Q. You’re given a task to write the word "hi" 42 times. Boring, right? Write a program to do it for you. Create a program to output "hi" 42 times, without any separators, on the same line. ANSWER. #your code goes here print("hi" * 42) for more doubt contact here on telegram https://youtu.be/tOWQqOWieE4 by janveer singh
18th Nov 2022, 5:01 AM
RAJVEER SINGH BAIRWA
RAJVEER SINGH BAIRWA - avatar
0
for i in range(42): print("Hi") You mean like this?
27th Aug 2021, 5:16 PM
Serhat Zoptan
Serhat Zoptan - avatar
0
Wow, it was the h.... -_-
27th Aug 2021, 7:59 PM
Richardson Torres
0
print(("hi")*(42))
12th Mar 2022, 9:55 AM
Y. Sivajini
Y. Sivajini - avatar
0
print(("hi")*(42))
14th Mar 2022, 3:31 AM
rasfa
0
print(("hi")*(42))
19th Jun 2022, 9:16 AM
Shaikh Alija Bano