- 1
Help with exercise 15.2 in Python
How do I solve this? I’m a complete newbie to programming.
4 Respostas
+ 4
Could you provide us with a question or problem?
+ 3
Thomas Rodrigue ,
if you really have a problem, we need some more details from you:
▪︎give a clear and complete description about your task. please mention tutorial name and lesson number (we have several python tutorials)
▪︎if there are error messages please post them here
▪︎give at least one sample with input data and the expected output
▪︎to be able to find out the issues you have, we need to see your code
=> please put your code in playground, save it there and post a link to it here.
thanks for your understanding!
0
I can't pass Python for Beginners Practice 15.2 "Convert The Input". I need if can anybody write the code answer to Pass all test cases. Thanks
Working with Input
Write a program to take x and y as input and output the string x, repeated y times.
Sample Input
hi
3
Sample Output
hihihi
Remember to convert the input to the required data type.
I just pass test case 1 or 4 ,however 2,3 test cases lock.
0
The exercise should help you to work with data types. We are not allowed to provide direct answers. If you, however show us an attempt we could give you some hints.