• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
Menu
0

Can anyone explain this code? Just tell me why the output is 4

python coding(modules) https://code.sololearn.com/cl8ZzfrT226r/?ref=app https://code.sololearn.com/cl8ZzfrT226r/?ref=app

d
27th Jun 2017, 1:58 PM
Neenadk
Neenadk - avatar
3 odpowiedzi
+ 2
It's not just 4 it generates a random number for 1 to 6
27th Jun 2017, 1:59 PM
Hetbo.net
Hetbo.net - avatar
+ 2
the output could be 1 to 6
27th Jun 2017, 2:00 PM
Hetbo.net
Hetbo.net - avatar

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
Is this realistic enough?
2 Votes
"Which is harder to master — Machine Learning or Cybersecurity? And why?"
1 Votes
Need friends
0 Votes
"What’s the best way to combine creativity and coding? Can storytelling improve web apps?"
1 Votes
Web Development
0 Votes
Cybersecurity techies
3 Votes
Please complete this code.
0 Votes
Can someone please explain python for me
0 Votes
Can u learn multiple language at the same time, without misplacing the formats of each with the other
0 Votes
What's wrong with code?
0 Votes