Category: Programming
day_temperatures ={‘morning’:(1.1,2.2,3.4),’noon’:(2.25,4.5,6.7),’evening’:(3.3,4.5,6.5)} Assign a dictionary variable day_temperatures.The dictionary should contain three keys ‘morning’,’noon’and evening and each key…
monday_temperatures=(1,4,5) >>> monday_temperatures2=[1,4,5] >>> monday_temperatures2.append(7) >>> monday_temperatures2 [1, 4, 5, 7] >>> monday_temperatures2.remove(4) >>> monday_temperatures2 [1, 5,…
Code: Student.java class Student{ //variable declaration int id; String name; String gender; //method deinitions boolean updateProfile(String newName){ name=newName; return true; } } StudentTest.java class StudentTest{…
Need to revise everything.
Interface always starts with I . It is the naming convention. up vote24down vote In a…
codes: using System; using System.Collections.Generic; namespace ObjectInitializeProgs { public class Student { public int RollNo{ get; set;…
Recent Comments