Traditional Culture Encyclopedia - Weather inquiry - Get weather information
Get weather information
First, find out the number of lines of code that went wrong.
Second, find out the variables that go wrong.
You print (type)? You can find that the variable is str? String type, can't participate in the calculation, so to convert to numerical type, generally use float (variable name)? If you want to change and correct the wrong line, you basically don't need to change anything else.
Personal advice:
1. Your python? The foundation seems a little weak, so study hard. Other modules need this foundation to be better used.
2.? Maybe you can have a look at the panda. Sometimes pandas are used for data analysis? Can save a lot of code, especially for people who have just learned python? Maybe it's easier to accept pandas? The unique grammar of.
Wealth value, if any, should be given to those who answer the above questions. Because his answer is correct.
- Previous article:What's the temperature in Changchun on the 8th and 9th?
- Next article:How to use Gundam Special Gou Xianbi?
- Related articles
- What is the name of the background song of CCTV weather forecast?
- I can write. It is really hot today! Write a passage about hot weather for the whole sentence. (Not less than 30 words) Today's weather
- Tips and methods of lure fishing with cocked mouth
- When is the best time to go to Tibet?
- Is there a rainstorm in Xinxiang today?
- What is the literary common sense of the oil seller?
- How is the weather in Zhangjiajie?
- Where is the weather setting of uc browser?
- What pesticides do you need to apply before the peach trees bloom?
- The more you grow up, the more lonely you get. What do the lyrics of this song mean? Well said, high scores are rewarded! !