+ 1

Hm can anyone tell me how can i use code random in python

Plzz tell me in easy way

7th Mar 2023, 3:15 PM
Balkishan Prajapati
Balkishan Prajapati - avatar
6 Antworten
+ 2
import random x = random.randint(1, 10) print(x)
7th Mar 2023, 3:31 PM
nprNikita
nprNikita - avatar
+ 8
Balkishan Prajapati , if you believe coding can be an easy and lazy way of getting forward, you are totally wrong in this platform. > learning is a process that takes time and effort, and it may be painful. but we need these steps to grow your experience. and it does not matter what kind of stuff you are going to learn. > start learning from a (beginners) tutorial, do exercises as much as can and go these steps repeatedly.
7th Mar 2023, 8:05 PM
Lothar
Lothar - avatar
+ 2
Wow nprNikita thanks you very much I wanna to make a program that calculate random numbers you help me a lot but when I run the code it's like this 10 + 25 = 35 I don't wanna this type of calculator plz can you suggest me how can I make this type of calculator 10+25=35 Or this type 10 +25 =35
7th Mar 2023, 4:19 PM
Balkishan Prajapati
Balkishan Prajapati - avatar
+ 1
But it's ok thank you
9th Mar 2023, 1:21 PM
Balkishan Prajapati
Balkishan Prajapati - avatar
0
Balkishan Prajapati print(10+25)
9th Mar 2023, 12:20 PM
Ivan Markovic
Ivan Markovic - avatar
0
😅 you are too late I already got the answer now I can make different type of calculator or only one type calculator 😅
9th Mar 2023, 1:21 PM
Balkishan Prajapati
Balkishan Prajapati - avatar