How to convert unitvof height in this example but print all array? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to convert unitvof height in this example but print all array?

In example of "mathematical operation on arrays" we change the unit of height array from cm to feet but the output only unclude data of height array. Is there any way to do this conversion but output include age data array? I know we can concatenate two arrays, but is there any other way?

11th Jan 2021, 1:20 PM
kianoosh kargar
kianoosh kargar - avatar
4 Answers
+ 2
Well, that's why I requested for some examples but anyway is this what you're referring to? https://code.sololearn.com/ca15a23A17a9
11th Jan 2021, 2:32 PM
noteve
noteve - avatar
+ 1
What do you mean? We convert or manipulate height but we want to display their age? Is this what you mean? Can you give some examples? Thanks. Or maybe you are referring to this? https://code.sololearn.com/ca12a730a157
11th Jan 2021, 1:28 PM
noteve
noteve - avatar
+ 1
Yeah, exactly :)
11th Jan 2021, 5:39 PM
kianoosh kargar
kianoosh kargar - avatar
0
:)))) No. We convert height and output print only height not height and age array.
11th Jan 2021, 2:04 PM
kianoosh kargar
kianoosh kargar - avatar