- open the termux and open nano editor.
- nano number.py
- import random
- n = random.randint(1,6)
- print("your number is ",n)
- Enter ctrl s and back the termux.
- python number.py
Python tool and learing.
Number generator.
command
Enter the code
Your code is done
Coumplet your coding by.
Thanks for cooming.
- how to print teg.
- Ans.Print teg use a write letter.
- how to use variable.
- Ans.Variable is use to type a container.
- how to use commend.
- Ans.# tool is a use to commend out.
Python base tool.
Answer the flowing question?
- Open the termux and open the nano editor.
- nano cel.py
- a=int(input("Enter 1st number")
- b=int(input("Enter 2st number")
- c=a+b
- print ("your answer is",c)
- Enter ctrl s and back the termux.
- python cel.py
0 Comments