Answer to Question #264940 in Python for Jessa May Ramirez

Question #264940

Input one string and one integer, make sure they are on different lines.


Print out the string and integer in one line separated by a space.

1
Expert's answer
2021-11-12T07:21:46-0500

#input variable for string

str_inp = str(input())

#input variable for integer

int_inp = int(input())

#if we include both variables in one line of printing it will be printed in one line

print(str_inp, int_inp)

#this code co nsidered by expert Suhrob Umarov


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS