Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
dictionary function
D={} n=int(input("Enter the number of students:")) for i in range(n): rollno=int(input("Enter the roll no:")) name=input("Enter the name:") div=input("Enter the division:") mark=float(input("Enter the mark:")) D[rollno]=[name,div,mark] print(D)
run
|
edit
|
history
|
help
0
PyTypeClass
0403_diamond
Game4
1
Lab_I_2_25_11_2020
Homework exercise
guess
Filter String
Python
Removing punctuation from strings