-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStudent Mobile System.py
More file actions
26 lines (22 loc) · 883 Bytes
/
Student Mobile System.py
File metadata and controls
26 lines (22 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
print("----------------------Student Mobile Phone System-------------------------")
print("Enter your name: ")
name = input()
print("Enter your address: ")
address = input()
print("Enter your mobile phone number: ")
mobile = int(input())
print("Enter your generation: ")
generation = input()
print("How many minutes have you got?: ")
minutes = int(input())
print("How many texts have you got?: ")
texts = int(input())
totalminutes = minutes * 8
totaltexts = texts * 14
print("---------------------Your Information---------------------")
print("Name: "+name)
print("Address: "+address)
print("Mobile No. ",mobile)
print("Type of Generation: "+generation)
print("You have ",totalminutes," pence for minutes.")
print("You have ",totaltexts, " pence for texts.")