Skip to content

Think

Different!

  • About
  • Contact
  • Nice to See You!
  • Home
  • Contact

Codeis

          

from random import randint as rd
lo = []
while len(lo) < 6:
x = rd(1,59)
if x not in lo:
lo.append(x)
lo.sort()
st =""
for c in lo:
st += str(c) +","
st = st[:-1]
print(st)

 

from random import randint as rd
lo = []
while len(lo) < 6:
x = rd(1,59)
if x not in lo:
lo.append(x)
lo.sort()
st =""
for c in lo:
st += str(c) +","
st = st[:-1]
print(st)

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Like Loading...

Search

Create a website or blog at WordPress.com
  • Subscribe Subscribed
    • Think
    • Already have a WordPress.com account? Log in now.
    • Think
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar
%d
    Design a site like this with WordPress.com
    Get started