I dont know how to search this code in internet so I ask here My code :
# This code is in Tes.py n = [str]*3 x = [int]*3 # This code in MyLib.py with 3 def, I dont need to write all right ? I just need the output for i in range (3) : n[i] = str(input("Enter Name : ") for s in range (3) x[i] = int(input("Enter Number : ") for i in n : for i in x : print("Your Name",n,"Your Number",x) examples : input 1 : Jack Rino Gust input 2 : 1232 1541 2021 output what I want : Your Name Jack Your Number 1232 Your Name Rino Your Number 1541 Your Name Gust Your Number 2021 output that i got : Your Name Jack Your Number 1232 Your Name Jack Your Number 1541 Your Name Jack Your Number 2021 Your Name Rino Your Number 1232 Your Name Rino Your Number 1541 Your Name Rino Your Number 2021 Your Name Gust Your Number 1232 Your Name Gust Your Number 1541 Your Name Gust Your Number 2021
How to get output like what I want, I want to search it in the google but I dont know what I must type.
https://stackoverflow.com/questions/65536092/print-list1-with-list2-python January 02, 2021 at 12:49PM
没有评论:
发表评论