Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
162 views
in Technique[技术] by (71.8m points)

python - Python \ n和随机与输入[关闭](Python and random and input [closed])

1.Hi, I want the random values ??to be in a separate row, but idk how i can do it.

(1,嗨,我想将随机值放在单独的行中,但是idk我该怎么做。)

     Import random
     d='2'
     g='3' 
     sz='4' 
     s='5'    dd=input(random.sample([d,g,sz,s], k=4))
  ask by Szandi Sándor translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...